| xuxi2525775 | | 2008-7-16 07:38 |
|
Catalyst 3550-12T1交换机配置:
Enable Configure terminal service pad service password-encryption hostname Catalyst 3550-12T1 enable password 123456. Enable secret 654321 Ip subnet-zero Ip name-server 172.16.8.1 172.16.8.2 Service dhcp Ip dhcp relay information option ip routing Exit Vlan database Vtp mode server Vtp domain centervtp Vlan 2 name vlan2 Vlan 3 name vlan3 Vlan 4 name vlan4 Vlan 5 name vlan5 Vlan 6 name vlan6 Vlan 7 name vlan7 Vlan 8 name vlan8 Vlan 9 name vlan9 Exit Configure terminal interface Port-channel 1 switchport trunk encapsulation dot1q
switchport mode trunk switchport trunk allowed vlan all Interface gigabitethernet 0/1 switchport trunk encapsulation dotlq switchport mode trunk switchport trunk allowed vlan all channel-group 1 mode on Interface gigabitethernet 0/2 switchport trunk encapsulation dotlq switchport mode trunk switchport trunk allowed vlan all channel-group 1 mode on port-channel load-balance src-dst-ip interface gigabitethernet 0/3 switchport trunk encapsulation dotlq switchport mode trunk switchport trunk allowed vlan all interface gigabitethernet 0/4 switchport trunk encapsulation dotlq switchport mode trunk switchport trunk allowed vlan all interface gigbitethernet 0/5 switchport trunk encapsulation dotlq switchport mode trunk switchport trunk allowed vlan all interface gigbitethernet 0/6 switchport trunk encapsulation dotlq switchport mode trunk switchprot trunk allowed vlan all interface gigbitethernet 0/7 Switchport mode access switchport access vlan 9 no shutdown spanning-tree vlan 6-9 cost 1000 interface range gigabitethernet 0/8 – 10
switchport mode access switchport access vlan 8 no shutdown spanning-tree portfast interface gigabitethernet 0/11 switchport trunk encapsulation dotlq switchport mode trunk switchport trunk allowed vlan all interface gigabitethernet 0/12 switchport trunk encapsulation dotlq switchport mode trunk switchport trunk allowed vlan all spanning-tree vlan 1-9 root primary spanning-tree backbonefast interface vlan 1 ip address 172.16.1.7 255.255.255.0 no shutdown standby 1 ip 172.16.1.9 standby 1 priority 110 preempt interface vlan 2 ip address 172.16.2.252 255.255.255.0 no shutdown standby 2 ip 172.16.2.254 standby 2 priority 110 preempt ip access-group 101 in interface vlan 3 ip address 172.16.3.252 255.255.255.0 no shutdown standby 3 ip 172.16.3.254 standby 3 priority 110 preempt ip access-group 101 in interface vlan 4 ip address 172.16.4.252 255.255.255.0 no shutdown standby 4 ip 172.16.4.254 standby 4 priority 110 preempt ip access-group 101 in
interface vlan 5 ip address 172.16.5.252 255.255.255.0 no shutdown standby 5 ip 172.16.5.254 standby 5 priority 110 preempt ip access-group 101 in interface vlan 6 ip address 172.16.6.252 255.255.255.0 no shutdown standby 6 ip 172.16.6.254 standby 6 priority 100 preempt interface vlan 7 ip address 172.16.7.252 255.255.255.0 no shutdown standby 7 ip 172.16.7.254 standby 7 priority 100 preempt interface vlan 8 ip address 172.16.8.252 255.255.255.0 no shutdown standby 8 ip 172.16.8.254 standby 8 priority 100 preempt interface vlan 9 ip address 172.16.9.252 255.255.255.0 no shutdown standby 9 ip 172.16.9.254 standby 9 priority 100 preempt access-list 101 deny ip any 172.16.7.0 0.0.0.255 access-list 101 permit ip any any Interface vlan 1 Ip helper-address 172.16.8.1 Interface vlan 2 Ip helper-address 172.16.8.1 Interface vlan 3 ip helper-address 172.16.8.1 interface vlan 4 ip helper-address 172.16.8.1 interface vlan 5
ip helper-address 172.16.8.1 interface vlan 6 ip helper-address 172.16.8.1 interface vlan 7 ip helper-address 172.16.8.1 interface vlan 9 ip helper-address 172.16.8.1 router rip version 2 network 172.16.0.0 exit arp 172.16.7.81 0005.0298.7385 ARPA arp 172.16.7.85 00A7.C963.FD8A ARPA ip classless ip route 0.0.0.0 0.0.0.0 172.16.9.250 line con 0 line aux 0 line vty 0 15 password 12345678 login end copy running-config startup-config |
相关文章: ccna考试IOS命令大全 ip access group 和access-list怎么用啊? 对指定ip限速 Boson NetSim for CCNP v6破解版,谁有汉化包啊! 小凡模拟器的问题及求几个能用的IOS
Powered by 51CTO.COM
|