2009-1-21 MPLS ××× SP-SP 实验
之ASBR-ASBR next-hop-self实验配置及其结果备忘。
MPLS ×××拓扑:
-------------------------------------------------------------------------------------------------------------
GuZ-CE1 BeJ-CE1
| fa2/0 | fa1/0
| |
fa1/0 | fa0/0 fa2/0 fa1/0 fa0/0 fa1/0 |fa1/0
GuZ-PE1 -------GuZ-C1-------GuZ-PE2-------BeJ-PE2-------BeJ-C1-------BeJ-PE1
fa2/0 | fa1/0 fa0/0 fa1/0 fa2/0 fa0/0 | fa2/0
| |
| fa1/0 |fa1/0
GuZ-CE2 BeJ-CE2
GuZ-CE1 BeJ-CE1
| fa2/0 | fa1/0
| |
fa1/0 | fa0/0 fa2/0 fa1/0 fa0/0 fa1/0 |fa1/0
GuZ-PE1 -------GuZ-C1-------GuZ-PE2-------BeJ-PE2-------BeJ-C1-------BeJ-PE1
fa2/0 | fa1/0 fa0/0 fa1/0 fa2/0 fa0/0 | fa2/0
| |
| fa1/0 |fa1/0
GuZ-CE2 BeJ-CE2
-------------------------------------------------------------------------------------------------- -------------
其中,以GuZ-PE2 --- BeJ-PE2 (172.16.34.0/24)之间的链路做SP-SP之间的NNI。
GuZ-PE1#sh run
hostname GuZ-PE1
!
!
ip cef
!
!
!
ip vrf CEA
rd 100:1
route-target export 100:1
route-target import 100:1
route-target import 200:1
!
ip vrf CEB
rd 100:2
route-target export 100:2
route-target import 100:2
route-target import 200:2
!
no ip domain lookup
!
mpls label range 100 199
!
!
!
!
interface Loopback0
ip address 200.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 172.16.12.1 255.255.255.0
duplex half
mpls ip
!
interface FastEthernet1/0
description connect to GuZ-CE1
ip vrf forwarding CEA
ip address 10.1.1.1 255.255.255.0
duplex half
!
interface FastEthernet2/0
description connect to GuZ-CE2
ip vrf forwarding CEB
ip address 11.1.1.1 255.255.255.0
duplex half
!
router ospf 1
log-adjacency-changes
network 172.16.12.0 0.0.0.255 area 0
network 200.1.1.1 0.0.0.0 area 0
!
router bgp 100
no bgp default ipv4-unicast
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 200.1.1.2 remote-as 100
neighbor 200.1.1.2 update-source Loopback0
!
address-family ipv4
neighbor 200.1.1.2 activate
neighbor 200.1.1.2 soft-reconfiguration inbound
no auto-summary
no synchronization
exit-address-family
!
address-family ***v4
neighbor 200.1.1.2 activate
neighbor 200.1.1.2 send-community both
exit-address-family
!
address-family ipv4 vrf CEB
neighbor 11.1.1.2 remote-as 65002
neighbor 11.1.1.2 activate
neighbor 11.1.1.2 as-override
neighbor 11.1.1.2 soft-reconfiguration inbound
no synchronization
network 11.1.1.0
exit-address-family
!
address-family ipv4 vrf CEA
neighbor 10.1.1.2 remote-as 65001
neighbor 10.1.1.2 activate
neighbor 10.1.1.2 as-override
neighbor 10.1.1.2 soft-reconfiguration inbound
no synchronization
network 10.1.1.0 mask 255.255.255.0
exit-address-family
!
!
logging alarm informational
!
!
!
mpls ldp router-id Loopback0
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
!
!
ip cef
!
!
!
ip vrf CEA
rd 100:1
route-target export 100:1
route-target import 100:1
route-target import 200:1
!
ip vrf CEB
rd 100:2
route-target export 100:2
route-target import 100:2
route-target import 200:2
!
no ip domain lookup
!
mpls label range 100 199
!
!
!
!
interface Loopback0
ip address 200.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 172.16.12.1 255.255.255.0
duplex half
mpls ip
!
interface FastEthernet1/0
description connect to GuZ-CE1
ip vrf forwarding CEA
ip address 10.1.1.1 255.255.255.0
duplex half
!
interface FastEthernet2/0
description connect to GuZ-CE2
ip vrf forwarding CEB
ip address 11.1.1.1 255.255.255.0
duplex half
!
router ospf 1
log-adjacency-changes
network 172.16.12.0 0.0.0.255 area 0
network 200.1.1.1 0.0.0.0 area 0
!
router bgp 100
no bgp default ipv4-unicast
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 200.1.1.2 remote-as 100
neighbor 200.1.1.2 update-source Loopback0
!
address-family ipv4
neighbor 200.1.1.2 activate
neighbor 200.1.1.2 soft-reconfiguration inbound
no auto-summary
no synchronization
exit-address-family
!
address-family ***v4
neighbor 200.1.1.2 activate
neighbor 200.1.1.2 send-community both
exit-address-family
!
address-family ipv4 vrf CEB
neighbor 11.1.1.2 remote-as 65002
neighbor 11.1.1.2 activate
neighbor 11.1.1.2 as-override
neighbor 11.1.1.2 soft-reconfiguration inbound
no synchronization
network 11.1.1.0
exit-address-family
!
address-family ipv4 vrf CEA
neighbor 10.1.1.2 remote-as 65001
neighbor 10.1.1.2 activate
neighbor 10.1.1.2 as-override
neighbor 10.1.1.2 soft-reconfiguration inbound
no synchronization
network 10.1.1.0 mask 255.255.255.0
exit-address-family
!
!
logging alarm informational
!
!
!
mpls ldp router-id Loopback0
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
GuZ-PE1#
-----------------------------------------------------------------------------
GuZ-C1#sh run
hostname GuZ-C1
!
!
logging buffered 2048000 debugging
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
mpls label range 200 299
!
!
!
!
!
interface Loopback0
ip address 200.1.1.2 255.255.255.255
!
interface FastEthernet1/0
description connect to GuZ-PE1 fa0/0
ip address 172.16.12.2 255.255.255.0
duplex auto
speed auto
mpls ip
!
interface FastEthernet2/0
description connect to GuZ-PE2 fa0/0
ip address 172.16.23.2 255.255.255.0
duplex auto
speed auto
mpls ip
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!
router bgp 100
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 200.1.1.1 remote-as 100
neighbor 200.1.1.1 update-source Loopback0
neighbor 200.1.1.3 remote-as 100
neighbor 200.1.1.3 update-source Loopback0
!
address-family ***v4
neighbor 200.1.1.1 activate
neighbor 200.1.1.1 send-community both
neighbor 200.1.1.1 route-reflector-client
neighbor 200.1.1.3 activate
neighbor 200.1.1.3 send-community extended
neighbor 200.1.1.3 route-reflector-client
exit-address-family
!
no ip http server
!
!
!
mpls ldp router-id Loopback0
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
end
-----------------------------------------------------------------------------
GuZ-PE2#sh run
!
!
logging buffered 2048000 debugging
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
mpls label range 200 299
!
!
!
!
!
interface Loopback0
ip address 200.1.1.2 255.255.255.255
!
interface FastEthernet1/0
description connect to GuZ-PE1 fa0/0
ip address 172.16.12.2 255.255.255.0
duplex auto
speed auto
mpls ip
!
interface FastEthernet2/0
description connect to GuZ-PE2 fa0/0
ip address 172.16.23.2 255.255.255.0
duplex auto
speed auto
mpls ip
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!
router bgp 100
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 200.1.1.1 remote-as 100
neighbor 200.1.1.1 update-source Loopback0
neighbor 200.1.1.3 remote-as 100
neighbor 200.1.1.3 update-source Loopback0
!
address-family ***v4
neighbor 200.1.1.1 activate
neighbor 200.1.1.1 send-community both
neighbor 200.1.1.1 route-reflector-client
neighbor 200.1.1.3 activate
neighbor 200.1.1.3 send-community extended
neighbor 200.1.1.3 route-reflector-client
exit-address-family
!
no ip http server
!
!
!
mpls ldp router-id Loopback0
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
end
-----------------------------------------------------------------------------
GuZ-PE2#sh run
hostname GuZ-PE2
!
logging buffered 2048000 debugging
!
ip cef
!
!
no ip domain lookup
!
mpls label range 300 399
!
!
interface Loopback0
ip address 200.1.1.3 255.255.255.255
!
interface FastEthernet0/0
description connect to GuZ-C1
ip address 172.16.23.3 255.255.255.0
duplex half
mpls ip
!
interface FastEthernet1/0
description connect to BeJ-PE2 NNI
ip address 172.16.34.3 255.255.255.0
duplex full
!
interface FastEthernet1/0.1
encapsulation dot1Q 100
!
interface FastEthernet1/0.2
encapsulation dot1Q 200
!
router ospf 1
log-adjacency-changes
network 172.16.23.0 0.0.0.255 area 0
network 200.1.1.3 0.0.0.0 area 0
!
router bgp 100
no bgp default ipv4-unicast
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 172.16.34.4 remote-as 200
neighbor 200.1.1.2 remote-as 100
neighbor 200.1.1.2 update-source Loopback0
!
address-family ipv4
neighbor 200.1.1.2 activate
neighbor 200.1.1.2 next-hop-self
no auto-summary
no synchronization
exit-address-family
!
address-family ***v4
neighbor 172.16.34.4 activate
neighbor 172.16.34.4 send-community extended
neighbor 172.16.34.4 next-hop-self
neighbor 200.1.1.2 activate
neighbor 200.1.1.2 send-community extended
neighbor 200.1.1.2 next-hop-self
exit-address-family
!
no ip http server
no ip http secure-server
!
logging alarm informational
!
!
mpls ldp router-id Loopback0
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
!
logging buffered 2048000 debugging
!
ip cef
!
!
no ip domain lookup
!
mpls label range 300 399
!
!
interface Loopback0
ip address 200.1.1.3 255.255.255.255
!
interface FastEthernet0/0
description connect to GuZ-C1
ip address 172.16.23.3 255.255.255.0
duplex half
mpls ip
!
interface FastEthernet1/0
description connect to BeJ-PE2 NNI
ip address 172.16.34.3 255.255.255.0
duplex full
!
interface FastEthernet1/0.1
encapsulation dot1Q 100
!
interface FastEthernet1/0.2
encapsulation dot1Q 200
!
router ospf 1
log-adjacency-changes
network 172.16.23.0 0.0.0.255 area 0
network 200.1.1.3 0.0.0.0 area 0
!
router bgp 100
no bgp default ipv4-unicast
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 172.16.34.4 remote-as 200
neighbor 200.1.1.2 remote-as 100
neighbor 200.1.1.2 update-source Loopback0
!
address-family ipv4
neighbor 200.1.1.2 activate
neighbor 200.1.1.2 next-hop-self
no auto-summary
no synchronization
exit-address-family
!
address-family ***v4
neighbor 172.16.34.4 activate
neighbor 172.16.34.4 send-community extended
neighbor 172.16.34.4 next-hop-self
neighbor 200.1.1.2 activate
neighbor 200.1.1.2 send-community extended
neighbor 200.1.1.2 next-hop-self
exit-address-family
!
no ip http server
no ip http secure-server
!
logging alarm informational
!
!
mpls ldp router-id Loopback0
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
GuZ-PE2#
-----------------------------------------------------------------------------
BeJ-PE2#sh run
!
hostname BeJ-PE2
!
!
logging buffered 2048000 debugging
!
ip cef
!
!
!
!
no ip domain lookup
!
mpls label range 400 499
!
!
!
!
!
interface Loopback0
ip address 200.1.1.4 255.255.255.255
!
interface FastEthernet0/0
description connect to BeJ-C1 fa2/0
ip address 172.16.45.4 255.255.255.0
duplex half
mpls ip
!
interface FastEthernet1/0
description connect to GuZ-PE2 fa1/0 NNI
ip address 172.16.34.4 255.255.255.0
duplex full
!
interface FastEthernet1/0.1
encapsulation dot1Q 100
!
interface FastEthernet1/0.2
encapsulation dot1Q 200
!
router ospf 1
router-id 200.1.1.4
log-adjacency-changes
network 172.16.45.0 0.0.0.255 area 0
network 200.1.1.4 0.0.0.0 area 0
!
router bgp 200
no bgp default ipv4-unicast
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 172.16.34.3 remote-as 100
neighbor 200.1.1.5 remote-as 200
neighbor 200.1.1.5 update-source Loopback0
!
address-family ***v4
neighbor 172.16.34.3 activate
neighbor 172.16.34.3 send-community extended
neighbor 200.1.1.5 activate
neighbor 200.1.1.5 send-community extended
neighbor 200.1.1.5 next-hop-self
exit-address-family
!
!
!
logging alarm informational
!
!
!
!
mpls ldp router-id Loopback0
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
!
hostname BeJ-PE2
!
!
logging buffered 2048000 debugging
!
ip cef
!
!
!
!
no ip domain lookup
!
mpls label range 400 499
!
!
!
!
!
interface Loopback0
ip address 200.1.1.4 255.255.255.255
!
interface FastEthernet0/0
description connect to BeJ-C1 fa2/0
ip address 172.16.45.4 255.255.255.0
duplex half
mpls ip
!
interface FastEthernet1/0
description connect to GuZ-PE2 fa1/0 NNI
ip address 172.16.34.4 255.255.255.0
duplex full
!
interface FastEthernet1/0.1
encapsulation dot1Q 100
!
interface FastEthernet1/0.2
encapsulation dot1Q 200
!
router ospf 1
router-id 200.1.1.4
log-adjacency-changes
network 172.16.45.0 0.0.0.255 area 0
network 200.1.1.4 0.0.0.0 area 0
!
router bgp 200
no bgp default ipv4-unicast
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 172.16.34.3 remote-as 100
neighbor 200.1.1.5 remote-as 200
neighbor 200.1.1.5 update-source Loopback0
!
address-family ***v4
neighbor 172.16.34.3 activate
neighbor 172.16.34.3 send-community extended
neighbor 200.1.1.5 activate
neighbor 200.1.1.5 send-community extended
neighbor 200.1.1.5 next-hop-self
exit-address-family
!
!
!
logging alarm informational
!
!
!
!
mpls ldp router-id Loopback0
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
BeJ-PE2#
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
BeJ-C1#sh run
Building configuration...
Building configuration...
!
hostname BeJ-C1
!
logging buffered 2048000 debugging
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
mpls label range 500 599
!
!
!
!
!
interface Loopback0
ip address 200.1.1.5 255.255.255.255
!
interface FastEthernet1/0
description connect to BeJ-PE1 fa0/0
ip address 172.16.56.5 255.255.255.0
duplex auto
speed auto
mpls ip
!
interface FastEthernet2/0
description connect to BeJ-PE2 fa0/0
ip address 172.16.45.5 255.255.255.0
duplex auto
speed auto
mpls ip
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!
router bgp 200
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 200.1.1.4 remote-as 200
neighbor 200.1.1.4 update-source Loopback0
neighbor 200.1.1.6 remote-as 200
neighbor 200.1.1.6 update-source Loopback0
!
address-family ipv4
neighbor 200.1.1.4 activate
no auto-summary
no synchronization
exit-address-family
!
address-family ***v4
neighbor 200.1.1.4 activate
neighbor 200.1.1.4 send-community extended
neighbor 200.1.1.4 route-reflector-client
neighbor 200.1.1.6 activate
neighbor 200.1.1.6 send-community extended
neighbor 200.1.1.6 route-reflector-client
exit-address-family
!
!
mpls ldp router-id Loopback0
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
end
hostname BeJ-C1
!
logging buffered 2048000 debugging
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
mpls label range 500 599
!
!
!
!
!
interface Loopback0
ip address 200.1.1.5 255.255.255.255
!
interface FastEthernet1/0
description connect to BeJ-PE1 fa0/0
ip address 172.16.56.5 255.255.255.0
duplex auto
speed auto
mpls ip
!
interface FastEthernet2/0
description connect to BeJ-PE2 fa0/0
ip address 172.16.45.5 255.255.255.0
duplex auto
speed auto
mpls ip
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!
router bgp 200
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 200.1.1.4 remote-as 200
neighbor 200.1.1.4 update-source Loopback0
neighbor 200.1.1.6 remote-as 200
neighbor 200.1.1.6 update-source Loopback0
!
address-family ipv4
neighbor 200.1.1.4 activate
no auto-summary
no synchronization
exit-address-family
!
address-family ***v4
neighbor 200.1.1.4 activate
neighbor 200.1.1.4 send-community extended
neighbor 200.1.1.4 route-reflector-client
neighbor 200.1.1.6 activate
neighbor 200.1.1.6 send-community extended
neighbor 200.1.1.6 route-reflector-client
exit-address-family
!
!
mpls ldp router-id Loopback0
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
end
BeJ-C1#
-----------------------------------------------------------------------------
BeJ-PE1#sh run
hostname BeJ-PE1
!
!
logging buffered 2048000 debugging
!
!
ip cef
!
!
ip vrf CEA
rd 200:1
route-target export 200:1
route-target import 200:1
route-target import 100:1
!
ip vrf CEB
rd 200:2
route-target export 200:2
route-target import 200:2
route-target import 100:2
!
no ip domain lookup
!
mpls label range 600 699
!
!
interface Loopback0
ip address 200.1.1.6 255.255.255.255
!
interface FastEthernet0/0
description connect to BeJ-C1 fa1/0
ip address 172.16.56.6 255.255.255.0
duplex half
mpls ip
!
interface FastEthernet1/0
description connect to BeJ-CE1 fa1/0
ip vrf forwarding CEA
ip address 10.2.1.1 255.255.255.0
duplex half
!
interface FastEthernet2/0
description connect to BeJ-CE2 fa1/0
ip vrf forwarding CEB
ip address 11.2.1.1 255.255.255.0
duplex half
!
router ospf 1
router-id 200.1.1.6
log-adjacency-changes
network 172.16.56.0 0.0.0.255 area 0
network 200.1.1.4 0.0.0.0 area 0
network 200.1.1.6 0.0.0.0 area 0
network 200.1.1.7 0.0.0.0 area 0
!
router bgp 200
no bgp default ipv4-unicast
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 200.1.1.5 remote-as 200
neighbor 200.1.1.5 update-source Loopback0
!
address-family ***v4
neighbor 200.1.1.5 activate
neighbor 200.1.1.5 send-community extended
neighbor 200.1.1.5 next-hop-self
exit-address-family
!
address-family ipv4 vrf CEB
neighbor 11.2.1.2 remote-as 65002
neighbor 11.2.1.2 activate
neighbor 11.2.1.2 as-override
no synchronization
network 11.2.1.0
exit-address-family
!
address-family ipv4 vrf CEA
neighbor 10.2.1.2 remote-as 65001
neighbor 10.2.1.2 activate
neighbor 10.2.1.2 as-override
no synchronization
network 10.2.1.0 mask 255.255.255.0
exit-address-family
!
logging alarm informational
!
!
mpls ldp router-id Loopback0
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
!
!
logging buffered 2048000 debugging
!
!
ip cef
!
!
ip vrf CEA
rd 200:1
route-target export 200:1
route-target import 200:1
route-target import 100:1
!
ip vrf CEB
rd 200:2
route-target export 200:2
route-target import 200:2
route-target import 100:2
!
no ip domain lookup
!
mpls label range 600 699
!
!
interface Loopback0
ip address 200.1.1.6 255.255.255.255
!
interface FastEthernet0/0
description connect to BeJ-C1 fa1/0
ip address 172.16.56.6 255.255.255.0
duplex half
mpls ip
!
interface FastEthernet1/0
description connect to BeJ-CE1 fa1/0
ip vrf forwarding CEA
ip address 10.2.1.1 255.255.255.0
duplex half
!
interface FastEthernet2/0
description connect to BeJ-CE2 fa1/0
ip vrf forwarding CEB
ip address 11.2.1.1 255.255.255.0
duplex half
!
router ospf 1
router-id 200.1.1.6
log-adjacency-changes
network 172.16.56.0 0.0.0.255 area 0
network 200.1.1.4 0.0.0.0 area 0
network 200.1.1.6 0.0.0.0 area 0
network 200.1.1.7 0.0.0.0 area 0
!
router bgp 200
no bgp default ipv4-unicast
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 200.1.1.5 remote-as 200
neighbor 200.1.1.5 update-source Loopback0
!
address-family ***v4
neighbor 200.1.1.5 activate
neighbor 200.1.1.5 send-community extended
neighbor 200.1.1.5 next-hop-self
exit-address-family
!
address-family ipv4 vrf CEB
neighbor 11.2.1.2 remote-as 65002
neighbor 11.2.1.2 activate
neighbor 11.2.1.2 as-override
no synchronization
network 11.2.1.0
exit-address-family
!
address-family ipv4 vrf CEA
neighbor 10.2.1.2 remote-as 65001
neighbor 10.2.1.2 activate
neighbor 10.2.1.2 as-override
no synchronization
network 10.2.1.0 mask 255.255.255.0
exit-address-family
!
logging alarm informational
!
!
mpls ldp router-id Loopback0
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
BeJ-PE1#
-----------------------------------------------------------------------------
BeJ-CE1#sh run
Building configuration...
BeJ-CE1#sh run
Building configuration...
hostname BeJ-CE1
!
logging buffered 2048000 debugging
!
ip subnet-zero
!
!
no ip domain-lookup
!
interface Loopback20
ip address 192.168.30.1 255.255.255.0
!
interface Loopback21
ip address 192.168.31.1 255.255.255.0
!
interface Loopback22
ip address 192.168.32.1 255.255.255.0
!
interface FastEthernet0/0
description connect to LAN 3
ip address 192.168.3.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
description connect to BeJ-PE1 fa1/0
ip address 10.2.1.2 255.255.255.0
duplex auto
speed auto
!
router bgp 65001
no synchronization
bgp log-neighbor-changes
network 10.2.1.0
network 192.168.3.0
network 192.168.30.0
network 192.168.31.0
network 192.168.32.0
neighbor 10.2.1.1 remote-as 200
neighbor 10.2.1.1 soft-reconfiguration inbound
no auto-summary
!
ip classless
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
end
!
logging buffered 2048000 debugging
!
ip subnet-zero
!
!
no ip domain-lookup
!
interface Loopback20
ip address 192.168.30.1 255.255.255.0
!
interface Loopback21
ip address 192.168.31.1 255.255.255.0
!
interface Loopback22
ip address 192.168.32.1 255.255.255.0
!
interface FastEthernet0/0
description connect to LAN 3
ip address 192.168.3.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
description connect to BeJ-PE1 fa1/0
ip address 10.2.1.2 255.255.255.0
duplex auto
speed auto
!
router bgp 65001
no synchronization
bgp log-neighbor-changes
network 10.2.1.0
network 192.168.3.0
network 192.168.30.0
network 192.168.31.0
network 192.168.32.0
neighbor 10.2.1.1 remote-as 200
neighbor 10.2.1.1 soft-reconfiguration inbound
no auto-summary
!
ip classless
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
end
BeJ-CE1#
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
BeJ-CE2#sh run
hostname BeJ-CE2
!
logging buffered 2048000 debugging
!
ip subnet-zero
!
!
no ip domain-lookup
!
!
!
!
interface Loopback20
ip address 192.168.40.1 255.255.255.0
!
interface Loopback21
ip address 192.168.41.1 255.255.255.0
!
interface Loopback22
ip address 192.168.42.1 255.255.255.0
!
interface FastEthernet0/0
description connect to LAN 4
ip address 192.168.4.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
description connect to BeJ-PE1 fa2/0
ip address 11.2.1.2 255.255.255.0
duplex auto
speed auto
!
router bgp 65002
bgp log-neighbor-changes
network 10.2.1.0
network 192.168.40.0
network 192.168.41.0
network 192.168.42.0
neighbor 11.2.1.1 remote-as 200
neighbor 11.2.1.1 soft-reconfiguration inbound
!
ip classless
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
end
!
logging buffered 2048000 debugging
!
ip subnet-zero
!
!
no ip domain-lookup
!
!
!
!
interface Loopback20
ip address 192.168.40.1 255.255.255.0
!
interface Loopback21
ip address 192.168.41.1 255.255.255.0
!
interface Loopback22
ip address 192.168.42.1 255.255.255.0
!
interface FastEthernet0/0
description connect to LAN 4
ip address 192.168.4.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
description connect to BeJ-PE1 fa2/0
ip address 11.2.1.2 255.255.255.0
duplex auto
speed auto
!
router bgp 65002
bgp log-neighbor-changes
network 10.2.1.0
network 192.168.40.0
network 192.168.41.0
network 192.168.42.0
neighbor 11.2.1.1 remote-as 200
neighbor 11.2.1.1 soft-reconfiguration inbound
!
ip classless
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
end
BeJ-CE2#
-----------------------------------------------------------------------------
GuZ-CE1#sh run
-----------------------------------------------------------------------------
GuZ-CE1#sh run
hostname GuZ-CE1
!
logging buffered 2048000 debugging
!
ip subnet-zero
!
!
no ip domain-lookup
!
!
interface Loopback10
ip address 192.168.10.1 255.255.255.0
!
interface Loopback11
ip address 192.168.11.1 255.255.255.0
!
interface Loopback12
ip address 192.168.12.1 255.255.255.0
!
interface FastEthernet0/0
description connect to LAN 1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
description connect GuZ-PE1 fa1/0
ip address 10.1.1.2 255.255.255.0
duplex auto
speed auto
!
router bgp 65001
no synchronization
bgp log-neighbor-changes
network 10.1.1.0
network 192.168.1.0
network 192.168.10.0
network 192.168.11.0
network 192.168.12.0
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.1.1 soft-reconfiguration inbound
no auto-summary
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.1.1.1
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
end
!
logging buffered 2048000 debugging
!
ip subnet-zero
!
!
no ip domain-lookup
!
!
interface Loopback10
ip address 192.168.10.1 255.255.255.0
!
interface Loopback11
ip address 192.168.11.1 255.255.255.0
!
interface Loopback12
ip address 192.168.12.1 255.255.255.0
!
interface FastEthernet0/0
description connect to LAN 1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
description connect GuZ-PE1 fa1/0
ip address 10.1.1.2 255.255.255.0
duplex auto
speed auto
!
router bgp 65001
no synchronization
bgp log-neighbor-changes
network 10.1.1.0
network 192.168.1.0
network 192.168.10.0
network 192.168.11.0
network 192.168.12.0
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.1.1 soft-reconfiguration inbound
no auto-summary
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.1.1.1
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
end
GuZ-CE1#
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
GuZ-CE2#sh run
hostname GuZ-CE2
!
logging buffered 2048000 debugging
!
ip subnet-zero
!
!
no ip domain-lookup
!
!
interface Loopback10
ip address 192.168.20.1 255.255.255.0
!
interface Loopback11
ip address 192.168.21.1 255.255.255.0
!
interface Loopback12
ip address 192.168.22.1 255.255.255.0
!
interface FastEthernet0/0
description connect to LAN 2
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
description connect to GuZ-PE1 fa2/0
ip address 11.1.1.2 255.255.255.0
duplex auto
speed auto
!
router bgp 65002
bgp log-neighbor-changes
network 11.1.1.0
network 192.168.2.0
network 192.168.20.0
network 192.168.21.0
network 192.168.22.0
neighbor 11.1.1.1 remote-as 100
neighbor 11.1.1.1 soft-reconfiguration inbound
!
ip classless
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
end
!
logging buffered 2048000 debugging
!
ip subnet-zero
!
!
no ip domain-lookup
!
!
interface Loopback10
ip address 192.168.20.1 255.255.255.0
!
interface Loopback11
ip address 192.168.21.1 255.255.255.0
!
interface Loopback12
ip address 192.168.22.1 255.255.255.0
!
interface FastEthernet0/0
description connect to LAN 2
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
description connect to GuZ-PE1 fa2/0
ip address 11.1.1.2 255.255.255.0
duplex auto
speed auto
!
router bgp 65002
bgp log-neighbor-changes
network 11.1.1.0
network 192.168.2.0
network 192.168.20.0
network 192.168.21.0
network 192.168.22.0
neighbor 11.1.1.1 remote-as 100
neighbor 11.1.1.1 soft-reconfiguration inbound
!
ip classless
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
end
---------------------------------------------------------------------------
GuZ-CE1#sh ip bgp
BGP table version is 15, local router ID is 192.168.12.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
GuZ-CE1#sh ip bgp
BGP table version is 15, local router ID is 192.168.12.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/24 10.1.1.1 0 0 100 i
*> 10.2.1.0/24 10.1.1.1 0 100 200 i
*> 192.168.1.0 0.0.0.0 0 32768 i
*> 192.168.3.0 10.1.1.1 0 100 200 100 i
*> 192.168.10.0 0.0.0.0 0 32768 i
*> 192.168.11.0 0.0.0.0 0 32768 i
*> 192.168.12.0 0.0.0.0 0 32768 i
*> 192.168.30.0 10.1.1.1 0 100 200 100 i
*> 192.168.31.0 10.1.1.1 0 100 200 100 i
*> 192.168.32.0 10.1.1.1 0 100 200 100 i
GuZ-CE1#sh 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, P - periodic downloaded static route
*> 10.1.1.0/24 10.1.1.1 0 0 100 i
*> 10.2.1.0/24 10.1.1.1 0 100 200 i
*> 192.168.1.0 0.0.0.0 0 32768 i
*> 192.168.3.0 10.1.1.1 0 100 200 100 i
*> 192.168.10.0 0.0.0.0 0 32768 i
*> 192.168.11.0 0.0.0.0 0 32768 i
*> 192.168.12.0 0.0.0.0 0 32768 i
*> 192.168.30.0 10.1.1.1 0 100 200 100 i
*> 192.168.31.0 10.1.1.1 0 100 200 100 i
*> 192.168.32.0 10.1.1.1 0 100 200 100 i
GuZ-CE1#sh 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, P - periodic downloaded static route
Gateway of last resort is 10.1.1.1 to network 0.0.0.0
C 192.168.12.0/24 is directly connected, Loopback12
B 192.168.31.0/24 [20/0] via 10.1.1.1, 00:30:04
B 192.168.30.0/24 [20/0] via 10.1.1.1, 00:30:04
C 192.168.10.0/24 is directly connected, Loopback10
C 192.168.11.0/24 is directly connected, Loopback11
10.0.0.0/24 is subnetted, 2 subnets
B 10.2.1.0 [20/0] via 10.1.1.1, 00:30:04
C 10.1.1.0 is directly connected, FastEthernet1/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
B 192.168.32.0/24 [20/0] via 10.1.1.1, 00:30:04
B 192.168.3.0/24 [20/0] via 10.1.1.1, 00:19:50
S* 0.0.0.0/0 [1/0] via 10.1.1.1
GuZ-CE1#
B 192.168.31.0/24 [20/0] via 10.1.1.1, 00:30:04
B 192.168.30.0/24 [20/0] via 10.1.1.1, 00:30:04
C 192.168.10.0/24 is directly connected, Loopback10
C 192.168.11.0/24 is directly connected, Loopback11
10.0.0.0/24 is subnetted, 2 subnets
B 10.2.1.0 [20/0] via 10.1.1.1, 00:30:04
C 10.1.1.0 is directly connected, FastEthernet1/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
B 192.168.32.0/24 [20/0] via 10.1.1.1, 00:30:04
B 192.168.3.0/24 [20/0] via 10.1.1.1, 00:19:50
S* 0.0.0.0/0 [1/0] via 10.1.1.1
GuZ-CE1#
GuZ-CE2#sh ip bgp
BGP table version is 164, local router ID is 192.168.22.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
BGP table version is 164, local router ID is 192.168.22.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 192.168.2.0 0.0.0.0 0 32768 i
*> 192.168.20.0 0.0.0.0 0 32768 i
*> 192.168.21.0 0.0.0.0 0 32768 i
*> 192.168.22.0 0.0.0.0 0 32768 i
*> 192.168.40.0 11.1.1.1 0 100 200 100 i
*> 192.168.41.0 11.1.1.1 0 100 200 100 i
*> 192.168.42.0 11.1.1.1 0 100 200 100 i
GuZ-CE2#sh 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, P - periodic downloaded static route
*> 192.168.2.0 0.0.0.0 0 32768 i
*> 192.168.20.0 0.0.0.0 0 32768 i
*> 192.168.21.0 0.0.0.0 0 32768 i
*> 192.168.22.0 0.0.0.0 0 32768 i
*> 192.168.40.0 11.1.1.1 0 100 200 100 i
*> 192.168.41.0 11.1.1.1 0 100 200 100 i
*> 192.168.42.0 11.1.1.1 0 100 200 100 i
GuZ-CE2#sh 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, P - periodic downloaded static route
Gateway of last resort is not set
B 192.168.42.0/24 [20/0] via 11.1.1.1, 00:29:19
B 192.168.40.0/24 [20/0] via 11.1.1.1, 00:29:19
B 192.168.41.0/24 [20/0] via 11.1.1.1, 00:29:19
C 192.168.21.0/24 is directly connected, Loopback11
C 192.168.20.0/24 is directly connected, Loopback10
11.0.0.0/24 is subnetted, 1 subnets
C 11.1.1.0 is directly connected, FastEthernet1/0
C 192.168.22.0/24 is directly connected, Loopback12
C 192.168.2.0/24 is directly connected, FastEthernet0/0
GuZ-CE2#
B 192.168.40.0/24 [20/0] via 11.1.1.1, 00:29:19
B 192.168.41.0/24 [20/0] via 11.1.1.1, 00:29:19
C 192.168.21.0/24 is directly connected, Loopback11
C 192.168.20.0/24 is directly connected, Loopback10
11.0.0.0/24 is subnetted, 1 subnets
C 11.1.1.0 is directly connected, FastEthernet1/0
C 192.168.22.0/24 is directly connected, Loopback12
C 192.168.2.0/24 is directly connected, FastEthernet0/0
GuZ-CE2#
BeJ-CE1#sh ip bgp
BGP table version is 11, local router ID is 192.168.32.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
BGP table version is 11, local router ID is 192.168.32.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/24 10.2.1.1 0 200 100 i
*> 10.2.1.0/24 10.2.1.1 0 0 200 i
*> 192.168.1.0 10.2.1.1 0 200 100 200 i
*> 192.168.3.0 0.0.0.0 0 32768 i
*> 192.168.10.0 10.2.1.1 0 200 100 200 i
*> 192.168.11.0 10.2.1.1 0 200 100 200 i
*> 192.168.12.0 10.2.1.1 0 200 100 200 i
*> 192.168.30.0 0.0.0.0 0 32768 i
*> 192.168.31.0 0.0.0.0 0 32768 i
*> 192.168.32.0 0.0.0.0 0 32768 i
BeJ-CE1#sh 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, P - periodic downloaded static route
*> 10.1.1.0/24 10.2.1.1 0 200 100 i
*> 10.2.1.0/24 10.2.1.1 0 0 200 i
*> 192.168.1.0 10.2.1.1 0 200 100 200 i
*> 192.168.3.0 0.0.0.0 0 32768 i
*> 192.168.10.0 10.2.1.1 0 200 100 200 i
*> 192.168.11.0 10.2.1.1 0 200 100 200 i
*> 192.168.12.0 10.2.1.1 0 200 100 200 i
*> 192.168.30.0 0.0.0.0 0 32768 i
*> 192.168.31.0 0.0.0.0 0 32768 i
*> 192.168.32.0 0.0.0.0 0 32768 i
BeJ-CE1#sh 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, P - periodic downloaded static route
Gateway of last resort is not set
B 192.168.12.0/24 [20/0] via 10.2.1.1, 00:27:33
C 192.168.31.0/24 is directly connected, Loopback21
C 192.168.30.0/24 is directly connected, Loopback20
B 192.168.10.0/24 [20/0] via 10.2.1.1, 00:27:33
B 192.168.11.0/24 [20/0] via 10.2.1.1, 00:27:33
10.0.0.0/24 is subnetted, 2 subnets
C 10.2.1.0 is directly connected, FastEthernet1/0
B 10.1.1.0 [20/0] via 10.2.1.1, 00:27:33
B 192.168.1.0/24 [20/0] via 10.2.1.1, 00:27:33
C 192.168.32.0/24 is directly connected, Loopback22
C 192.168.3.0/24 is directly connected, FastEthernet0/0
C 192.168.31.0/24 is directly connected, Loopback21
C 192.168.30.0/24 is directly connected, Loopback20
B 192.168.10.0/24 [20/0] via 10.2.1.1, 00:27:33
B 192.168.11.0/24 [20/0] via 10.2.1.1, 00:27:33
10.0.0.0/24 is subnetted, 2 subnets
C 10.2.1.0 is directly connected, FastEthernet1/0
B 10.1.1.0 [20/0] via 10.2.1.1, 00:27:33
B 192.168.1.0/24 [20/0] via 10.2.1.1, 00:27:33
C 192.168.32.0/24 is directly connected, Loopback22
C 192.168.3.0/24 is directly connected, FastEthernet0/0
BeJ-CE2#sh ip bgp
BGP table version is 8, local router ID is 192.168.42.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
BGP table version is 8, local router ID is 192.168.42.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 192.168.2.0 11.2.1.1 0 200 100 200 i
*> 192.168.20.0 11.2.1.1 0 200 100 200 i
*> 192.168.21.0 11.2.1.1 0 200 100 200 i
*> 192.168.22.0 11.2.1.1 0 200 100 200 i
*> 192.168.40.0 0.0.0.0 0 32768 i
*> 192.168.41.0 0.0.0.0 0 32768 i
*> 192.168.42.0 0.0.0.0 0 32768 i
BeJ-CE2#sh 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, P - periodic downloaded static route
*> 192.168.2.0 11.2.1.1 0 200 100 200 i
*> 192.168.20.0 11.2.1.1 0 200 100 200 i
*> 192.168.21.0 11.2.1.1 0 200 100 200 i
*> 192.168.22.0 11.2.1.1 0 200 100 200 i
*> 192.168.40.0 0.0.0.0 0 32768 i
*> 192.168.41.0 0.0.0.0 0 32768 i
*> 192.168.42.0 0.0.0.0 0 32768 i
BeJ-CE2#sh 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, P - periodic downloaded static route
Gateway of last resort is not set
C 192.168.42.0/24 is directly connected, Loopback22
C 192.168.40.0/24 is directly connected, Loopback20
C 192.168.41.0/24 is directly connected, Loopback21
C 192.168.4.0/24 is directly connected, FastEthernet0/0
B 192.168.21.0/24 [20/0] via 11.2.1.1, 00:27:52
B 192.168.20.0/24 [20/0] via 11.2.1.1, 00:27:52
11.0.0.0/24 is subnetted, 1 subnets
C 11.2.1.0 is directly connected, FastEthernet1/0
B 192.168.22.0/24 [20/0] via 11.2.1.1, 00:27:52
B 192.168.2.0/24 [20/0] via 11.2.1.1, 00:27:52
C 192.168.40.0/24 is directly connected, Loopback20
C 192.168.41.0/24 is directly connected, Loopback21
C 192.168.4.0/24 is directly connected, FastEthernet0/0
B 192.168.21.0/24 [20/0] via 11.2.1.1, 00:27:52
B 192.168.20.0/24 [20/0] via 11.2.1.1, 00:27:52
11.0.0.0/24 is subnetted, 1 subnets
C 11.2.1.0 is directly connected, FastEthernet1/0
B 192.168.22.0/24 [20/0] via 11.2.1.1, 00:27:52
B 192.168.2.0/24 [20/0] via 11.2.1.1, 00:27:52
GuZ-CE1#traceroute
Protocol [ip]:
Target IP address: 192.168.3.1
Source address: 192.168.1.1
Numeric display [n]:
Timeout in seconds [3]:
Probe count [3]:
Minimum Time to Live [1]:
Maximum Time to Live [30]:
Port Number [33434]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Type escape sequence to abort.
Tracing the route to 192.168.3.1
Protocol [ip]:
Target IP address: 192.168.3.1
Source address: 192.168.1.1
Numeric display [n]:
Timeout in seconds [3]:
Probe count [3]:
Minimum Time to Live [1]:
Maximum Time to Live [30]:
Port Number [33434]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Type escape sequence to abort.
Tracing the route to 192.168.3.1
1 10.1.1.1 [AS 100] 144 msec 48 msec 72 msec
2 172.16.12.2 576 msec 360 msec 432 msec
3 172.16.23.3 768 msec 552 msec 784 msec
4 172.16.34.4 560 msec 640 msec 432 msec
5 172.16.45.5 576 msec 432 msec 520 msec
6 10.2.1.1 [AS 200] 408 msec 448 msec 540 msec
7 10.2.1.2 [AS 200] 452 msec 576 msec *
GuZ-CE1#
2 172.16.12.2 576 msec 360 msec 432 msec
3 172.16.23.3 768 msec 552 msec 784 msec
4 172.16.34.4 560 msec 640 msec 432 msec
5 172.16.45.5 576 msec 432 msec 520 msec
6 10.2.1.1 [AS 200] 408 msec 448 msec 540 msec
7 10.2.1.2 [AS 200] 452 msec 576 msec *
GuZ-CE1#
GuZ-C1#sh 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
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
200.1.1.0/32 is subnetted, 3 subnets
O 200.1.1.1 [110/2] via 172.16.12.1, 01:25:27, FastEthernet1/0
C 200.1.1.2 is directly connected, Loopback0
O 200.1.1.3 [110/2] via 172.16.23.3, 01:25:27, FastEthernet2/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.23.0 is directly connected, FastEthernet2/0
C 172.16.12.0 is directly connected, FastEthernet1/0
O 200.1.1.1 [110/2] via 172.16.12.1, 01:25:27, FastEthernet1/0
C 200.1.1.2 is directly connected, Loopback0
O 200.1.1.3 [110/2] via 172.16.23.3, 01:25:27, FastEthernet2/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.23.0 is directly connected, FastEthernet2/0
C 172.16.12.0 is directly connected, FastEthernet1/0
GuZ-C1#sh mpls forwarding-table
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
200 Pop tag 200.1.1.3/32 9036 Fa2/0 172.16.23.3
201 Pop tag 200.1.1.1/32 10824 Fa1/0 172.16.12.1
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
200 Pop tag 200.1.1.3/32 9036 Fa2/0 172.16.23.3
201 Pop tag 200.1.1.1/32 10824 Fa1/0 172.16.12.1
BeJ-C1#sh 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
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
200.1.1.0/32 is subnetted, 3 subnets
O 200.1.1.4 [110/2] via 172.16.45.4, 01:25:36, FastEthernet2/0
C 200.1.1.5 is directly connected, Loopback0
O 200.1.1.6 [110/2] via 172.16.56.6, 01:25:36, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.56.0 is directly connected, FastEthernet1/0
C 172.16.45.0 is directly connected, FastEthernet2/0
BeJ-C1#
O 200.1.1.4 [110/2] via 172.16.45.4, 01:25:36, FastEthernet2/0
C 200.1.1.5 is directly connected, Loopback0
O 200.1.1.6 [110/2] via 172.16.56.6, 01:25:36, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.56.0 is directly connected, FastEthernet1/0
C 172.16.45.0 is directly connected, FastEthernet2/0
BeJ-C1#
BeJ-C1#sh mpls forwarding-table
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
500 Pop tag 200.1.1.4/32 9552 Fa2/0 172.16.45.4
501 Pop tag 200.1.1.6/32 10308 Fa1/0 172.16.56.6
--------------------------------------------------------------------------------------------
GuZ-PE1#sh ip bgp ***v4 all labels
Network Next Hop In label/Out label
Route Distinguisher: 100:1 (CEA)
10.1.1.0/24 0.0.0.0 103/aggregate(CEA)
10.2.1.0/24 200.1.1.3 nolabel/319
192.168.1.0 10.1.1.2 104/nolabel
192.168.3.0 200.1.1.3 nolabel/305
192.168.10.0 10.1.1.2 105/nolabel
192.168.11.0 10.1.1.2 106/nolabel
192.168.12.0 10.1.1.2 107/nolabel
192.168.30.0 200.1.1.3 nolabel/315
192.168.31.0 200.1.1.3 nolabel/314
192.168.32.0 200.1.1.3 nolabel/313
Route Distinguisher: 100:2 (CEB)
192.168.2.0 11.1.1.2 109/nolabel
192.168.20.0 11.1.1.2 110/nolabel
192.168.21.0 11.1.1.2 111/nolabel
192.168.22.0 11.1.1.2 112/nolabel
192.168.40.0 200.1.1.3 nolabel/318
192.168.41.0 200.1.1.3 nolabel/317
192.168.42.0 200.1.1.3 nolabel/316
Route Distinguisher: 200:1
10.2.1.0/24 200.1.1.3 nolabel/319
192.168.3.0 200.1.1.3 nolabel/305
192.168.30.0 200.1.1.3 nolabel/315
192.168.31.0 200.1.1.3 nolabel/314
192.168.32.0 200.1.1.3 nolabel/313
Route Distinguisher: 200:2
192.168.40.0 200.1.1.3 nolabel/318
192.168.41.0 200.1.1.3 nolabel/317
192.168.42.0 200.1.1.3 nolabel/316
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
500 Pop tag 200.1.1.4/32 9552 Fa2/0 172.16.45.4
501 Pop tag 200.1.1.6/32 10308 Fa1/0 172.16.56.6
--------------------------------------------------------------------------------------------
GuZ-PE1#sh ip bgp ***v4 all labels
Network Next Hop In label/Out label
Route Distinguisher: 100:1 (CEA)
10.1.1.0/24 0.0.0.0 103/aggregate(CEA)
10.2.1.0/24 200.1.1.3 nolabel/319
192.168.1.0 10.1.1.2 104/nolabel
192.168.3.0 200.1.1.3 nolabel/305
192.168.10.0 10.1.1.2 105/nolabel
192.168.11.0 10.1.1.2 106/nolabel
192.168.12.0 10.1.1.2 107/nolabel
192.168.30.0 200.1.1.3 nolabel/315
192.168.31.0 200.1.1.3 nolabel/314
192.168.32.0 200.1.1.3 nolabel/313
Route Distinguisher: 100:2 (CEB)
192.168.2.0 11.1.1.2 109/nolabel
192.168.20.0 11.1.1.2 110/nolabel
192.168.21.0 11.1.1.2 111/nolabel
192.168.22.0 11.1.1.2 112/nolabel
192.168.40.0 200.1.1.3 nolabel/318
192.168.41.0 200.1.1.3 nolabel/317
192.168.42.0 200.1.1.3 nolabel/316
Route Distinguisher: 200:1
10.2.1.0/24 200.1.1.3 nolabel/319
192.168.3.0 200.1.1.3 nolabel/305
192.168.30.0 200.1.1.3 nolabel/315
192.168.31.0 200.1.1.3 nolabel/314
192.168.32.0 200.1.1.3 nolabel/313
Route Distinguisher: 200:2
192.168.40.0 200.1.1.3 nolabel/318
192.168.41.0 200.1.1.3 nolabel/317
192.168.42.0 200.1.1.3 nolabel/316
GuZ-C1#sh ip bgp ***v4 all labels
Network Next Hop In label/Out label
Route Distinguisher: 100:1
10.1.1.0/24 200.1.1.1 nolabel/103
192.168.1.0 200.1.1.1 nolabel/104
192.168.10.0 200.1.1.1 nolabel/105
192.168.11.0 200.1.1.1 nolabel/106
192.168.12.0 200.1.1.1 nolabel/107
Route Distinguisher: 100:2
192.168.2.0 200.1.1.1 nolabel/109
192.168.20.0 200.1.1.1 nolabel/110
192.168.21.0 200.1.1.1 nolabel/111
192.168.22.0 200.1.1.1 nolabel/112
Route Distinguisher: 200:1
10.2.1.0/24 200.1.1.3 nolabel/319
192.168.3.0 200.1.1.3 nolabel/305
192.168.30.0 200.1.1.3 nolabel/315
192.168.31.0 200.1.1.3 nolabel/314
192.168.32.0 200.1.1.3 nolabel/313
Route Distinguisher: 200:2
192.168.40.0 200.1.1.3 nolabel/318
192.168.41.0 200.1.1.3 nolabel/317
192.168.42.0 200.1.1.3 nolabel/316
GuZ-PE2#sh ip bgp ***v4 all labels
Network Next Hop In label/Out label
Route Distinguisher: 100:1
10.1.1.0/24 200.1.1.1 304/103
192.168.1.0 200.1.1.1 323/104
192.168.10.0 200.1.1.1 322/105
192.168.11.0 200.1.1.1 321/106
192.168.12.0 200.1.1.1 320/107
Route Distinguisher: 100:2
192.168.2.0 200.1.1.1 312/109
192.168.20.0 200.1.1.1 311/110
192.168.21.0 200.1.1.1 310/111
192.168.22.0 200.1.1.1 309/112
Route Distinguisher: 200:1
10.2.1.0/24 172.16.34.4 319/410
192.168.3.0 172.16.34.4 305/412
192.168.30.0 172.16.34.4 315/404
192.168.31.0 172.16.34.4 314/405
192.168.32.0 172.16.34.4 313/406
Route Distinguisher: 200:2
192.168.40.0 172.16.34.4 318/407
192.168.41.0 172.16.34.4 317/408
192.168.42.0 172.16.34.4 316/409
BeJ-PE2#sh ip bgp ***v4 all labels
Network Next Hop In label/Out label
Route Distinguisher: 100:1
10.1.1.0/24 172.16.34.3 411/304
192.168.1.0 172.16.34.3 420/323
192.168.10.0 172.16.34.3 421/322
192.168.11.0 172.16.34.3 422/321
192.168.12.0 172.16.34.3 423/320
Route Distinguisher: 100:2
192.168.2.0 172.16.34.3 416/312
192.168.20.0 172.16.34.3 417/311
192.168.21.0 172.16.34.3 418/310
192.168.22.0 172.16.34.3 419/309
Route Distinguisher: 200:1
10.2.1.0/24 200.1.1.6 410/603
10.3.1.0/24 0.0.0.0 nolabel/aggregate(???)
192.168.3.0 200.1.1.6 412/610
192.168.30.0 200.1.1.6 404/604
192.168.31.0 200.1.1.6 405/605
192.168.32.0 200.1.1.6 406/606
Route Distinguisher: 200:2
192.168.40.0 200.1.1.6 407/607
192.168.41.0 200.1.1.6 408/608
192.168.42.0 200.1.1.6 409/609
BeJ-C1#sh ip bgp ***v4 all labels
Network Next Hop In label/Out label
Route Distinguisher: 100:1
10.1.1.0/24 200.1.1.4 nolabel/411
192.168.1.0 200.1.1.4 nolabel/420
192.168.10.0 200.1.1.4 nolabel/421
192.168.11.0 200.1.1.4 nolabel/422
192.168.12.0 200.1.1.4 nolabel/423
Route Distinguisher: 100:2
192.168.2.0 200.1.1.4 nolabel/416
192.168.20.0 200.1.1.4 nolabel/417
192.168.21.0 200.1.1.4 nolabel/418
192.168.22.0 200.1.1.4 nolabel/419
Route Distinguisher: 200:1
10.2.1.0/24 200.1.1.6 nolabel/603
192.168.3.0 200.1.1.6 nolabel/610
192.168.30.0 200.1.1.6 nolabel/604
192.168.31.0 200.1.1.6 nolabel/605
192.168.32.0 200.1.1.6 nolabel/606
Route Distinguisher: 200:2
192.168.40.0 200.1.1.6 nolabel/607
192.168.41.0 200.1.1.6 nolabel/608
192.168.42.0 200.1.1.6 nolabel/609
Network Next Hop In label/Out label
Route Distinguisher: 100:1
10.1.1.0/24 200.1.1.1 nolabel/103
192.168.1.0 200.1.1.1 nolabel/104
192.168.10.0 200.1.1.1 nolabel/105
192.168.11.0 200.1.1.1 nolabel/106
192.168.12.0 200.1.1.1 nolabel/107
Route Distinguisher: 100:2
192.168.2.0 200.1.1.1 nolabel/109
192.168.20.0 200.1.1.1 nolabel/110
192.168.21.0 200.1.1.1 nolabel/111
192.168.22.0 200.1.1.1 nolabel/112
Route Distinguisher: 200:1
10.2.1.0/24 200.1.1.3 nolabel/319
192.168.3.0 200.1.1.3 nolabel/305
192.168.30.0 200.1.1.3 nolabel/315
192.168.31.0 200.1.1.3 nolabel/314
192.168.32.0 200.1.1.3 nolabel/313
Route Distinguisher: 200:2
192.168.40.0 200.1.1.3 nolabel/318
192.168.41.0 200.1.1.3 nolabel/317
192.168.42.0 200.1.1.3 nolabel/316
GuZ-PE2#sh ip bgp ***v4 all labels
Network Next Hop In label/Out label
Route Distinguisher: 100:1
10.1.1.0/24 200.1.1.1 304/103
192.168.1.0 200.1.1.1 323/104
192.168.10.0 200.1.1.1 322/105
192.168.11.0 200.1.1.1 321/106
192.168.12.0 200.1.1.1 320/107
Route Distinguisher: 100:2
192.168.2.0 200.1.1.1 312/109
192.168.20.0 200.1.1.1 311/110
192.168.21.0 200.1.1.1 310/111
192.168.22.0 200.1.1.1 309/112
Route Distinguisher: 200:1
10.2.1.0/24 172.16.34.4 319/410
192.168.3.0 172.16.34.4 305/412
192.168.30.0 172.16.34.4 315/404
192.168.31.0 172.16.34.4 314/405
192.168.32.0 172.16.34.4 313/406
Route Distinguisher: 200:2
192.168.40.0 172.16.34.4 318/407
192.168.41.0 172.16.34.4 317/408
192.168.42.0 172.16.34.4 316/409
BeJ-PE2#sh ip bgp ***v4 all labels
Network Next Hop In label/Out label
Route Distinguisher: 100:1
10.1.1.0/24 172.16.34.3 411/304
192.168.1.0 172.16.34.3 420/323
192.168.10.0 172.16.34.3 421/322
192.168.11.0 172.16.34.3 422/321
192.168.12.0 172.16.34.3 423/320
Route Distinguisher: 100:2
192.168.2.0 172.16.34.3 416/312
192.168.20.0 172.16.34.3 417/311
192.168.21.0 172.16.34.3 418/310
192.168.22.0 172.16.34.3 419/309
Route Distinguisher: 200:1
10.2.1.0/24 200.1.1.6 410/603
10.3.1.0/24 0.0.0.0 nolabel/aggregate(???)
192.168.3.0 200.1.1.6 412/610
192.168.30.0 200.1.1.6 404/604
192.168.31.0 200.1.1.6 405/605
192.168.32.0 200.1.1.6 406/606
Route Distinguisher: 200:2
192.168.40.0 200.1.1.6 407/607
192.168.41.0 200.1.1.6 408/608
192.168.42.0 200.1.1.6 409/609
BeJ-C1#sh ip bgp ***v4 all labels
Network Next Hop In label/Out label
Route Distinguisher: 100:1
10.1.1.0/24 200.1.1.4 nolabel/411
192.168.1.0 200.1.1.4 nolabel/420
192.168.10.0 200.1.1.4 nolabel/421
192.168.11.0 200.1.1.4 nolabel/422
192.168.12.0 200.1.1.4 nolabel/423
Route Distinguisher: 100:2
192.168.2.0 200.1.1.4 nolabel/416
192.168.20.0 200.1.1.4 nolabel/417
192.168.21.0 200.1.1.4 nolabel/418
192.168.22.0 200.1.1.4 nolabel/419
Route Distinguisher: 200:1
10.2.1.0/24 200.1.1.6 nolabel/603
192.168.3.0 200.1.1.6 nolabel/610
192.168.30.0 200.1.1.6 nolabel/604
192.168.31.0 200.1.1.6 nolabel/605
192.168.32.0 200.1.1.6 nolabel/606
Route Distinguisher: 200:2
192.168.40.0 200.1.1.6 nolabel/607
192.168.41.0 200.1.1.6 nolabel/608
192.168.42.0 200.1.1.6 nolabel/609
BeJ-PE1#sh ip bgp ***v4 all labels
Network Next Hop In label/Out label
Route Distinguisher: 100:1
10.1.1.0/24 200.1.1.4 nolabel/411
192.168.1.0 200.1.1.4 nolabel/420
192.168.10.0 200.1.1.4 nolabel/421
192.168.11.0 200.1.1.4 nolabel/422
192.168.12.0 200.1.1.4 nolabel/423
Route Distinguisher: 100:2
192.168.2.0 200.1.1.4 nolabel/416
192.168.20.0 200.1.1.4 nolabel/417
192.168.21.0 200.1.1.4 nolabel/418
192.168.22.0 200.1.1.4 nolabel/419
Route Distinguisher: 200:1 (CEA)
10.1.1.0/24 200.1.1.4 nolabel/411
10.2.1.0/24 0.0.0.0 603/aggregate(CEA)
192.168.1.0 200.1.1.4 nolabel/420
192.168.3.0 10.2.1.2 610/nolabel
192.168.10.0 200.1.1.4 nolabel/421
192.168.11.0 200.1.1.4 nolabel/422
192.168.12.0 200.1.1.4 nolabel/423
192.168.30.0 10.2.1.2 604/nolabel
192.168.31.0 10.2.1.2 605/nolabel
192.168.32.0 10.2.1.2 606/nolabel
Route Distinguisher: 200:2 (CEB)
192.168.2.0 200.1.1.4 nolabel/416
192.168.20.0 200.1.1.4 nolabel/417
192.168.21.0 200.1.1.4 nolabel/418
192.168.22.0 200.1.1.4 nolabel/419
192.168.40.0 11.2.1.2 607/nolabel
192.168.41.0 11.2.1.2 608/nolabel
192.168.42.0 11.2.1.2 609/nolabel
-----------------------------------------------------------------------------
GuZ-PE1#sh ip route vrf CEA
Network Next Hop In label/Out label
Route Distinguisher: 100:1
10.1.1.0/24 200.1.1.4 nolabel/411
192.168.1.0 200.1.1.4 nolabel/420
192.168.10.0 200.1.1.4 nolabel/421
192.168.11.0 200.1.1.4 nolabel/422
192.168.12.0 200.1.1.4 nolabel/423
Route Distinguisher: 100:2
192.168.2.0 200.1.1.4 nolabel/416
192.168.20.0 200.1.1.4 nolabel/417
192.168.21.0 200.1.1.4 nolabel/418
192.168.22.0 200.1.1.4 nolabel/419
Route Distinguisher: 200:1 (CEA)
10.1.1.0/24 200.1.1.4 nolabel/411
10.2.1.0/24 0.0.0.0 603/aggregate(CEA)
192.168.1.0 200.1.1.4 nolabel/420
192.168.3.0 10.2.1.2 610/nolabel
192.168.10.0 200.1.1.4 nolabel/421
192.168.11.0 200.1.1.4 nolabel/422
192.168.12.0 200.1.1.4 nolabel/423
192.168.30.0 10.2.1.2 604/nolabel
192.168.31.0 10.2.1.2 605/nolabel
192.168.32.0 10.2.1.2 606/nolabel
Route Distinguisher: 200:2 (CEB)
192.168.2.0 200.1.1.4 nolabel/416
192.168.20.0 200.1.1.4 nolabel/417
192.168.21.0 200.1.1.4 nolabel/418
192.168.22.0 200.1.1.4 nolabel/419
192.168.40.0 11.2.1.2 607/nolabel
192.168.41.0 11.2.1.2 608/nolabel
192.168.42.0 11.2.1.2 609/nolabel
-----------------------------------------------------------------------------
GuZ-PE1#sh ip route vrf CEA
Routing Table: CEA
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
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
B 192.168.12.0/24 [20/0] via 10.1.1.2, 00:43:01
B 192.168.31.0/24 [200/0] via 200.1.1.3, 00:45:53
B 192.168.30.0/24 [200/0] via 200.1.1.3, 00:45:53
B 192.168.10.0/24 [20/0] via 10.1.1.2, 00:43:02
B 192.168.11.0/24 [20/0] via 10.1.1.2, 00:43:02
10.0.0.0/24 is subnetted, 2 subnets
B 10.2.1.0 [200/0] via 200.1.1.3, 00:45:53
C 10.1.1.0 is directly connected, FastEthernet1/0
B 192.168.1.0/24 [20/0] via 10.1.1.2, 00:43:02
B 192.168.32.0/24 [200/0] via 200.1.1.3, 00:45:53
B 192.168.3.0/24 [200/0] via 200.1.1.3, 00:33:05
B 192.168.31.0/24 [200/0] via 200.1.1.3, 00:45:53
B 192.168.30.0/24 [200/0] via 200.1.1.3, 00:45:53
B 192.168.10.0/24 [20/0] via 10.1.1.2, 00:43:02
B 192.168.11.0/24 [20/0] via 10.1.1.2, 00:43:02
10.0.0.0/24 is subnetted, 2 subnets
B 10.2.1.0 [200/0] via 200.1.1.3, 00:45:53
C 10.1.1.0 is directly connected, FastEthernet1/0
B 192.168.1.0/24 [20/0] via 10.1.1.2, 00:43:02
B 192.168.32.0/24 [200/0] via 200.1.1.3, 00:45:53
B 192.168.3.0/24 [200/0] via 200.1.1.3, 00:33:05
GuZ-PE2#sh ip route vrf CEA
% IP routing table CEA does not exist
GuZ-PE2#
BeJ-PE2#sh ip route vrf CEA
% IP routing table CEA does not exist
BeJ-PE2#
% IP routing table CEA does not exist
GuZ-PE2#
BeJ-PE2#sh ip route vrf CEA
% IP routing table CEA does not exist
BeJ-PE2#
BeJ-PE1#sh ip route vrf CEA
Routing Table: CEA
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
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
B 192.168.12.0/24 [200/0] via 200.1.1.4, 00:41:07
B 192.168.31.0/24 [20/0] via 10.2.1.2, 01:32:23
B 192.168.30.0/24 [20/0] via 10.2.1.2, 01:32:23
B 192.168.10.0/24 [200/0] via 200.1.1.4, 00:41:07
B 192.168.11.0/24 [200/0] via 200.1.1.4, 00:41:07
10.0.0.0/24 is subnetted, 2 subnets
C 10.2.1.0 is directly connected, FastEthernet1/0
B 10.1.1.0 [200/0] via 200.1.1.4, 00:41:07
B 192.168.1.0/24 [200/0] via 200.1.1.4, 00:41:07
B 192.168.32.0/24 [20/0] via 10.2.1.2, 01:32:23
B 192.168.3.0/24 [20/0] via 10.2.1.2, 00:34:47
BeJ-PE1#
B 192.168.31.0/24 [20/0] via 10.2.1.2, 01:32:23
B 192.168.30.0/24 [20/0] via 10.2.1.2, 01:32:23
B 192.168.10.0/24 [200/0] via 200.1.1.4, 00:41:07
B 192.168.11.0/24 [200/0] via 200.1.1.4, 00:41:07
10.0.0.0/24 is subnetted, 2 subnets
C 10.2.1.0 is directly connected, FastEthernet1/0
B 10.1.1.0 [200/0] via 200.1.1.4, 00:41:07
B 192.168.1.0/24 [200/0] via 200.1.1.4, 00:41:07
B 192.168.32.0/24 [20/0] via 10.2.1.2, 01:32:23
B 192.168.3.0/24 [20/0] via 10.2.1.2, 00:34:47
BeJ-PE1#
GuZ-PE1#ping vrf CEA ip 10.2.1.1 source 10.1.1.1 repeat 10
Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 10.2.1.1, timeout is 2 seconds:
Packet sent with a source address of 10.1.1.1
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 392/561/752 ms
Sending 10, 100-byte ICMP Echos to 10.2.1.1, timeout is 2 seconds:
Packet sent with a source address of 10.1.1.1
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 392/561/752 ms
GuZ-CE1#ping 192.168.3.1 source 192.168.1.1 repeat 10
Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.1.1
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 360/549/792 ms
GuZ-CE1#
Sending 10, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.1.1
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 360/549/792 ms
GuZ-CE1#
转载于:https://blog.51cto.com/jameszhou/159980