设备是Catalyst8540 CSR 。配置了ISL.VLAN.BVI,并且采用了HSRP协议。这些例子中是用的是IP地址的保留地址,在拥护网络中使用时要更换成你们自己想要的合法IP地址。
实例:
涉及到技术有: ISL VLAN GEC IRB 技术 , Cisco 的ISL技术润许将任何快速以太口配置成中继端口。生成树协议可以在中继端口上探测到并打破环路。
具体情况如下:
快速以太口0/0/0划分了端口,然后在子端口上封状了ISL协议,而快速以太端口0/0/0作为中继端口,它上面的每个子端口连接到一个VLAN。在千兆以太端口上使用了GEC端口绑定技术和桥接技术,并在目标端口GEC1/0/0上配置了端口探测。
具体配置单如下:version 12.0no service padservice timestamps debug datetime msec localtime show-timezoneservice timestamps log datetime msec localtime show-timezoneservice password-encryption!hostname Cat8540_Chinamobile!logging buffered 4096 debuggingenable password 7 0833595e08!facility-alarm core-temperature major 53facility-alarm core-temperature minor 45clock timezone pst -8clock summer-time pdt recurringredundancymain-cpusync config startupsync config runningip subnet-zerono ip domain-lookupip name-server 172.19.2.132ip name-server 172.20.30.32ip multicast-routingip dvmrp route-limit 20000bridge irb!interface port-channel9ip address 172.20.1.2 255.255.255.0no ip directed-broadcastip pim dense-modehold-queue 300 in!interface FastEthernet0/0/0no ip addressno ip directed-broadcastno keepalive!interface FastEthernet0/0/0.128ip address 172.18.16.10 255.255.255.0ip helper-address 172.18.16.15no ip redirectsno ip directed-broadcastip pim dense-modeip multicast ttl-threshold 1encapsulation isl 128ipx encapsulation ARPAipx network 96A44fff!interface FastEthernet0/0/0.199ip address 172.18.17.15 255.255.255.0ip helper-address 172.18.16.16ip helper-address 172.18.16.17ip helper-address 172.18.16.18no ip redirectsno ip directed-broadcastip pim dense-modeip multicast ttl-threshold 1encapsulation isl 199!interface FastEthernet0/0/0.201ip address 172.18.18.10 255.255.255.0ip helper-address 172.18.16.16ip helper-address 172.18.16.17ip helper-address 172.18.16.18no ip redirectsno ip directe-broadcastip pim dense-modeip multicast ttl-threshold 1encapsulation isl 201!interface FastEthernet0/0/1no ip addressno ip directed-broadcastno keepaliveshutdown!interface FastEthernet0/0/2no ip addressno ip directed-broadcastno keepaliveshutdown!interface FastEthernet0/0/3no ip addressno ip directed-broadcastno keepaliveshutdown!interface FastEthernet0/0/4no ip addressno ip directed-broadcastno keepaliveshutdown!interface FastEthernet0/0/5no ip addressno ip directed-broadcastno keepaliveshutdown!interface FastEthernet0/0/6no ip addressno ip directed-broadcastno keepaliveshutdown!interface FastEthernet0/0/7no ip addressno ip directed-broadcastno keepalivehutdowninterface FastEthernet0/0/8ip address 172.18.19.10 255.255.255.0ip helper-address 172.18.16.16ip helper-address 172.18.16.17ip helper-address 172.18.16.18no ip redirectsno ip directe-broadcastip pim dense-modeip multicast ttl-threshold 1ip sdr listenno keepaliveipx network 95B12FFF!interface FastEthernet0/0/9no ip addressno ip directed-broadcastno keepaliveshutdown!interface FastEthernet0/0/12no ip addressno ip directed-broadcastno keepaliveshutdown!interface FastEthernet0/0/11no ip addressno ip directed-broadcastno keepaliveshutdown!interface FastEthernet0/0/12no ip addressno ip directed-broadcastno keepaliveshutdown!interface FastEthernet0/0/13no ip addressno ip directed-broadcastno keepaliveshutdown!interface FastEthernet0/0/14no ip addressno ip directed-broadcastno keepaliveshutdown!interface FastEthernet0/0/15no ip addressno ip directed-broadcastno keepaliveshutdown!interface GigabitEthernet1/0/0snoop interface FastEthernet0/0/3 direction bothsnoop interface FastEthernet0/0/4 direction bothsnoop interface FastEthernet0/0/5 direction bothip address 172.18.21.10 255.255.255.0ip helper-address 172.18.16.19ip helper-address 172.18.16.20ip helper-address 172.18.16.21!interface GigabitEthernet1/0/1no ip addressno ip directed-broadcastno keepaliveinterface GigabitEthernet2/0/0ip address 172.18.1.1 255.255.255.0no ip directed-broadcastip pim sparse-dense-mode!interface GigabitEthernet2/0/1ip address 172.19.1.1 255.255.255.0no ip directed-broadcastip pim sparse-dense-mode!interface GigabitEthernet3/0/0no ip addressno ip directed-broadcastchannel-group 9!interface GigabitEthernet3/0/1no ip addressno ip directed-broadcastchannel-group 9!interface GigabitEthernet3/0/2no ip addressno ip directed-broadcastchannel-group 9!interface GigabitEthernet3/0/3no ip addressno ip directed-broadcastchannel-group 9!interface GigabitEthernet3/0/4no ip addressno ip directed-broadcastchannel-group 9!interface GigabitEthernet3/0/5no ip addressno ip directed-broadcastchannel-group 9!interface GigabitEthernet3/0/6no ip addressno ip directed-broadcastchannel-group 9!interface GigabitEthernet3/0/7no ip addressno ip directed-broadcastchannel-group 9!interface BVI1ip address 172.20.1.2 255.255.255.0no ip directed-broadcastno ip route-cache cef!interface Ethernet0ip address 172.18.20.10 255.255.255.0no ip directed-broadcast!router eigrp 170network 172.20.0.0network 172.21.0.0network 172.18.0.0network 172.19.0.0no auto-summary!router bgp 180network 172.18.1.0network 172.19.1.0no auto-summary!ip classless!bridge 1 protocol ieeebridge 1 route ipbridge 1 route ipx!!ip http server!line con 0line aux 0line vtp 0 4login