MPLS AToM 以太网接入方式
好久没写博客了,闲着无聊,写一篇: 某企业利用运营商MPLS骨干网组网,想要详细了解mpls atom及ospf等相关知识,各位自己查一下资料,这里就不累述了,这里仅给出了设备的配置。
1.场景:某企业总部及几个分支机构租用运营商的MPLS线路组网,全网跑OSPF协议,利用 MPLS 实现点到点的二层服务。配置包括运营商里的设备及总部、分支机构的配置,为了更加接近实际工作情况,分支机构有的采用子接口,有的采用物理接口接入MPLS骨干网。
2.网络拓扑:
上面的拓扑中分支机构2、分子机构3采用子接口方式接入,分子结构4采用主接口接入方式;总部肯定采用子接口接入方式(没啥好说的)。
3.设备配置
R8
R8#show run
Building configuration...
Current configuration : 1934 bytes
!
! Last configuration change at 12:58:11 EET Wed Aug 29 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R8
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EET 2 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
redundancy
!
interface Loopback0
ip address 8.8.8.8 255.255.255.255
ip ospf 1 area 0
ip ospf cost 1
!
interface Ethernet0/0
no ip address
!
interface Ethernet0/0.100
encapsulation dot1Q 100
ip address 48.1.1.8 255.255.255.0
ip ospf hello-interval 1
ip ospf priority 20
ip ospf 1 area 0
ip ospf cost 1
!
interface Ethernet0/0.106
encapsulation dot1Q 106
ip address 16.1.1.8 255.255.255.0
ip ospf hello-interval 1
ip ospf priority 20
ip ospf 1 area 6
ip ospf cost 1
!
interface Ethernet0/0.107
encapsulation dot1Q 107
ip address 17.1.1.8 255.255.255.0
ip ospf hello-interval 1
ip ospf priority 20
ip ospf 1 area 7
ip ospf cost 1
!
interface Ethernet0/0.200
encapsulation dot1Q 200
ip address 200.1.1.8 255.255.255.0
!
!
router ospf 1
router-id 8.8.8.8
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end
R8#show mpls ldp neighbor
R8#show mpls forwarding
no MPLS apps enabled or MPLS not enabled on any interfaces
R8#show mpls forwarding detail
no MPLS apps enabled or MPLS not enabled on any interfaces
R8#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
4.4.4.4 10 FULL/DR 00:00:03 48.1.1.4 Ethernet0/0.100
6.6.6.6 10 FULL/DR 00:00:03 16.1.1.6 Ethernet0/0.106
7.7.7.7 10 FULL/DR 00:00:03 17.1.1.7 Ethernet0/0.107
R8#show ip route
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
4.0.0.0/32 is subnetted, 1 subnets
O 4.4.4.4 [110/2] via 48.1.1.4, 00:12:30, Ethernet0/0.100
6.0.0.0/32 is subnetted, 1 subnets
O 6.6.6.6 [110/2] via 16.1.1.6, 00:12:30, Ethernet0/0.106
7.0.0.0/32 is subnetted, 1 subnets
O 7.7.7.7 [110/2] via 17.1.1.7, 00:12:30, Ethernet0/0.107
8.0.0.0/32 is subnetted, 1 subnets
C 8.8.8.8 is directly connected, Loopback0
16.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 16.1.1.0/24 is directly connected, Ethernet0/0.106
L 16.1.1.8/32 is directly connected, Ethernet0/0.106
17.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 17.1.1.0/24 is directly connected, Ethernet0/0.107
L 17.1.1.8/32 is directly connected, Ethernet0/0.107
48.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 48.1.1.0/24 is directly connected, Ethernet0/0.100
L 48.1.1.8/32 is directly connected, Ethernet0/0.100
200.1.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 200.1.1.0/24 is directly connected, Ethernet0/0.200
L 200.1.1.8/32 is directly connected, Ethernet0/0.200
R8#wr
Building configuration...
[OK]
R8#
R8#
R8#
R8#
R8#show cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
R7-SiteB Eth 0/0.107 167 R B Linux Uni Eth 0/0
R1-PE Eth 0/0 163 R B Linux Uni Eth 0/0
Total cdp entries displayed : 2
================
R1-PE:
R1-PE#show run
Building configuration...
Current configuration : 1844 bytes
!
! Last configuration change at 13:04:37 EET Wed Aug 29 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1-PE
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EET 2 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
mpls label range 100 199
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
ip ospf 1 area 0
ip ospf cost 1
!
interface Ethernet0/0
no ip address
!
interface Ethernet0/0.100
encapsulation dot1Q 100
xconnect 3.3.3.3 100 encapsulation mpls
!
interface Ethernet0/0.106
encapsulation dot1Q 106
xconnect 3.3.3.3 106 encapsulation mpls
!
interface Ethernet0/0.107
encapsulation dot1Q 107
xconnect 3.3.3.3 107 encapsulation mpls
!
interface Ethernet0/0.200
encapsulation dot1Q 200
xconnect 3.3.3.3 200 encapsulation mpls
!
interface Serial1/0
mtu 1547
ip address 12.1.1.1 255.255.255.0
ip ospf hello-interval 1
ip ospf 1 area 0
mpls ip
serial restart-delay 0
!
router ospf 1
router-id 1.1.1.1
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-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
transport input none
!
!
end
R1-PE#show mpls ldp neighbor
Peer LDP Ident: 2.2.2.2:0; Local LDP Ident 1.1.1.1:0
TCP connection: 2.2.2.2.37331 - 1.1.1.1.646
State: Oper; Msgs sent/rcvd: 263/269; Downstream
Up time: 03:39:05
LDP discovery sources:
Serial1/0, Src IP addr: 12.1.1.2
Addresses bound to peer LDP Ident:
12.1.1.2 2.2.2.2 23.1.1.2
Peer LDP Ident: 3.3.3.3:0; Local LDP Ident 1.1.1.1:0
TCP connection: 3.3.3.3.21406 - 1.1.1.1.646
State: Oper; Msgs sent/rcvd: 86/81; Downstream
Up time: 00:59:28
LDP discovery sources:
Targeted Hello 1.1.1.1 -> 3.3.3.3, active, passive
Addresses bound to peer LDP Ident:
23.1.1.3 3.3.3.3
R1-PE#show mpls forwarding
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
100 Pop Label 2.2.2.2/32 0 Se1/0 point2point
101 No Label l2ckt(106) 295463 Et0/0.106 point2point
102 No Label l2ckt(107) 122929 Et0/0.107 point2point
103 No Label l2ckt(100) 267250 Et0/0.100 point2point
104 No Label l2ckt(200) 234 Et0/0.200 point2point
105 202 3.3.3.3/32 0 Se1/0 point2point
106 Pop Label 23.1.1.0/24 0 Se1/0 point2point
R1-PE#show mpls forwarding detail
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
100 Pop Label 2.2.2.2/32 0 Se1/0 point2point
MAC/Encaps=4/4, MRU=1551, Label Stack{}
0F008847
No output feature configured
101 No Label l2ckt(106) 295463 Et0/0.106 point2point
MAC/Encaps=0/0, MRU=0, Label Stack{}
No output feature configured
102 No Label l2ckt(107) 122929 Et0/0.107 point2point
MAC/Encaps=0/0, MRU=0, Label Stack{}
No output feature configured
103 No Label l2ckt(100) 267250 Et0/0.100 point2point
MAC/Encaps=0/0, MRU=0, Label Stack{}
No output feature configured
104 No Label l2ckt(200) 234 Et0/0.200 point2point
MAC/Encaps=0/0, MRU=0, Label Stack{}
No output feature configured
105 202 3.3.3.3/32 0 Se1/0 point2point
MAC/Encaps=4/8, MRU=1547, Label Stack{202}
0F008847 000CA000
No output feature configured
106 Pop Label 23.1.1.0/24 0 Se1/0 point2point
MAC/Encaps=4/4, MRU=1551, Label Stack{}
0F008847
No output feature configured
R1-PE#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 0 FULL/ - 00:00:03 12.1.1.2 Serial1/0
R1-PE#show ip route
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/65] via 12.1.1.2, 03:54:55, Serial1/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/129] via 12.1.1.2, 00:59:33, Serial1/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.1.1.0/24 is directly connected, Serial1/0
L 12.1.1.1/32 is directly connected, Serial1/0
23.0.0.0/24 is subnetted, 1 subnets
O 23.1.1.0 [110/128] via 12.1.1.2, 00:59:33, Serial1/0
R1-PE#wr
Building configuration...
[OK]
R1-PE#
R1-PE#
R1-PE#
R1-PE#
R1-PE#show cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
R2-RR Ser 1/0 171 R B Linux Uni Ser 1/0
R8 Eth 0/0 156 R B Linux Uni Eth 0/0
Total cdp entries displayed : 2
R1-PE#show mpls l2transport vc 100
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
Et0/0.100 Eth VLAN 100 3.3.3.3 100 UP
R1-PE#show mpls l2transport vc 200
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
Et0/0.200 Eth VLAN 200 3.3.3.3 200 UP
R1-PE#show mpls l2transport vc 106
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
Et0/0.106 Eth VLAN 106 3.3.3.3 106 UP
R1-PE#show mpls l2transport vc 107
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
Et0/0.107 Eth VLAN 107 3.3.3.3 107 UP
R1-PE#show xconnect all
Legend: XC ST=Xconnect State S1=Segment1 State S2=Segment2 State
UP=Up DN=Down AD=Admin Down IA=Inactive
SB=Standby HS=Hot Standby RV=Recovering NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
UP pri ac Et0/0.100:100(Eth VLAN) UP mpls 3.3.3.3:100 UP
UP pri ac Et0/0.106:106(Eth VLAN) UP mpls 3.3.3.3:106 UP
UP pri ac Et0/0.107:107(Eth VLAN) UP mpls 3.3.3.3:107 UP
UP pri ac Et0/0.200:200(Eth VLAN) UP mpls 3.3.3.3:200 UP
R1-PE#
====================================
R2-RR:
R2-RR#show run
Building configuration...
Current configuration : 1551 bytes
!
! Last configuration change at 11:57:16 EET Wed Aug 29 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2-RR
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EET 2 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
mpls label range 200 299
!
!
!
!
redundancy
!
!
!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip ospf 1 area 0
ip ospf cost 1
!
interface Serial1/0
mtu 1547
ip address 12.1.1.2 255.255.255.0
ip ospf hello-interval 1
ip ospf 1 area 0
mpls ip
serial restart-delay 0
!
interface Serial1/1
mtu 1547
ip address 23.1.1.2 255.255.255.0
ip ospf hello-interval 1
ip ospf 1 area 0
mpls ip
serial restart-delay 0
!
!
router ospf 1
router-id 2.2.2.2
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-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
transport input none
!
!
end
R2-RR#show mpls ldp neighbor
Peer LDP Ident: 1.1.1.1:0; Local LDP Ident 2.2.2.2:0
TCP connection: 1.1.1.1.646 - 2.2.2.2.37331
State: Oper; Msgs sent/rcvd: 269/263; Downstream
Up time: 03:39:09
LDP discovery sources:
Serial1/0, Src IP addr: 12.1.1.1
Addresses bound to peer LDP Ident:
12.1.1.1 1.1.1.1
Peer LDP Ident: 3.3.3.3:0; Local LDP Ident 2.2.2.2:0
TCP connection: 3.3.3.3.33525 - 2.2.2.2.646
State: Oper; Msgs sent/rcvd: 75/76; Downstream
Up time: 00:59:34
LDP discovery sources:
Serial1/1, Src IP addr: 23.1.1.3
Addresses bound to peer LDP Ident:
23.1.1.3 3.3.3.3
R2-RR#show mpls forwarding
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
200 Pop Label 1.1.1.1/32 1041254 Se1/0 point2point
202 Pop Label 3.3.3.3/32 786160 Se1/1 point2point
R2-RR#show mpls forwarding detail
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
200 Pop Label 1.1.1.1/32 1041254 Se1/0 point2point
MAC/Encaps=4/4, MRU=1551, Label Stack{}
0F008847
No output feature configured
202 Pop Label 3.3.3.3/32 786160 Se1/1 point2point
MAC/Encaps=4/4, MRU=1551, Label Stack{}
0F008847
No output feature configured
R2-RR#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 0 FULL/ - 00:00:03 23.1.1.3 Serial1/1
1.1.1.1 0 FULL/ - 00:00:03 12.1.1.1 Serial1/0
R2-RR#show ip route
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/65] via 12.1.1.1, 03:55:31, Serial1/0
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/65] via 23.1.1.3, 00:59:37, Serial1/1
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.1.1.0/24 is directly connected, Serial1/0
L 12.1.1.2/32 is directly connected, Serial1/0
23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 23.1.1.0/24 is directly connected, Serial1/1
L 23.1.1.2/32 is directly connected, Serial1/1
R2-RR#wr
Building configuration...
[OK]
R2-RR#
R2-RR#
R2-RR#
R2-RR#
R2-RR#show cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
R3-PE Ser 1/1 139 R B Linux Uni Ser 1/1
R1-PE Ser 1/0 148 R B Linux Uni Ser 1/0
Total cdp entries displayed : 2
==========================================
R3-PE:
R3-PE#show run
Building configuration...
Current configuration : 1801 bytes
!
! Last configuration change at 13:03:11 EET Wed Aug 29 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3-PE
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EET 2 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
!
!
!
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
mpls label range 300 399
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
ip ospf 1 area 0
ip ospf cost 1
!
interface Ethernet0/0
no ip address
no cdp enable
!
interface Ethernet0/0.100
encapsulation dot1Q 100
xconnect 1.1.1.1 100 encapsulation mpls
!
interface Ethernet0/0.200
encapsulation dot1Q 200
xconnect 1.1.1.1 200 encapsulation mpls
!
interface Ethernet0/1
no ip address
no cdp enable
!
interface Ethernet0/1.106
encapsulation dot1Q 106
xconnect 1.1.1.1 106 encapsulation mpls
!
interface Ethernet0/2
no ip address
xconnect 1.1.1.1 107 encapsulation mpls
!
interface Ethernet0/3
no ip address
shutdown
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
mtu 1547
ip address 23.1.1.3 255.255.255.0
ip ospf hello-interval 1
ip ospf 1 area 0
mpls ip
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
router-id 3.3.3.3
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-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
transport input none
!
!
end
R3-PE#show mpls ldp neighbor
Peer LDP Ident: 2.2.2.2:0; Local LDP Ident 3.3.3.3:0
TCP connection: 2.2.2.2.646 - 3.3.3.3.33525
State: Oper; Msgs sent/rcvd: 76/75; Downstream
Up time: 00:59:47
LDP discovery sources:
Serial1/1, Src IP addr: 23.1.1.2
Addresses bound to peer LDP Ident:
12.1.1.2 2.2.2.2 23.1.1.2
Peer LDP Ident: 1.1.1.1:0; Local LDP Ident 3.3.3.3:0
TCP connection: 1.1.1.1.646 - 3.3.3.3.21406
State: Oper; Msgs sent/rcvd: 82/86; Downstream
Up time: 00:59:45
LDP discovery sources:
Targeted Hello 3.3.3.3 -> 1.1.1.1, active, passive
Addresses bound to peer LDP Ident:
12.1.1.1 1.1.1.1
R3-PE#show mpls forwarding
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
300 No Label l2ckt(100) 290232 Et0/0.100 point2point
301 No Label l2ckt(200) 90 Et0/0.200 point2point
302 Pop Label 2.2.2.2/32 0 Se1/1 point2point
303 200 1.1.1.1/32 0 Se1/1 point2point
304 Pop Label 12.1.1.0/24 0 Se1/1 point2point
305 No Label l2ckt(106) 287908 Et0/1.106 point2point
307 No Label l2ckt(107) 91002 Et0/2 point2point
R3-PE#show mpls forwarding detail
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
300 No Label l2ckt(100) 290232 Et0/0.100 point2point
MAC/Encaps=0/0, MRU=0, Label Stack{}
No output feature configured
301 No Label l2ckt(200) 90 Et0/0.200 point2point
MAC/Encaps=0/0, MRU=0, Label Stack{}
No output feature configured
302 Pop Label 2.2.2.2/32 0 Se1/1 point2point
MAC/Encaps=4/4, MRU=1551, Label Stack{}
0F008847
No output feature configured
303 200 1.1.1.1/32 0 Se1/1 point2point
MAC/Encaps=4/8, MRU=1547, Label Stack{200}
0F008847 000C8000
No output feature configured
304 Pop Label 12.1.1.0/24 0 Se1/1 point2point
MAC/Encaps=4/4, MRU=1551, Label Stack{}
0F008847
No output feature configured
305 No Label l2ckt(106) 287908 Et0/1.106 point2point
MAC/Encaps=0/0, MRU=0, Label Stack{}
No output feature configured
307 No Label l2ckt(107) 91002 Et0/2 point2point
MAC/Encaps=0/0, MRU=0, Label Stack{}
No output feature configured
R3-PE#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 0 FULL/ - 00:00:03 23.1.1.2 Serial1/1
R3-PE#show ip route
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/129] via 23.1.1.2, 00:59:47, Serial1/1
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/65] via 23.1.1.2, 00:59:47, Serial1/1
3.0.0.0/32 is subnetted, 1 subnets
C 3.3.3.3 is directly connected, Loopback0
12.0.0.0/24 is subnetted, 1 subnets
O 12.1.1.0 [110/128] via 23.1.1.2, 00:59:47, Serial1/1
23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 23.1.1.0/24 is directly connected, Serial1/1
L 23.1.1.3/32 is directly connected, Serial1/1
R3-PE#wr
Building configuration...
[OK]
R3-PE#
R3-PE#
R3-PE#
R3-PE#
R3-PE#show cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
R2-RR Ser 1/1 147 R B Linux Uni Ser 1/1
Total cdp entries displayed : 1
R3-PE#show xconnect all
Legend: XC ST=Xconnect State S1=Segment1 State S2=Segment2 State
UP=Up DN=Down AD=Admin Down IA=Inactive
SB=Standby HS=Hot Standby RV=Recovering NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
UP pri ac Et0/0.100:100(Eth VLAN) UP mpls 1.1.1.1:100 UP
UP pri ac Et0/0.200:200(Eth VLAN) UP mpls 1.1.1.1:200 UP
UP pri ac Et0/1.106:106(Eth VLAN) UP mpls 1.1.1.1:106 UP
UP pri ac Et0/2:5(Ethernet) UP mpls 1.1.1.1:107 UP
R3-PE#show mpl
R3-PE#show mpls xc
R3-PE#show mpls xcc
R3-PE#show mpls l2
R3-PE#show mpls l2transport vv
R3-PE#show mpls l2transport vc
R3-PE#show mpls l2transport vc 100
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
Et0/0.100 Eth VLAN 100 1.1.1.1 100 UP
R3-PE#show mpls l2transport vc 200
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
Et0/0.200 Eth VLAN 200 1.1.1.1 200 UP
R3-PE#show mpls l2transport vc 106
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
Et0/1.106 Eth VLAN 106 1.1.1.1 106 UP
R3-PE#show mpls l2transport vc 107
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
Et0/2 Ethernet 1.1.1.1 107 UP
R3-PE#
==========================
R4-CE:
R4-CE#show run
Building configuration...
Current configuration : 1599 bytes
!
! Last configuration change at 12:59:20 EET Wed Aug 29 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4-CE
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EET 2 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
!
!
!
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 4.4.4.4 255.255.255.255
ip ospf 1 area 0
ip ospf cost 1
!
interface Ethernet0/0
no ip address
!
interface Ethernet0/0.100
encapsulation dot1Q 100
ip address 48.1.1.4 255.255.255.0
ip ospf hello-interval 1
ip ospf priority 10
ip ospf 1 area 0
ip ospf cost 1
!
interface Ethernet0/0.200
encapsulation dot1Q 200
ip address 200.1.1.4 255.255.255.0
!
interface Ethernet0/1
no ip address
shutdown
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
no ip address
shutdown
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
router-id 4.4.4.4
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end
R4-CE#show mpls ldp neighbor
R4-CE#show mpls forwarding
no MPLS apps enabled or MPLS not enabled on any interfaces
R4-CE#show mpls forwarding detail
no MPLS apps enabled or MPLS not enabled on any interfaces
R4-CE#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
8.8.8.8 20 FULL/BDR 00:00:03 48.1.1.8 Ethernet0/0.100
R4-CE#show ip route
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
4.0.0.0/32 is subnetted, 1 subnets
C 4.4.4.4 is directly connected, Loopback0
6.0.0.0/32 is subnetted, 1 subnets
O IA 6.6.6.6 [110/3] via 48.1.1.8, 00:12:52, Ethernet0/0.100
7.0.0.0/32 is subnetted, 1 subnets
O IA 7.7.7.7 [110/3] via 48.1.1.8, 00:12:52, Ethernet0/0.100
8.0.0.0/32 is subnetted, 1 subnets
O 8.8.8.8 [110/2] via 48.1.1.8, 00:12:52, Ethernet0/0.100
16.0.0.0/24 is subnetted, 1 subnets
O IA 16.1.1.0 [110/2] via 48.1.1.8, 00:12:52, Ethernet0/0.100
17.0.0.0/24 is subnetted, 1 subnets
O IA 17.1.1.0 [110/2] via 48.1.1.8, 00:12:52, Ethernet0/0.100
48.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 48.1.1.0/24 is directly connected, Ethernet0/0.100
L 48.1.1.4/32 is directly connected, Ethernet0/0.100
200.1.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 200.1.1.0/24 is directly connected, Ethernet0/0.200
L 200.1.1.4/32 is directly connected, Ethernet0/0.200
R4-CE#wr
Building configuration...
[OK]
R4-CE#
R4-CE#
R4-CE#
R4-CE#
R4-CE#show cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
Total cdp entries displayed : 0
==========================
R6-SiteA:
R6-SiteA#terminal length 0
R6-SiteA#show run
Building configuration...
Current configuration : 1229 bytes
!
! Last configuration change at 12:58:56 EET Wed Aug 29 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R6-SiteA
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EET 2 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
!
!
!
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 6.6.6.6 255.255.255.255
ip ospf 1 area 6
ip ospf cost 1
!
interface Ethernet0/0
no ip address
!
interface Ethernet0/0.106
encapsulation dot1Q 106
ip address 16.1.1.6 255.255.255.0
ip ospf hello-interval 1
ip ospf priority 10
ip ospf 1 area 6
ip ospf cost 1
!
router ospf 1
router-id 6.6.6.6
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end
R6-SiteA#show mpls ldp neighbor
R6-SiteA#show mpls forwarding
no MPLS apps enabled or MPLS not enabled on any interfaces
R6-SiteA#show mpls forwarding detail
no MPLS apps enabled or MPLS not enabled on any interfaces
R6-SiteA#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
8.8.8.8 20 FULL/BDR 00:00:03 16.1.1.8 Ethernet0/0.106
R6-SiteA#show ip route
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
4.0.0.0/32 is subnetted, 1 subnets
O IA 4.4.4.4 [110/3] via 16.1.1.8, 00:13:00, Ethernet0/0.106
6.0.0.0/32 is subnetted, 1 subnets
C 6.6.6.6 is directly connected, Loopback0
7.0.0.0/32 is subnetted, 1 subnets
O IA 7.7.7.7 [110/3] via 16.1.1.8, 00:13:00, Ethernet0/0.106
8.0.0.0/32 is subnetted, 1 subnets
O IA 8.8.8.8 [110/2] via 16.1.1.8, 00:13:00, Ethernet0/0.106
16.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 16.1.1.0/24 is directly connected, Ethernet0/0.106
L 16.1.1.6/32 is directly connected, Ethernet0/0.106
17.0.0.0/24 is subnetted, 1 subnets
O IA 17.1.1.0 [110/2] via 16.1.1.8, 00:13:00, Ethernet0/0.106
48.0.0.0/24 is subnetted, 1 subnets
O IA 48.1.1.0 [110/2] via 16.1.1.8, 00:13:00, Ethernet0/0.106
R6-SiteA#wr
Building configuration...
[OK]
R6-SiteA#
R6-SiteA#
R6-SiteA#
R6-SiteA#
R6-SiteA#show cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
Total cdp entries displayed : 0
=================================
R7-SiteB
R7-SiteB#show run
Building configuration...
Current configuration : 1161 bytes
!
! Last configuration change at 12:59:35 EET Wed Aug 29 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R7-SiteB
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EET 2 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
!
!
!
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!!
!
redundancy
!
!!
!
interface Loopback0
ip address 7.7.7.7 255.255.255.255
ip ospf 1 area 7
ip ospf cost 1
!
interface Ethernet0/0
ip address 17.1.1.7 255.255.255.0
ip ospf hello-interval 1
ip ospf priority 10
ip ospf 1 area 7
ip ospf cost 1
!
router ospf 1
router-id 7.7.7.7
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end
R7-SiteB#show mpls ldp neighbor
R7-SiteB#show mpls forwarding
no MPLS apps enabled or MPLS not enabled on any interfaces
R7-SiteB#show mpls forwarding detail
no MPLS apps enabled or MPLS not enabled on any interfaces
R7-SiteB#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
8.8.8.8 20 FULL/BDR 00:00:03 17.1.1.8 Ethernet0/0
R7-SiteB#show ip route
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
4.0.0.0/32 is subnetted, 1 subnets
O IA 4.4.4.4 [110/3] via 17.1.1.8, 00:13:02, Ethernet0/0
6.0.0.0/32 is subnetted, 1 subnets
O IA 6.6.6.6 [110/3] via 17.1.1.8, 00:13:02, Ethernet0/0
7.0.0.0/32 is subnetted, 1 subnets
C 7.7.7.7 is directly connected, Loopback0
8.0.0.0/32 is subnetted, 1 subnets
O IA 8.8.8.8 [110/2] via 17.1.1.8, 00:13:02, Ethernet0/0
16.0.0.0/24 is subnetted, 1 subnets
O IA 16.1.1.0 [110/2] via 17.1.1.8, 00:13:02, Ethernet0/0
17.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 17.1.1.0/24 is directly connected, Ethernet0/0
L 17.1.1.7/32 is directly connected, Ethernet0/0
48.0.0.0/24 is subnetted, 1 subnets
O IA 48.1.1.0 [110/2] via 17.1.1.8, 00:13:02, Ethernet0/0
R7-SiteB#wr
Building configuration...
[OK]
R7-SiteB#
R7-SiteB#
R7-SiteB#
R7-SiteB#
R7-SiteB#show cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
Total cdp entries displayed : 0
: