思科三层交换配置清单与案例( 三 )


Building configuration...Current configuration : 2143 bytes!version 12.1no service padservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname msl!enable password aaa!ip subnet-zero!!spanning-tree extend system-id!!interface FastEthernet0/1switchport access vlan 60no ip address!interface FastEthernet0/2switchport access vlan 60no ip address!interface FastEthernet0/3switchport access vlan 60no ip address!interface FastEthernet0/4switchport access vlan 60no ip address!interface FastEthernet0/5switchport access vlan 60no ip address!interface FastEthernet0/6switchport access vlan 60no ip address!interface FastEthernet0/7switchport access vlan 60no ip address!interface FastEthernet0/8switchport access vlan 60no ip address!interface FastEthernet0/9switchport access vlan 60no ip address!interface FastEthernet0/10switchport access vlan 60no ip address!interface FastEthernet0/11switchport access vlan 60no ip address!interface FastEthernet0/12switchport access vlan 60no ip address!interface FastEthernet0/13switchport access vlan 60no ip address!interface FastEthernet0/14switchport access vlan 60no ip address!interface FastEthernet0/15switchport access vlan 60no ip address!interface FastEthernet0/16switchport access vlan 60no ip address!interface FastEthernet0/17switchport access vlan 60no ip address!interface FastEthernet0/18switchport access vlan 60no ip address!interface FastEthernet0/19switchport access vlan 60no ip address!interface FastEthernet0/20switchport access vlan 60no ip address!interface FastEthernet0/21switchport access vlan 60no ip address!interface FastEthernet0/22switchport access vlan 60no ip address!interface FastEthernet0/23switchport access vlan 60no ip address!interface FastEthernet0/24switchport access vlan 60no ip address!interface GigabitEthernet0/1no ip address!interface GigabitEthernet0/2no ip address!interface Vlan1ip address 172.16.100.10 255.255.255.0!ip classlessip http server!!!!line con 0line vty 0 4password aaaloginline vty 5 15login!end???????? ancy ??×?????????????????°???·????????????????????????à????????à????????·???÷??????????????????????°???·???????????????????vlan ???????????à?¨????IP????vlna ID ip???? vlan????
vlan 1 172.16.1.0/24 172.16.1.7-9vlan 2 172.16.2.0/24 172.16.2.252-254vlan 3 172.16.3.0/24 172.16.3.252-254vlan 4 172.16.4.0/24 172.16.4.252-254vlan 5 172.16.5.0/24 172.16.5.252-254vlan 6 172.16.6.0/24 172.16.6.252-254vlan 7 172.16.7.0/24 172.16.7.252-254vlan 8 172.16.8.0/24 172.16.8.252-254vlan 9 172.16.9.0/24 172.16.9.252-254 ????????×??ó???÷????cisco?·???÷??????EnableConfigure terminalService password-encryptionHostname cisco1721Enable secret 654321Enable password 123456ip subnet-zeroip name-server 202.96.134.133 202.96.172.218interface fastethernet 0ip address 61.142.221.5 255.255.255.240speed autono shutdowninterface serial 0ip unnumbered fastethernet 0encapsulation pppno fair-queuebandwidth 2048no shutdownexitip classlessip route 0.0.0.0 0.0.0.0 serial 0no ip http serverline con 0line aux 0line vty 0 4password 12345678loginno scheduler allocateend??×???NAT??????·??????è???????????ú????????Catalyst 4006-s3?????ú??????
EnableConfigure terminalservice padservice password-encryptionhostname c4006-s3enable password 123456.Enable 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 2/1channel-group 1Interface gigabitethernet 2/2channel-group 1Interface gigabitethernet 2/1switchport mode trunkswitchport trunk encapsulation dotlqswitchport trunk allowed vlan allinterface gigabitethernet 2/3switchport mode trunkswitchport trunk encapsulation dotlqswitchport trunk allowed vlan allinterface gigabitethernet 2/4switchport mode trunkswitchport trunk encapsulation dotlqswitchport trunk allowed vlan allinterface gigbitethernet 2/5switchport mode trunkswitchport trunk encapsulation dotlqswitchport trunk allowed vlan allinterface gigbitethernet 2/6switchport mode trunkswitchport trunk encapsulation dotlqswitchprot trunk allowed vlan allinterface gigbitethernet 2/7switchport access vlan 9no shutdowninterface range gigabitethernet 2/8 ¨C 20switchport mode accessswitchport access vlan 8no shutdownspanning-tree portfastinterface gigabitethernet 3/1switchport mode trunkswitchport trunk encapsulation dotlqswitchport trunk allowed vlan allinterface gigabitethernet 3/2switchport mode trunkswitchport trunk encapsulation dotlqswitchport trunk allowed vlan allspanning-tree vlan 1-9 root primaryspanning-tree backbonefastinterface vlan 1ip address 172.16.1.7 255.255.255.0no shutdownstandby 1 ip 172.16.1.9standby 1 priority 110 preemptinterface vlan 2 ip address 172.16.2.252 255.255.255.0no shutdownstandby 2 ip 172.16.2.254standby 2 priority 110 preempt interface vlan 3ip address 172.16.3.252 255.255.255.0no shutdownstandby 3 ip 172.16.3.254standby 3 priority 110 preempt interface vlan 4ip address 172.16.4.252 255.255.255.0no shutdownstandby 4 ip 172.16.4.254standby 4 priority 110 preempt interface vlan 5ip address 172.16.5.252 255.255.255.0no shutdownstandby 5 ip 172.16.5.254standby 5 priority 110 preemptinterface vlan 6ip address 172.16.6.252 255.255.255.0no shutdownstandby 6 ip 172.16.6.254standby 6 priority 110 preempt interface vlan 7ip address 172.16.7.252 255.255.255.0no shutdownstandby 7 ip 172.16.7.254standby 7 priority 110 preempt interface vlan 8ip address 172.16.8.252 255.255.255.0no shutdownstandby 8 ip 172.16.8.254standby 8 priority 110 preemptinterface vlan 9ip address 172.16.9.252 255.255.255.0no shutdownstandby 9 ip 172.16.9.254standby 9 priority 110 preempt exitip classlessip route 0.0.0.0 0.0.0.0 172.16.9.250line con 0line aux 0line vty 0 15password 12345678loginend????Catalyst 3550-12T?????ú??????

推荐阅读