当前位置: 代码迷 >> 交换机/路由器 >> 请问关于VTP的一个小疑点!
  详细解决方案

请问关于VTP的一个小疑点!

热度:262   发布时间:2016-04-29 05:05:52.0
请教关于VTP的一个小问题!!!!!!!!!!
第一台交换机switch1
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vtp domain benet.com
Changing VTP domain name from NULL to benet.com
Switch(config)#vtp mode server
Device mode already VTP SERVER.
Switch(config)#vtp version 1
VTP mode already in V1.
Switch(config)#interface vlan 1
Switch(config-if)#ip address 172.16.0.1 255.255.0.0
Switch(config-if)#no shutdown

%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
Switch(config-if)#exit

这里为啥非要给VLAN 1设置个IP地址,不设置IP不行吗?能不能在原理上解释一下?谢谢各位

------解决方案--------------------
类似路由器,当然有个ip地址了
------解决方案--------------------
没有虚接口,VLAN怎么通信.
  相关解决方案