EnableConfigure terminalservice padservice password-encryptionhostname c3550-12tenable password 123456enable secret 654321ip subnet-zeroip name-server 172.16.8.1. 172.16.8.2ip routingexitvlan databasevtp mode servervtp domain centervtpvlan 2 name vlan2vlan 3 name vlan3vlan 4 name vlan4vlan 5 name vlan5vlan 6 name vlan6vlan 7 name vlan7vlan 8 name vlan8vlan 9 name vlan9exitconfigure terminalinterface port-channel 1interface gigabitethernet 0/1channel-group 1interface gigabitethernet 0/2channel-group 1exitinterface gigabitethernet 0/1switchport mode trunkswitchport encapsulation dotlqswithchport trunk allowed vlan allinterface gigabitethernet 0/3switchport mode trunkswitchport trunk encapsulation dotlqswithcport trunk allowed vlan allinterface gigabitethernet 0/4switchport mode trunkswitchport trunk encapsulation dotlqswitchport trunk allowed vlan allinterface gigabitethernet 0/5switchport mode trunkswitchport trunk encapsulation dotlqswitchport trunk allowed vlan allinterface gigabitethernet 0/6switchport mode trunkswitchport trunk encapsulation dotlqswitchport trunk allowed vlan allinterface gigabitethernet 0/7switchport access vlan 9no shutdowninterface range gigabitethernet 0/8 ¨C 10switchport mode accessswitchport access vlan 8no shutdownspanning-tree portfastinterface gigabitethernet 0/11switchport mode trunkswitchport trunk encapsulation dotlqswithcprot trunk allowed vlan allinterface gigabitethernet 0/12switchport mode trunkswitchport trunk encapsulation dotlqswitchport trunk allowed vlan allspanning-tree vlan 1-9 root secondaryspanning-tree backbonefastinterface vlan 1ip address 172.16.1.8 255.255.255.0no shutdownstandby 1 ip 172.16.1.9standby 1 priority 100 preemptinterface vlan 2ip address 172.16.2.253 255.255.255.0no shutdown standby 2 ip 172.16.2.254standby 2 priority 100 preemptinterface vlan 3ip address 172.16.3.253 255.255.255.0not shutdownstandby 3 ip 172.16.3.254standby 3 priority 100 preemptinterface vlan 4ip address 172.16.4.253 255.255.255.0no shutdownstandby 4 ip 172.16.4.254standby 4 priority 100 preemptinterface vlan 5ip addess 172.16.5.253 255.255.255.0no shutdownstandby 5 ip 172.16.5.253standby 5 priority 100 preemptinterface vlan 6ip address 172.16.6.253 255.255.255.0no shutdown standby 6 ip 172.16.6.254standby 6 priority 100 preemptinterface vlan 7ip address 172.16.7.253 255.255.255.0no shutdownstandby 7 ip 172.16.7.254standby 7 priority 100 preemptinterface vlan 8ip address 172.16.8.253 255.255.255.0no shutdownstandby 8 ip 172.16.8.254standby 8 priority 100 preemptinterface vlan 9ip address 172.16.9.253 255.255.255.0no shutdownstandby 9 ip 172.16.9.254standby 9 priority 100 preemptexitip classlessip route 0.0.0.0 0.0.0.0 172.16.9.250ip http serverline con 0line aux 0line vty 0 15password 12345678loginend????Catalyst 2950-24 vlan2 ?????ú??????
EnableConfigure terminalService padService password-encryptionHostname c2950-241Enable password 123456Enable secret 654321Ip subnet-zeroInterface vlan 1Ip address 172.16.1.1 255.255.255.0managementNo shutdownIp default-gateway 172.16.1.9Ip name-server 172.16.8.1 172.16.8.2exitVlan databaseVtp mode client Vtp domain centervtpExitConfigure terminalInterface range fastethernet 0/1 ¨C 20Switchport mode accessSwitchport accesss vlan 2No shutdownSpanning-tree portfastSpanning-tree uplinkfast Spanning-tree backbonefastInterface gigabitethernet 0/1Switchport mode trunkSwitchport trunk encapculation dotlqSwitchport trunk allowed vlan allSpanning-tree cost 10Interface gigabitethernet 0/2Switchport mode trunkSwitchport trunk encapculation dotlqSwitchport trunk allowed vlan allSpanning-tree cost 20ExitLine con 0Line aux 0Line vty 0 15Password 12345678LoginEndQQread.com推出各大专业服务器评测 Linux服务器的安全性能SUN服务器HP服务器DELL服务器IBM服务器联想服务器浪潮服务器曙光服务器同方服务器华硕服务器宝德服务器
;
????catalyst 2950-24 vlan 3 ?????ú??????
enableconfigure terminalservice padservice password-encryptionhostname c2950-242enable password 123456enable secret 654321ip subnet-zerointerface vlan 1ip address 172.16.1.2 255.255.255.0management no shutdownip default-gateway 172.16.1.9ip name-server 172.16.8.1 172.16.8.2exitvlan databasevtp domain centervtpvtp mode clientexitconfigure terminalinterface range fastethernet 0/1 ¨C 20switchport mode accessswitchport access vlan 3no shutdownspanning-tree portfastspanning-tree uplinefastspanning-tree backbonefastinterface gigabitethernet 0/1switchport mode trunkswitchport trunk encapsulation dotlqswitchport trunk allowed vlan allspanning-tree cost 10interface gigabitethernet 0/2switchport mode trunkswitchport trunk encapsulation dotlqswitchport trunk allowed vlan allspanning-tree cost 20exitline con 0line aux 0line vty 0 15password 12345678loginend copy running-config startup-configreload
推荐阅读
- 笑傲江湖之三层交换篇
- 基础应用-端口的trunk属性配置之交换机间vlan互通
- 从业务和使用的角度看如何发展软交换
- 在移动核心网中引入软交换是必然选择
- 直接用交换机共享上网的具体方法
- 基于软交换的下一代网络技术
- 教您识别Cisco交换机型号
- 中 交换技术攻略:网络交换机配置技巧
- 软交换机的概念、特征和作用
- 六大法则:交换机及路由器如何更加安全