Professional Documents
Culture Documents
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
Bfd-enable
status
route-table
OSPF neighbour
OSPF interface
OSPF database
point to point
[Good practice, Max LSA Pkt size]
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
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
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
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
1001
SW 77
.7
.1SW 11
808
101
1/1/4 : ?
MAC4
?
707
8008
20)
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
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
#--------------------------------------------------
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