2008年8月29日星期五

cisco 交换 继承vlan

branch2-left-2
hostname branch2-left-2enable secret gxxm85
branch2-left-2(config)#interface vlan 1branch2-left-2(config-if)#ip address 192.168.1.4 255.255.255.0
branch2-left-2(config)#int gigabitEthernet 0/1branch2-left-2(config-if)#switchport mode trunk
branch2-left-2(config)#ip default-gateway 192.168.1.1
branch2-left-2(config)#vtp mode clientbranch2-left-2(config)#vtp domain guoxiangbranch2-left-2(config)#vtp password guoxxmvtp8
branch2-left-2(config)#line vty 0 4branch2-left-2(config-line)#password guoxxmtelbranch2-left-2(config-line)#logincenterswitch(config-line)#exec-timeout 50

0 评论: