R1(config)#int lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config-if)#ip ospf 1 a 0
R1(config-if)#exit
R1(config)#int fa0/0
R1(config-if)#ip add 10.1.12.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#ip ospf 1 a 0
R1(config-if)#exit
R2(config)#int lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.255
R2(config-if)#ip ospf 1 a 0
R2(config-if)#exit
R2(config)#int fa0/0
R2(config-if)#ip add 10.1.12.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#ip ospf 1 a 0
R2(config-if)#exit
R2(config)#int fa1/0
R2(config-if)#ip add 10.1.23.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#ip ospf 1 a 0
R2(config-if)#exit
R3(config)#int lo0
R3(config-if)#ip add 3.3.3.3 255.255.255.255
R3(config-if)#ip ospf 1 a 0
R3(config-if)#exit
R3(config)#int fa0/0
R3(config-if)#ip add 10.1.23.3 255.255.255.0
R3(config-if)#no shut
R3(config-if)#ip ospf 1 a 0
R3(config-if)#exit
R3(config)#int fa1/0
R3(config-if)#ip add 10.1.34.3 255.255.255.0
R3(config-if)#no shut
R3(config-if)#ip ospf 1 a 0
R3(config-if)#exit
R4(config)#int lo0
R4(config-if)#ip add 4.4.4.4 255.255.255.255
R4(config-if)#ip ospf 1 a 0
R4(config-if)#exit
R4(config)#int fa0/0
R4(config-if)#ip add 10.1.34.4 255.255.255.0
R4(config-if)#no shut
R4(config-if)#ip ospf 1 a 0
R4(config-if)#end
R1(config)#mpls label protocol ldp
R1(config)#int fa0/0
R1(config-if)#mpls ip
R1(config-if)#end
R2(config)#mpls label protocol ldp
R2(config)#int fa0/0
R2(config-if)#mpls ip
R2(config-if)#exit
R2(config)#int fa1/0
R2(config-if)#mpls ip
R2(config-if)#end
R3(config)#mpls label protocol ldp
R3(config)#int fa0/0
R3(config-if)#mpls ip
R3(config-if)#exit
R3(config)#int fa1/0
R3(config-if)#mpls ip
R3(config-if)#end
R4(config)#mpls label protocol ldp
R4(config)#int fa0/0
R4(config-if)#mpls ip
R4(config)#end
R1#sho mpls interfaces
Interface
IP Tunnel Operational
FastEthernet0/0
Yes (ldp) No Yes
R1#sho 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.13971 - 1.1.1.1.646
State:
Oper; Msgs sent/rcvd: 11/11; Downstream
Up time:
00:01:33
LDP discovery sources:
FastEthernet0/0, Src IP addr: 10.1.12.2
Addresses
bound to peer LDP Ident:
10.1.12.2 10.1.23.2 2.2.2.2
R2#sho mpls interfaces
Interface
IP Tunnel Operational
FastEthernet0/0
Yes (ldp) No Yes
FastEthernet1/0 Yes (ldp) No
Yes
R2#sho 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.13971
State:
Oper; Msgs sent/rcvd: 24/24; Downstream
Up time:
00:13:22
LDP
discovery sources:
FastEthernet0/0, Src IP addr: 10.1.12.1
Addresses
bound to peer LDP Ident:
10.1.12.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.28922 - 2.2.2.2.646
State:
Oper; Msgs sent/rcvd: 24/24; Downstream
Up time:
00:12:47
LDP
discovery sources:
FastEthernet1/0, Src IP addr: 10.1.23.3
Addresses
bound to peer LDP Ident:
10.1.23.3 10.1.34.3 3.3.3.3
R3#sho mpls interfaces
Interface
IP Tunnel Operational
FastEthernet0/0
Yes (ldp) No Yes
FastEthernet1/0
Yes (ldp) No Yes
R3#sho 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.28922
State:
Oper; Msgs sent/rcvd: 25/25; Downstream
Up time:
00:13:27
LDP
discovery sources:
FastEthernet0/0, Src IP addr: 10.1.23.2
Addresses
bound to peer LDP Ident:
10.1.12.2 10.1.23.2 2.2.2.2
Peer LDP Ident:
4.4.4.4:0; Local LDP Ident 3.3.3.3:0
TCP
connection: 4.4.4.4.37958 - 3.3.3.3.646
State:
Oper; Msgs sent/rcvd: 24/24; Downstream
Up time:
00:13:00
LDP
discovery sources:
FastEthernet1/0, Src IP addr: 10.1.34.4
Addresses
bound to peer LDP Ident:
10.1.34.4 4.4.4.4
R4#sho mpls interfaces
Interface
IP Tunnel Operational
FastEthernet0/0
Yes (ldp) No Yes
R4#sho mpls ldp neighbor
Peer LDP Ident:
3.3.3.3:0; Local LDP Ident 4.4.4.4:0
TCP
connection: 3.3.3.3.646 - 4.4.4.4.37958
State:
Oper; Msgs sent/rcvd: 26/25; Downstream
Up time:
00:14:02
LDP
discovery sources:
FastEthernet0/0, Src IP addr: 10.1.34.3
Addresses
bound to peer LDP Ident:
10.1.23.3 10.1.34.3 3.3.3.3
0 comments:
Post a Comment