![]() |
i - IS-IS buy abercrombie
实验环境DynamipsGUI v2.7
R1上配置内容 R1#show run Building configuration... Current configuration : 605 bytes ! version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname R1 ! ip subnet-zero ! no ip domain-lookup ! interface Loopback0 ip address 10.10.10.10 255.255.255.0 ! interface FastEthernet0/0 ip address 172.16.1.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet1/0 ip address 172.16.2.1 255.255.255.0 duplex auto speed auto ! router rip version 2 network 10.0.0.0 network 172.16.0.0 no auto-summary ! ip classless ip http server ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 ! end R1#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR,buy abercrombie, P - periodic downloaded static route Gateway of last resort is not set R 192.168.10.0/24 [120/1] via 172.16.1.2, 00:00:08, FastEthernet0/0 172.16.0.0/24 is subnetted, 2 subnets C 172.16.1.0 is directly connected, FastEthernet0/0 C 172.16.2.0 is directly connected, FastEthernet1/0 R 192.168.20.0/24 [120/1] via 172.16.1.2, 00:00:08, FastEthernet0/0 10.0.0.0/24 is subnetted, 1 subnets C 10.10.10.0 is directly connected, Loopback0 R1# S1上配置内容 S1#show run Building configuration... Current configuration : 1276 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname S1 ! boot-start-marker boot-end-marker ! no aaa new-model memory-size iomem 5 ! ip cef no ip domain lookup ! interface FastEthernet0/0 no switchport ip address 172.16.1.2 255.255.255.0 ! interface FastEthernet0/1 switchport mode trunk ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 ! interface FastEthernet0/15 ! interface Vlan1 no ip address ! interface Vlan10 ip address 192.168.10.1 255.255.255.0 vrrp 1 ip 192.168.10.254 vrrp 1 priority 200 ! interface Vlan20 ip address 192.168.20.1 255.255.255.0 vrrp 2 ip 192.168.20.254 ! router rip version 2 network 172.16.0.0 network 192.168.10.0 network 192.168.20.0 no auto-summary ! ip http server ! control-plane ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 ! end S1#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set C 192.168.10.0/24 is directly connected, Vlan10 172.16.0.0/24 is subnetted, 2 subnets C 172.16.1.0 is directly connected, FastEthernet0/0 R 172.16.2.0 [120/1] via 172.16.1.1, 00:00:10, FastEthernet0/0 C 192.168.20.0/24 is directly connected, Vlan20 10.0.0.0/24 is subnetted, 1 subnets R 10.10.10.0 [120/1] via 172.16.1.1, 00:00:10, FastEthernet0/0 S1#show vrrp Vlan10 - Group 1 State is Master Virtual IP address is 192.168.10.254 Virtual MAC address is 0000.5e00.0101 Advertisement interval is 1.000 sec Preemption enabled Priority is 200 Master Router is 192.168.10.1 (local), priority is 200 Master Advertisement interval is 1.000 sec Master Down interval is 3.218 sec Vlan20 - Group 2 State is Backup Virtual IP address is 192.168.20.254 Virtual MAC address is 0000.5e00.0102 Advertisement interval is 1.000 sec Preemption enabled Priority is 100 Master Router is 192.168.20.2, priority is 200 Master Advertisement interval is 1.000 sec Master Down interval is 3.609 sec (expires in 2.849 sec) S1# S2上配置内容 S2#show run Building configuration... Current configuration : 1348 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname S2 ! boot-start-marker boot-end-marker ! no aaa new-model memory-size iomem 5 ! ip cef no ip domain lookup ! interface FastEthernet0/0 no switchport ip address 172.16.2.2 255.255.255.0 ! interface FastEthernet0/1 switchport mode trunk ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ,ysl heels! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 ! interface FastEthernet0/15 ! interface Vlan1 no ip address ! interface Vlan10 ip address 192.168.10.2 255.255.255.0 vrrp 1 ip 192.168.10.254 ! interface Vlan20 ip address 192.168.20.2 255.255.255.0 vrrp 2 ip 192.168.20.254 vrrp 2 priority 200 ! router rip version 2 network 172.16.0.0 network 192.168.1.0 network 192.168.2.0 no auto-summary ! ip http server ! mac-address-table static 0000.5e00.0102 interface FastEthernet0/1 vlan 20 ! control-plane ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 ! end S2#show ip route Codes: C - connected, S - static, R - RIP, M - mobile,graphic tees, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set C 192.168.10.0/24 is directly connected, Vlan10 172.16.0.0/24 is subnetted, 2 subnets R 172.16.1.0 [120/1] via 172.16.2.1, 00:00:23, FastEthernet0/0 C 172.16.2.0 is directly connected, FastEthernet0/0 C 192.168.20.0/24 is directly connected, Vlan20 10.0.0.0/24 is subnetted, 1 subnets R 10.10.10.0 [120/1] via 172.16.2.1, 00:00:23, FastEthernet0/0 S2#show vrrp Vlan10 - Group 1 State is Backup Virtual IP address is 192.168.10.254 Virtual MAC address is 0000.5e00.0101 Advertisement interval is 1.000 sec Preemption enabled Priority is 100 Master Router is 192.168.10.1, priority is 200 Master Advertisement interval is 1.000 sec Master Down interval is 3.609 sec (expires in 2.825 sec) Vlan20 - Group 2 State is Master Virtual IP address is 192.168.20.254 Virtual MAC address is 0000.5e00.0102 Advertisement interval is 1.000 sec Preemption enabled Priority is 200 Master Router is 192.168.20.2 (local), priority is 200 Master Advertisement interval is 1.000 sec Master Down interval is 3.218 sec S2# S3上配置内容 S3#show run Building configuration... Current configuration : 1007 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname S3 ! boot-start-marker boot-end-marker ! no aaa new-model memory-size iomem 5 ! ip cef no ip domain lookup ! interface FastEthernet0/0 switchport mode trunk ! interface FastEthernet0/1 switchport mode trunk ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 switchport access vlan 10 ! interface FastEthernet0/15 switchport access vlan 20 ! interface Vlan1 no ip address ! ip http server ! control-plane ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 ! end S3# 在实验中很明显可以看到 S1为Vlan10的Master,S1为Vlan20的backup S2为Vlan20的Master,S2为Vlan10的backup 如果将S1的F0/1 shutdown,可以发现 S2立即成为VLAN10、VLAN20的Master 如果将S2的F0/1 shutdown,可以发现 S1立即成为VLAN10、VLAN20的Master 相关的主题文章: marc jacobs shades Physical love , read Do not cry Oh! Complete hand shadow ( can play with their children ) |
All times are GMT. The time now is 12:23 PM. |
Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum