分类: 系统运维
2008-05-20 08:42:22
本节中的全设备配置均针对实例2:2948G-L3 配置样例中的单VLAN 网络。
Catalyst 2948G-L3
2948G-L3#show running-config Building configuration... Current configuration: ! ! Last configuration change at 04:48:24 PST Thu Jun 22 2000 ! NVRAM config last updated at 04:45:02 PST Thu Jun 22 2000 ! version 12.0 no service pad service timestamps debug datetime msec localtime service timestamps log datetime msec localtime no service password-encryption ! hostname 2948G-L3 ! no logging console enable password verysecret ! clock timezone PST -8 clock calendar-valid ip subnet-zero bridge irb ! ! ! interface Port-channel1 no ip address no ip directed-broadcast hold-queue 300 in ! interface Port-channel1.1 encapsulation isl 1 no ip redirects no ip directed-broadcast bridge-group 1 ! interface Port-channel1.100 encapsulation isl 100 ip address 10.100.100.1 255.255.255.0 no ip redirects no ip directed-broadcast ! interface Port-channel2 no ip address no ip directed-broadcast hold-queue 300 in ! interface Port-channel2.1 encapsulation isl 1 no ip redirects no ip directed-broadcast bridge-group 1 ! interface Port-channel2.10 encapsulation isl 10 ip address 10.10.10.1 255.255.255.0 no ip redirects no ip directed-broadcast ! interface Port-channel2.20 encapsulation isl 20 ip address 10.20.20.1 255.255.255.0 no ip redirects no ip directed-broadcast ! interface FastEthernet1 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet2 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet3 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet4 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet5 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet6 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet7 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet8 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet9 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet10 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet11 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet12 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet13 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet14 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet15 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet16 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet17 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet18 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet19 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet20 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet21 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet22 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet23 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet24 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet25 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet26 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet27 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet28 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet29 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet30 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet31 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet32 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet33 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet34 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet35 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet36 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet37 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet38 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet39 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet40 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet41 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet42 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet43 no ip address no ip directed-broadcast bridge-group 200 bridge-group 200 spanning-disabled ! interface FastEthernet44 no ip address no ip directed-broadcast ! interface FastEthernet44.1 encapsulation isl 1 no ip redirects no ip directed-broadcast bridge-group 1 ! interface FastEthernet44.30 encapsulation isl 30 ip address 10.30.30.1 255.255.255.0 no ip redirects no ip directed-broadcast ! interface FastEthernet45 no ip address no ip directed-broadcast channel-group 2 ! interface FastEthernet46 no ip address no ip directed-broadcast channel-group 2 ! interface FastEthernet47 no ip address no ip directed-broadcast channel-group 2 ! interface FastEthernet48 no ip address no ip directed-broadcast channel-group 2 ! interface GigabitEthernet49 no ip address no ip directed-broadcast no negotiation auto channel-group 1 ! interface GigabitEthernet50 no ip address no ip directed-broadcast no negotiation auto channel-group 1 ! interface BVI1 ip address 10.1.1.1 255.255.255.0 no ip directed-broadcast no ip route-cache cef ! interface BVI200 ip address 10.200.200.1 255.255.255.0 no ip directed-broadcast no ip route-cache cef ! ip classless ! bridge 1 protocol ieee bridge 1 route ip bridge 200 protocol ieee bridge 200 route ip ! line con 0 transport input none line aux 0 line vty 0 4 password secret login ! end 2948G-L3#
3512XL#show running-config Building configuration... Current configuration: ! ! Last configuration change at 12:52:31 PST Thu Jun 22 2000 ! NVRAM config last updated at 12:52:32 PST Thu Jun 22 2000 ! version 12.0 no service pad service timestamps debug datetime msec localtime service timestamps log datetime msec localtime no service passwor