You are on page 1of 14

January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

MPLS-VPN Lab Module: 1


(Preliminary Configuration for MPLS)

Khulna-PE (Old hostname: P-1) Preliminary configuration


User Access Verification

Password:xxxxx
P-1>en
Password:xxxxx
P-1# conf t
Enter configuration commands, one per line. End with CNTL/Z.
P-1(config)#hostname Khulna-PE
Khulna-PE(config)#interface GigabitEthernet2/2
Khulna-PE(config-if)# ip address 172.16.16.46 255.255.255.252
Khulna-PE(config-if)#no shut
Khulna-PE(config-if)#end
Khulna-PE#write memory
Building configuration...
[OK]
Khulna-PE#

Information copy only, works as suppliment | 1


January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

Bogra-PE (Old hostname: P-2) Preliminary configuration


User Access Verification

Password:xxxxx
P-1>en
Password:xxxxx
P-1# conf t
Enter configuration commands, one per line. End with CNTL/Z.
P-1(config)#hostname Bogra-PE
Bogra-PE(config)#interface GigabitEthernet2/2
Bogra-PE(config-if)# ip address 172.16.16.50 255.255.255.252
Bogra-PE(config-if)#no shut
Bogra-PE(config-if)#end
Bogra-PE#write memory
Building configuration...
[OK]
Bogra-PE#

COMILLA (Old hostname: P-3) Preliminary configuration


User Access Verification

Password:xxxxx
P-2>en
Password:xxxxx
P-2# conf t
Enter configuration commands, one per line. End with CNTL/Z.
P-2(config)#hostname COMILLA
COMILLA(config)#interface GigabitEthernet2/2
COMILLA(config-if)# no shutdown
COMILLA(config-if)#ip add 172.16.16.33 255.255.255.252
COMILLA(config-if)#end
COMILLA#write memory
Building configuration...
[OK]
COMILLA#

SYLHET (Old hostname: P-4) Preliminary configuration


User Access Verification

Password:xxxxx
P-2>en
Password:xxxxx
P-2# conf t
Enter configuration commands, one per line. End with CNTL/Z.
P-2(config)#hostname SYLHET
SYLHET(config)#interface GigabitEthernet2/2
SYLHET(config-if)#no shutdown
SYLHET(config-if)#ip add 172.16.16.37 255.255.255.252

Information copy only, works as suppliment | 2


January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

SYLHET(config-if)#end
SYLHET#write memory
Building configuration...
[OK]
SYLHET#

BARISHAL (Old hostname: PE-1) Preliminary configuration


User Access Verification

Password:xxxxx
PE-1>en
Password:xxxxx
PE-1# conf t
Enter configuration commands, one per line. End with CNTL/Z.
PE-1(config)#hostname BARISHAL
BARISHAL(config)#interface GigabitEthernet3/1
BARISHAL(config-if)#no shutdown
BARISHAL(config-if)#ip add 172.16.16.54 255.255.255.252
BARISHAL(config-if)#interface GigabitEthernet2/2
BARISHAL(config-if)# description ** P-3-PE-1 GigE link **
BARISHAL(config-if)# ip address 172.16.16.34 255.255.255.252
BARISHAL(config-if)# no shutdown
BARISHAL(config-if)# end
BARISHAL#write memory
Building configuration...
[OK]
BARISHAL#

RAJSHAHI (Old hostname: PE-2) Preliminary configuration


User Access Verification

Password:xxxxx
PE-1>en
Password:xxxxx
PE-1# conf t
Enter configuration commands, one per line. End with CNTL/Z.
PE-1(config)#hostname RAJSHAHI
RAJSHAHI(config)#interface GigabitEthernet3/1
RAJSHAHI(config-if)#no shutdown
RAJSHAHI(config-if)#ip add 172.16.16.58 255.255.255.252
RAJSHAHI(config-if)#interface GigabitEthernet2/2
RAJSHAHI(config-if)# description ** P-3-PE-1 GigE link **
RAJSHAHI(config-if)# ip address 172.16.16.38 255.255.255.252
RAJSHAHI(config-if)# no shutdown
RAJSHAHI(config-if)# end
RAJSHAHI#write memory
Building configuration...
[OK]
RAJSHAHI#

Information copy only, works as suppliment | 3


January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

PABNA (Old hostname: PE-3) Preliminary configuration


User Access Verification

Password:xxxxx
PE-2>en
Password:xxxxx
PE-2# conf t
Enter configuration commands, one per line. End with CNTL/Z.
PE-2(config)#hostname PABNA
PABNA(config)#controller e1 4/0/0
PABNA(config- controller)#channel group 0 time-slot 1-31
PABNA(config- controller)#exit
PABNA(config)#interface serial 4/0/0:0
PABNA(config-if)# no shutdown
PABNA(config-if)# ip add 172.16.16.65 255.255.255.252
PABNA#write memory
Building configuration...
[OK]
PABNA#

KISHORGANJ (Old hostname: PE-4) Preliminary configuration


User Access Verification

Password:xxxxx
PE-2>en
Password:xxxxx
PE-2# conf t
Enter configuration commands, one per line. End with CNTL/Z.
PE-2(config)#hostname KISHORGANJ
KISHORGANJ(config)#controller e1 4/0/0
KISHORGANJ(config- controller)#channel group 0 time-slot 1-31
KISHORGANJ(config- controller)#exit
KISHORGANJ(config)#interface serial 4/0/0:0
KISHORGANJ(config-if)# no shutdown
KISHORGANJ(config-if)# ip add 172.16.16.66 255.255.255.252
KISHORGANJ#write memory
Building configuration...
[OK]
KISHORGANJ#

DHAKA-P Preliminary configuration

User Access Verification

Password:xxxxx
P-3>en
Password:xxxxx

Information copy only, works as suppliment | 4


January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

P-3# conf t
Enter configuration commands, one per line. End with CNTL/Z.
P-3(config)# hostname DHAKA-P
DHAKA-P(config)# interface GigabitEthernet 7/0/0
DHAKA-P(config-if)# ip address 172.16.16.41 255.255.255.252
DHAKA-P(config-if)# no shutdown
DHAKA-P(config-if)# interface GigabitEthernet 7/0/1
DHAKA-P(config-if)# ip address 172.16.16.45 255.255.255.252
DHAKA-P(config-if)# no shutdown
DHAKA-P(config-if)# interface GigabitEthernet 7/1/0
DHAKA-P(config-if)# ip address 172.16.16.53 255.255.255.252
DHAKA-P(config-if)# no shutdown
DHAKA-P(config-if)# interface GigabitEthernet 7/1/1
DHAKA-P(config-if)# ip address 172.16.16.61 255.255.255.252
DHAKA-P(config-if)# no shutdown
DHAKA-P(config-if)# interface loopback 0
DHAKA-P(config-if)# ip address 192.168.8.254 255.255.255.255
DHAKA-P(config-if)#end
DHAKA-P#wr
Building configuration...
[OK]
DHAKA-P#

CHITTAGONG-P Preliminary configuration

User Access Verification

Password:xxxxx
P-3>en
Password:xxxxx
P-3# conf t
Enter configuration commands, one per line. End with CNTL/Z.
P-3(config)# hostname CHITTAGONG-P
CHITTAGONG-P(config)# interface GigabitEthernet 7/0/0
CHITTAGONG-P(config-if)# ip address 172.16.16.42 255.255.255.252
CHITTAGONG-P(config-if)# no shutdown
CHITTAGONG-P(config-if)# interface GigabitEthernet 7/0/1
CHITTAGONG-P(config-if)# ip address 172.16.16.49 255.255.255.252
CHITTAGONG-P(config-if)# no shutdown
CHITTAGONG-P(config-if)# interface GigabitEthernet 7/1/0
CHITTAGONG-P(config-if)# ip address 172.16.16.58 255.255.255.252
CHITTAGONG-P(config-if)# no shutdown
CHITTAGONG-P(config-if)# interface loopback 0
CHITTAGONG-P(config-if)# ip address 192.168.9.254 255.255.255.255
CHITTAGONG-P(config-if)#end
CHITTAGONG-P#wr
Building configuration...
[OK]
CHITTAGONG-P#

Information copy only, works as suppliment | 5


January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

For further assistance, please mail at wideangle@gmail.com.


Thank you.

MPLS-VPN Lab Module: 2


(Basic MPLS Lab using LDP)

DHAKA-P

User Access Verification

Password:xxxxx
DHAKA-P >en
Password:xxxxx
DHAKA-P # conf t

Information copy only, works as suppliment | 6


January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

Enter configuration commands, one per line. End with CNTL/Z.

Configuring OSPF 9829:-

DHAKA-P (config)#router ospf 9829


DHAKA-P (config-router)#auto-cost reference-bandwidth 1000
DHAKA-P (config-router)#network 172.16.16.40 0.0.0.3 area 0
DHAKA-P (config-router)#network 172.16.16.44 0.0.0.3 area 0
DHAKA-P (config-router)#network 172.16.16.52 0.0.0.3 area 0
DHAKA-P (config-router)#network 192.168.8.254 0.0.0.0 area 0
DHAKA-P (config-router)#passive-interface loopback 0
DHAKA-P (config-router)#exit
DHAKA-P (config)#

Configuring/saving MPLS/Cisco Express Forwarding(cef) on all interfaces:-

DHAKA-P(config)# ip cef distributed


DHAKA-P(config)#mpls ip
DHAKA-P(config)#mpls label protocol ldp
DHAKA-P(config)# interface GigabitEthernet 7/0/0
DHAKA-P(config-if)# mpls ip
DHAKA-P(config-if)# mpls label protocol ldp
DHAKA-P(config-if)# interface GigabitEthernet 7/0/1
DHAKA-P(config-if)# mpls ip
DHAKA-P(config-if)# mpls label protocol ldp
DHAKA-P(config-if)# interface GigabitEthernet 7/1/0
DHAKA-P(config-if)# mpls ip
DHAKA-P(config-if)# mpls label protocol ldp
DHAKA-P(config-if)# interface GigabitEthernet 7/1/1
DHAKA-P(config-if)# mpls ip
DHAKA-P(config-if)# mpls label protocol ldp
DHAKA-P(config-if)#end
DHAKA-P#wr
Building configuration...
[OK]
DHAKA-P#

CHITTAGONG-P

User Access Verification

Password:xxxxx
CHITTAGONG-P >en
Password:xxxxx
CHITTAGONG-P # conf t
Enter configuration commands, one per line. End with CNTL/Z.

Configuring OSPF 9829:-

CHITTAGONG-P (config)#router ospf 9829


CHITTAGONG-P (config-router)#auto-cost reference-bandwidth 1000
CHITTAGONG-P (config-router)#network 172.16.16.40 0.0.0.3 area 0
CHITTAGONG-P (config-router)#network 172.16.16.48 0.0.0.3 area 0
CHITTAGONG-P (config-router)#network 172.16.16.56 0.0.0.3 area 0
CHITTAGONG-P (config-router)#network 192.168.9.254 0.0.0.0 area 0

Information copy only, works as suppliment | 7


January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

CHITTAGONG-P (config-router)#passive-interface loopback 0


CHITTAGONG-P (config-router)#exit
CHITTAGONG-P (config)#

Configuring/saving MPLS/Cisco Express Forwarding(cef) on all interfaces:-

CHITTAGONG-P(config)# ip cef distributed


CHITTAGONG-P(config)#mpls ip
CHITTAGONG-P(config)#mpls label protocol ldp
CHITTAGONG-P(config)# interface GigabitEthernet 7/0/0
CHITTAGONG-P(config-if)# mpls ip
CHITTAGONG-P(config-if)# mpls label protocol ldp
CHITTAGONG-P(config-if)# interface GigabitEthernet 7/0/1
CHITTAGONG-P(config-if)# mpls ip
CHITTAGONG-P(config-if)# mpls label protocol ldp
CHITTAGONG-P(config-if)# interface GigabitEthernet 7/1/0
CHITTAGONG-P(config-if)# mpls ip
CHITTAGONG-P(config-if)# mpls label protocol ldp
CHITTAGONG-P(config-if)# interface GigabitEthernet 7/1/1
CHITTAGONG-P(config-if)# mpls ip
CHITTAGONG-P(config-if)# mpls label protocol ldp
CHITTAGONG-P(config-if)#end
CHITTAGONG-P#wr
Building configuration...
[OK]
CHITTAGONG-P#

KHULNA-PE

User Access Verification

Password:xxxxx
KHULNA-PE >en
Password:xxxxx
KHULNA-PE # conf t
Enter configuration commands, one per line. End with CNTL/Z.

Configuring OSPF 9829:-

KHULNA-PE (config)#router ospf 9829


KHULNA-PE (config-router)#auto-cost reference-bandwidth 1000
KHULNA-PE (config-router)#network 172.16.16.0 0.0.0.3 area 0
KHULNA-PE (config-router)#network 172.16.16.12 0.0.0.3 area 0
KHULNA-PE (config-router)#network 172.16.16.16 0.0.0.3 area 0
KHULNA-PE (config-router)#network 172.16.16.44 0.0.0.3 area 0
KHULNA-PE (config-router)#network 192.168.0.254 0.0.0.0 area 0
KHULNA-PE (config-router)#passive-interface loopback 0
KHULNA-PE (config-router)#exit
KHULNA-PE (config)#

Configuring/saving MPLS/Cisco Express Forwarding(cef) on all interfaces:-

KHULNA-PE(config)# ip cef distributed


KHULNA-PE(config)#mpls ip

Information copy only, works as suppliment | 8


January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

KHULNA-PE(config)#mpls label protocol ldp


KHULNA-PE(config)# interface pos 3/2
KHULNA-PE(config-if)# mpls ip
KHULNA-PE(config-if)# mpls label protocol ldp
KHULNA-PE(config-if)# interface pos 3/1
KHULNA-PE(config-if)# mpls ip
KHULNA-PE(config-if)# mpls label protocol ldp
KHULNA-PE(config-if)# interface GigabitEthernet 2/1
KHULNA-PE(config-if)# mpls ip
KHULNA-PE(config-if)# mpls label protocol ldp
KHULNA-PE(config-if)# interface GigabitEthernet 2/2
KHULNA-PE(config-if)# mpls ip
KHULNA-PE(config-if)# mpls label protocol ldp
KHULNA-PE(config-if)#end
KHULNA-PE#wr
Building configuration...
[OK]
KHULNA-PE#

Bogra-PE

User Access Verification

Password:xxxxx
Bogra-PE >en
Password:xxxxx
Bogra-PE # conf t
Enter configuration commands, one per line. End with CNTL/Z.

Configuring OSPF 9829:-

Bogra-PE (config)#router ospf 9829


Bogra-PE (config-router)#auto-cost reference-bandwidth 1000
Bogra-PE (config-router)#network 172.16.16.0 0.0.0.3 area 0
Bogra-PE (config-router)#network 172.16.16.4 0.0.0.3 area 0
Bogra-PE (config-router)#network 172.16.16.20 0.0.0.3 area 0
Bogra-PE (config-router)#network 172.16.16.48 0.0.0.3 area 0
Bogra-PE (config-router)#network 192.168.2.254 0.0.0.0 area 0
Bogra-PE (config-router)#passive-interface loopback 0
Bogra-PE (config-router)#exit
Bogra-PE (config)#

Configuring/saving MPLS/Cisco Express Forwarding(cef) on all interfaces:-

Bogra-PE(config)# ip cef distributed


Bogra-PE(config)#mpls ip
Bogra-PE(config)#mpls label protocol ldp
Bogra-PE(config)# interface pos 3/2
Bogra-PE(config-if)# mpls ip
Bogra-PE(config-if)# mpls label protocol ldp
Bogra-PE(config-if)# interface pos 3/1
Bogra-PE(config-if)# mpls ip
Bogra-PE(config-if)# mpls label protocol ldp
Bogra-PE(config-if)# interface GigabitEthernet 2/1
Bogra-PE(config-if)# mpls ip
Bogra-PE(config-if)# mpls label protocol ldp

Information copy only, works as suppliment | 9


January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

Bogra-PE(config-if)# interface GigabitEthernet 2/2


Bogra-PE(config-if)# mpls ip
Bogra-PE(config-if)# mpls label protocol ldp
Bogra-PE(config-if)#end
Bogra-PE#wr
Building configuration...
[OK]
Bogra-PE#

BARISHAL

User Access Verification

Password:xxxxx
BARISHAL >en
Password:xxxxx
BARISHAL # conf t
Enter configuration commands, one per line. End with CNTL/Z.

Configuring OSPF 9829:-

BARISHAL (config)#router ospf 9829


BARISHAL (config-router)#auto-cost reference-bandwidth 1000
BARISHAL (config-router)#network 172.16.16.52 0.0.0.3 area 0
BARISHAL (config-router)#network 172.16.16.32 0.0.0.3 area 0
BARISHAL (config-router)#network 172.16.16.16 0.0.0.3 area 0
BARISHAL (config-router)#network 192.168.1.254 0.0.0.0 area 0
BARISHAL (config-router)#passive-interface loopback 0
BARISHAL (config-router)#exit
BARISHAL (config)#

Configuring/saving MPLS/Cisco Express Forwarding(cef) on all interfaces:-

BARISHAL(config)# ip cef distributed


BARISHAL(config)#mpls ip
BARISHAL(config)#mpls label protocol ldp
BARISHAL(config)# interface gigabitEthernet 3/1
BARISHAL(config-if)# mpls ip
BARISHAL(config-if)# mpls label protocol ldp
BARISHAL(config-if)# interface GigabitEthernet 2/1
BARISHAL(config-if)# mpls ip
BARISHAL(config-if)# mpls label protocol ldp
BARISHAL(config-if)# interface GigabitEthernet 2/2
BARISHAL(config-if)# mpls ip
BARISHAL(config-if)# mpls label protocol ldp
BARISHAL(config-if)#end
BARISHAL#wr
Building configuration...
[OK]
BARISHAL#

Information copy only, works as suppliment | 10


January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

RAJSHAHI

User Access Verification

Password:xxxxx
RAJSHAHI >en
Password:xxxxx
RAJSHAHI # conf t
Enter configuration commands, one per line. End with CNTL/Z.

Configuring OSPF 9829:-

RAJSHAHI (config)#router ospf 9829


RAJSHAHI (config-router)#auto-cost reference-bandwidth 1000
RAJSHAHI (config-router)#network 172.16.16.56 0.0.0.3 area 0
RAJSHAHI (config-router)#network 172.16.16.36 0.0.0.3 area 0
RAJSHAHI (config-router)#network 172.16.16.20 0.0.0.3 area 0
RAJSHAHI (config-router)#network 192.168.3.254 0.0.0.0 area 0
RAJSHAHI (config-router)#passive-interface loopback 0
RAJSHAHI (config-router)#exit
RAJSHAHI (config)#

Configuring/saving MPLS/Cisco Express Forwarding(cef) on all interfaces:-

RAJSHAHI(config)# ip cef distributed


RAJSHAHI(config)#mpls ip
RAJSHAHI(config)#mpls label protocol ldp
RAJSHAHI(config)# interface gigabitEthernet 3/1
RAJSHAHI(config-if)# mpls ip
RAJSHAHI(config-if)# mpls label protocol ldp
RAJSHAHI(config-if)# interface GigabitEthernet 2/1
RAJSHAHI(config-if)# mpls ip
RAJSHAHI(config-if)# mpls label protocol ldp
RAJSHAHI(config-if)# interface GigabitEthernet 2/2
RAJSHAHI(config-if)# mpls ip
RAJSHAHI(config-if)# mpls label protocol ldp
RAJSHAHI(config-if)#end
RAJSHAHI#wr
Building configuration...
[OK]
RAJSHAHI#

COMILLA

User Access Verification

Password:xxxxx
COMILLA >en
Password:xxxxx
COMILLA # conf t
Enter configuration commands, one per line. End with CNTL/Z.

Configuring OSPF 9829:-

Information copy only, works as suppliment | 11


January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

COMILLA (config)#router ospf 9829


COMILLA (config-router)#auto-cost reference-bandwidth 1000
COMILLA (config-router)#network 172.16.16.8 0.0.0.3 area 0
COMILLA (config-router)#network 172.16.16.12 0.0.0.3 area 0
COMILLA (config-router)#network 172.16.16.24 0.0.0.3 area 0
COMILLA (config-router)#network 172.16.16.32 0.0.0.3 area 0
COMILLA (config-router)#network 192.168.4.254 0.0.0.0 area 0
COMILLA (config-router)#passive-interface loopback 0
COMILLA (config-router)#exit
COMILLA (config)#

Configuring/saving MPLS/Cisco Express Forwarding(cef) on all interfaces:-

COMILLA(config)# ip cef distributed


COMILLA(config)#mpls ip
COMILLA(config)#mpls label protocol ldp
COMILLA(config)# interface pos 3/2
COMILLA(config-if)# mpls ip
COMILLA(config-if)# mpls label protocol ldp
COMILLA(config-if)# interface pos 3/1
COMILLA(config-if)# mpls ip
COMILLA(config-if)# mpls label protocol ldp
COMILLA(config-if)# interface GigabitEthernet 2/1
COMILLA(config-if)# mpls ip
COMILLA(config-if)# mpls label protocol ldp
COMILLA(config-if)# interface GigabitEthernet 2/2
COMILLA(config-if)# mpls ip
COMILLA(config-if)# mpls label protocol ldp
COMILLA(config-if)#end
COMILLA#wr
Building configuration...
[OK]
COMILLA#

SYLHET

User Access Verification

Password:xxxxx
SYLHET >en
Password:xxxxx
SYLHET # conf t
Enter configuration commands, one per line. End with CNTL/Z.

Configuring OSPF 9829:-

SYLHET (config)#router ospf 9829


SYLHET (config-router)#auto-cost reference-bandwidth 1000
SYLHET (config-router)#network 172.16.16.4 0.0.0.3 area 0
SYLHET (config-router)#network 172.16.16.8 0.0.0.3 area 0
SYLHET (config-router)#network 172.16.16.28 0.0.0.3 area 0
SYLHET (config-router)#network 172.16.16.36 0.0.0.3 area 0
SYLHET (config-router)#network 192.168.6.254 0.0.0.0 area 0
SYLHET (config-router)#passive-interface loopback 0
SYLHET (config-router)#exit

Information copy only, works as suppliment | 12


January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

SYLHET (config)#

Configuring/saving MPLS/Cisco Express Forwarding(cef) on all interfaces:-

SYLHET(config)# ip cef distributed


SYLHET(config)#mpls ip
SYLHET(config)#mpls label protocol ldp
SYLHET(config)# interface pos 3/2
SYLHET(config-if)# mpls ip
SYLHET(config-if)# mpls label protocol ldp
SYLHET(config-if)# interface pos 3/1
SYLHET(config-if)# mpls ip
SYLHET(config-if)# mpls label protocol ldp
SYLHET(config-if)# interface GigabitEthernet 2/1
SYLHET(config-if)# mpls ip
SYLHET(config-if)# mpls label protocol ldp
SYLHET(config-if)# interface GigabitEthernet 2/2
SYLHET(config-if)# mpls ip
SYLHET(config-if)# mpls label protocol ldp
SYLHET(config-if)#end
SYLHET#wr
Building configuration...
[OK]
SYLHET#

PABNA-PE

User Access Verification

Password:xxxxx
PABNA-PE >en
Password:xxxxx
PABNA-PE # conf t
Enter configuration commands, one per line. End with CNTL/Z.

Configuring OSPF 9829:-

PABNA-PE (config)#router ospf 9829


PABNA-PE (config-router)#auto-cost reference-bandwidth 1000
PABNA-PE (config-router)#network 172.16.16.24 0.0.0.3 area 0
PABNA-PE (config-router)#network 172.16.16.64 0.0.0.3 area 0
PABNA-PE (config-router)#network 192.168.5.254 0.0.0.0 area 0
PABNA-PE (config-router)#passive-interface loopback 0
PABNA-PE (config-router)#exit
PABNA-PE (config)#

Configuring/saving MPLS/Cisco Express Forwarding(cef) on all interfaces:-

PABNA-PE(config)# ip cef distributed


PABNA-PE(config)#mpls ip
PABNA-PE(config)#mpls label protocol ldp
PABNA-PE(config)# interface GigabitEthernet 2/1
PABNA-PE(config-if)# mpls ip
PABNA-PE(config-if)# mpls label protocol ldp
PABNA-PE(config-if)# interface serial 4/0/0:0

Information copy only, works as suppliment | 13


January 16, 2009 [MPLS Lab Configurations, CSE 6067, UIU]

PABNA-PE(config-if)# mpls ip
PABNA-PE(config-if)# mpls label protocol ldp
PABNA-PE(config-if)#end
PABNA-PE#wr
Building configuration...
[OK]
PABNA-PE#

KISHORGANJ

User Access Verification

Password:xxxxx
KISHORGANJ >en
Password:xxxxx
KISHORGANJ # conf t
Enter configuration commands, one per line. End with CNTL/Z.

Configuring OSPF 9829:-

KISHORGANJ (config)#router ospf 9829


KISHORGANJ (config-router)#auto-cost reference-bandwidth 1000
KISHORGANJ (config-router)#network 172.16.16.28 0.0.0.3 area 0
KISHORGANJ (config-router)#network 172.16.16.64 0.0.0.3 area 0
KISHORGANJ (config-router)#network 192.168.7.254 0.0.0.0 area 0
KISHORGANJ (config-router)#passive-interface loopback 0
KISHORGANJ (config-router)#exit
KISHORGANJ (config)#

Configuring/saving MPLS/Cisco Express Forwarding(cef) on all interfaces:-

KISHORGANJ(config)# ip cef distributed


KISHORGANJ(config)#mpls ip
KISHORGANJ(config)#mpls label protocol ldp
KISHORGANJ(config)# interface GigabitEthernet 2/1
KISHORGANJ(config-if)# mpls ip
KISHORGANJ(config-if)# mpls label protocol ldp
KISHORGANJ(config-if)# interface serial 4/0/0:0
KISHORGANJ(config-if)# mpls ip
KISHORGANJ(config-if)# mpls label protocol ldp
KISHORGANJ(config-if)#end
KISHORGANJ#wr
Building configuration...
[OK]
KISHORGANJ#

End of Document

Information copy only, works as suppliment | 14

You might also like