You are on page 1of 14

1/1/5

R1

R3

1.1.1.1

3.3.3.3

1/1/2
1/1/2
.17epipe17 SDP7lsp to R7
epipe18
.1192.168.13.0
.3
.18
SDP87 lsp to R8
/24

1/1/10

R5

R8

5.5.5.5

7.7.7.7

1/1/10

1/1/2

1/1/4
1/1/1

1/1/5
CW = 10
Intf Address
192.168.XY.x/24
192.168.XY.y/24
x<y

192.168.34.0
/24

1/1/4

2.2.2.2

192.168.56.0
/24

ACW = 20

R1
1/1/5

1/1/2

192.168.35.0
/24

1/1/4

1/1/5

1/1/5

1/1/2
1/1/2
.1192.168.13.0
.3
/24

R6

R4

4.4.4.4

1/1/1

R8

6.6.6.6
1/1/10

1/1/10

192.168.46.0
/24

8.8.8.8
1/1/2

1/1/5

1/1/2
1/1/4

Configure
Router Name &
System

Configure Ports
L1

Define SV
epipe 107
sdp xvcid

1. Reboot router

Define sap
ports, Define
sdp ~ lsp

Configure
interfaces & ip
Ports
L3

Turn TLDP to
distribute
service labels

Run Routing
Protocol

Run MPLS on
Interfaces

Building
RTs

Put
Labels

Build LSPs to
headers

Distributed
interfaces
Labels

Run rsvp on

Adminrebootnow
2. Name the router
Config system name Rx
3. Configure the system address
Config router interface system
Address
x.x.x.x/32
4. Config Ports (network) between routers
Config port <1/1/2>
Ethernet mode network
No shut
5. Config interface address
Config router
Interface R1 to R3
Port 1/1/2
Address 192.168.13.1/24
Tx3bfd at 100ms,
Bfd 100 receive 100 multiplier
Rx bfd at 100ms
Loose 3 declare link
6. Checks
down
#show router interface
#show port 1/1/2
useful
#pwc
- present working context
#admin display-config
- running config
#show log log-id 99
#info - before and after you enter any configuration context check ur config
#info detail
#exit to leave a context
#ping 192.168.xy.y ping peer interface
#<command>? give command option
#admin-display-config | match context all <string>
7. OSPF Configuration
Config router
Ospf
Traffic-engineering

Area 0

8. Check
#show
#show
#show
#show
#show

router
router
router
router
router

Interface system
Exit
Interface r1 to r3
Interface-type
MTU 1500

[if routers are p-p connections use this option]

Bfd-enable

Good: fast detection

status
route-table
OSPF neighbour
OSPF interface
OSPF database

point to point
[Good practice, Max LSA Pkt size]

check state = FULL

9. Configure Interfaces to run MPLS & RSVP (eg R3)


Config router MPLS
Define on each router
Admin-group CW 10& has to be exactly the
Admin-group CW 20same
Interface system
Exit
Interface R3 to R1
Exit

No Color or direction
on that link

Interface R3 to R4
Admin-group ACW
Exit
Interface R3 to R5
Admin-group CW
Exit
No shut

Admin groups
Define ring direction

10.Configure Intf with RSVP


Tie bfd to RSVP (usually Intf defined in MPLS are RSVP enabled by default)
Configure router RSVP
Interface system
Exit
Interface R3 to R5
Bfd-enable
Interface R3 to R1
Bfd-enable
Interface R3 to R4
Bfd-enable
No shut
11.Check
#show router mpls interface/status
#show router rsvp interface/neighbour/statistics /status
12.Configure label switched path (eg R1)
Config router mpls
Path Primary-Loose
No shut
Path secondary-loose
No shut
LSP to R7
Constraint OSPF
CSPF
Define ring
To 7.7.7.7 Destination
Define ring
Primary primary-loose
Exclude CWConstraint
Exit
Define ring
Fast-reroute Switch on fast reroute on lsp
Define ring direction
No Shut
exit

13.Checks
Check lsp path
#oam lsp-trace <lsp name>
#show router mpls lsp path detail
#show router mpls status
#show router tunnel-table
#show router rsvp [neighbour/session/statistics]
#show router rsvp session detail
14.Turn on TLDP for VC ID exchange
Config route ldp
No shut
Targeted-session
Peer 7.7.7.7
Exit
Peer 2.2.2.2
Exit
Etc
15.Config Sap ports with Vlans
Config port 1/1/4, 1/1/5
Ehternet mode access
Ethernet encap-type dot1q
No shut

Data

16.Config SDPs for every destination


Config service sdp 7 mpls create
Far-end 7.7.7.7
Lsp toR7
No shut
17.Configure epipes (3 epipes)
Config service epipe 107 customer 1 create
Sap 1/1/5:17 create
Exit
Spoke-sdp 7:107 create

IP

MPLS

VCID
TLDP

VCID
TLDP

Exit
No shut
18.Config service vprn 1 customer 1 create
Route-distinguisher 1:1
Interface toR7 create
Address 192.168.17.1/24
Sap 1/1/4:17 create
No shut
Exit
19.Checks
#show service service-using
#show port x/x/x
#show service id 107 base
#show router 1 interface
#show service sdp-using
20.
Show router ldp session ensure targeted ldp is up
Show service sdp shows sdp status/destination
Show router ldp bindings shows the service vcids
Ping router x <ir-peer> - ping from vprn context x

VPRN
1

VPRN
7

Ping router 8 192.168.18.1


192.168.12.1
VPRN
VPRN
Show
2 router 8 route-table 8

Config service vprn 8


Interface vprn-loopback
Address 88.88.88.88/32
loopback

Running Spanning Tree Protocol

VCID = 1007

.
11

VCID = 1002

202
2002

1/1/4:xx

.77
192.168.99.xy
Xy (.1, .11, .2,
.22, .7, .77, .8,
.88)

707

1/1/4:yy

VCID = 7003

.2

.8

.
VCID = 2008
22
SW 22

.88
SW 88

Virtual Address .177

1001

SW 77
.7

.1SW 11

808

irtual Address .188

101

1/1/4 : ?
MAC4
?
707

8008

20)

configure service vprn 101 customer 1 create


route-distinguisher 2:1
interface "int-101" create
address 192.168.99.1/24
mac 20:11:11:11:11:11
sap 1/1/4:101 create
exit
exit
configure service vprn 1001 customer 1 create
route-distinguisher 3:1
interface "int-1001" create
address 192.168.99.11/24
mac 20:11:11:11:01:01
sap 1/1/4:1001 create
exit
exit
configure service vpls 11 customer 1 create
stp
no shut
sap 1/1/5:101 create
exit

sap 1/1/5:1001 create


exit
spoke-sdp 7:1007 create
no shutdown
exit
spoke-sdp 2:1002 create
no shutdown
exit
no shutdown
exit
21.Check for VPLS
#show service id xx fdb octet
#show service id xx stp
22.VRRP configure
#config router/config service vprn x
Interface toRx
Address
Sap
vrrp
backup 192.168.99.177
priority 110
By default, vrrp doesnt send PING response. To enable the
policy 100
PING, we have to add this command
ping-reply
traceroute-reply
no shut.
23.Show router x vrrp instance
24.Configure vrr policy 100 context x
Priority event
Port x/x/x
Priority 50 delta

ies
configure service ies xx customer 1 create
interface to Node B create
address 192.168.55/24
spoke-sdp 7:1001 create
R1-R7
R2-R8
VR .7
1/1/5:
70007

1111
1/1/4:

sdp1: 700007

epipe

Sdp7: 700007
.1

70007
R7
sdp1: 100001

ies

R1
Sdp7: 100001

epipe

.7

100001

7777
192.168.91.x

#Show service id X all


Configuration for Router 1
---------------------------------------------#-------------------------------------------------echo "IP Configuration"
#-------------------------------------------------interface "R1-R3"
address 192.168.13.1/24
port 1/1/2
no shutdown
bfd 100 receive 100 multiplier 3
exit

ies

1/1/5

VR
1/1/4:
100001

interface "system"
address 1.1.1.1/32
no shutdown
exit
interface "test"
no shutdown
exit
#-------------------------------------------------echo "OSPFv2 Configuration"
#-------------------------------------------------ospf
traffic-engineering
area 0.0.0.0
interface "system"
no shutdown
exit
interface "R1-R3"
interface-type point-to-point
bfd-enable
no shutdown
exit
exit
area 0.0.0.1
exit
exit
#-------------------------------------------------echo "MPLS Configuration"
#-------------------------------------------------mpls
admin-group "ACW" 20
admin-group "CW" 10
interface "system"
no shutdown
exit
exit
#--------------------------------------------------

echo "RSVP Configuration"


#-------------------------------------------------rsvp
interface "system"
no shutdown
exit
interface "R1-R3"
bfd-enable
no shutdown
exit
no shutdown
exit
#-------------------------------------------------echo "MPLS LSP Configuration"
#-------------------------------------------------mpls
path "primary-loose"
no shutdown
exit
path "secondary-loose"
no shutdown
exit
lsp "toR7"
to 7.7.7.7
cspf
fast-reroute one-to-one
exit
primary "primary-loose"
exclude "CW"
exit
no shutdown
exit
lsp "toR8"
to 8.8.8.8
cspf
fast-reroute one-to-one

exit
primary "primary-loose"
exclude "ACW"
exit
no shutdown
exit
lsp "toR2"
to 2.2.2.2
cspf
fast-reroute one-to-one
exit
primary "primary-loose"
exclude "ACW"
exit
no shutdown
exit
no shutdown
exit
#-------------------------------------------------echo "LDP Configuration"
#-------------------------------------------------ldp
interface-parameters
exit
targeted-session
peer 2.2.2.2
exit
peer 7.7.7.7
exit
peer 8.8.8.8
exit
exit
no shutdown
exit