The following reference network is used (Figure 162). It consists of four nodes and two Epipe VLL services. One service is transported across a network domain consisting of only static MPLS-TP LSPs (Epipe 10) from PE-1 to PE-2. The other Epipe (Epipe 20) is used to transport traffic from PE-1 in the MPLS-TP domain to a VPLS service on PE-4 in an IP/MPLS domain. A static MPLS-TP LSP exists between PE-1 and PE-2, while a dynamic RSVP-TE LSP exists between PE-2 and PE-4.
Figure 163 shows further details of the logical architecture of the services in the example network. The Epipe spoke-sdps use the static MPLS-TP transport LSP between PE-1 and PE-2, and the dynamically signaled RSVP-TE LSP between PE-2 and PE-4. The MPLS-TP LSP is protected using 1:1 linear protection, with a working path from PE-1 to PE-2, and a protect path from PE-1, through LSR P-3, to PE-2. The Ethernet PW for Epipe 10 connects an Ethernet SAP on port 1/1/5 on PE-1 to an Ethernet SAP on port 1/1/6 on PE-2. The PW for Epipe 20 connects an Ethernet SAP on port 1/1/6 on PE-1 to the VPLS on PE-4 and is switched between a static MPLS-TP segment and a dynamic targeted LDP (T-LDP) segment at PE-2. PE-2 thus acts as a gateway between the MPLS-TP domain and the IP/MPLS domain.
Figure 164shows the configuration process to be followed when setting up MPLS-TP.
Unnumbered MPLS-TP interfaces are configured on each network-facing interface for the nodes in the MPLS-TP domain, as shown below. This is done using the unnumbered-mpls-tp keyword at create time. In addition, the
static-arp unnumbered command is used to set the next-hop unicast, broadcast or multicast MAC address of the interface. The system interface should also be configured. Numbered IP Network interfaces, bound to port 1/1/5 of PE-2 and port 1/1/2 of PE-4 are used for the IP/MPLS portion of the network in
Figure 162.
A:PE-1>config>router
interface "PE-1-P-3" unnumbered-mpls-tp
port 1/1/2
static-arp unnumbered 01:00:5e:90:00:00
no shutdown
exit
interface "PE-1-PE-2" unnumbered-mpls-tp
port 1/1/1
static-arp unnumbered 01:00:5e:90:00:00
no shutdown
exit
interface "system"
address 192.0.2.101/32
no shutdown
exit
autonomous-system 64511
router-id 192.0.2.101
A:PE-2>config>router
interface "PE-2-P-3" unnumbered-mpls-tp
port 1/1/2
static-arp unnumbered 01:00:5e:90:00:00
no shutdown
exit
interface "PE-2-PE-1" unnumbered-mpls-tp
port 1/1/1
static-arp unnumbered 01:00:5e:90:00:00
no shutdown
exit
interface "PE-2-PE-4"
address 192.168.0.1/30
port 1/1/5
no shutdown
exit
interface "system"
address 192.0.2.102/32
no shutdown
exit
autonomous-system 64511
router-id 192.0.2.102
A:P-3>config>router
interface "system"
address 192.0.2.103/32
no shutdown
exit
interface "P-3-PE-1" unnumbered-mpls-tp
port 1/1/1
static-arp unnumbered 01:00:5e:90:00:00
no shutdown
exit
interface "P-3-PE-2" unnumbered-mpls-tp
port 1/1/2
static-arp unnumbered 01:00:5e:90:00:00
no shutdown
exit
autonomous-system 64511
router-id 192.0.2.103
A:PE-4>config>router
interface "PE-4-PE-2"
address 192.168.0.2/30
port 1/1/2
no shutdown
exit
interface "system"
address 192.0.2.104/32
no shutdown
exit
autonomous-system 6451165535
router-id 192.0.2.104
exit
A:PE-4>config>router
mpls
interface "system"
no shutdown
exit
interface "PE-4-PE-2"
no shutdown
exit
A:PE-1>config>router
mpls-labels
static-labels max-lsp-labels 100 max-svc-labels 200
exit
config
router
bfd
[no] bfd-template <name>
[no] transmit-interval <transmit-interval>
[no] receive-interval <receive-interval>
[no] echo-receive <echo-interval>
[no] multiplier <multiplier>
[no] type <cpm-np>
exit
transmit-interval transmit-interval and the
receive-interval receive-interval — These are the transmit and receive timers for BFD packets. For MPLS-TP, these are the timers used by BFD CC packets. Values are in milliseconds: 10ms to 100,000ms, with 1ms granularity. Default 10ms for CPM3 or higher, 1 sec for other hardware. The minimum interval that can be supported is hardware dependent. For MPLS-TP BFD Connectivity Verification (CV) packets, a transmit interval of 1 sec is always used.
multiplier multiplier — Integer 3 – 20. Default: 3. The configured parameter is used for MPLS-TP CC BFD sessions. It is ignored for MPLS-TP combined CC/CV BFD sessions, and the default of 3 is used.
type cpm-np — This selects the CPM network processor as the local termination point for the BFD session. This is used by default for MPLS-TP. The CPM-NP type is needed to configure a transmit interval down to 10ms.
A:PE-1>config>router
bfd
begin
bfd-template "tp-bfd"
exit
commit
exit
The following info detail command shows the values that are assigned by default.
A:PE-1>config>router>bfd# info detail
----------------------------------------------
bfd-template "tp-bfd"
no type
transmit-interval 100
receive-interval 100
multiplier 3
echo-receive 100
exit
----------------------------------------------
MPLS-TP global parameters are configured under config>router>mpls>mpls-tp. These include the MPLS-TP identifiers for the node and the range of tunnel identifiers that should be reserved for MPLS-TP LSPs.
config
router
mpls
mpls-tp
[no] global-id <global-id>
[no] node-id {<ipv4address> | <1...4,294,967,295>}
[no] shutdown
exit
The default value of the node-id is the system interface IPv4 address. The MPLS-TP context cannot be administratively enabled unless at least a system interface IPv4 address is configured because MPLS requires that this value be configured.
In order to change the values, config>router>mpls>mpls-tp must be in the shutdown state. This will bring down all of the MPLS-TP LSPs on the node. New values are propagated to the system when a
no shutdown is performed.
A:PE-1>config>router
mpls
mpls-tp
global-id 64511
node-id 10.0.0.101
config
router
mpls
mpls-tp
protection-template <name>
[no] revertive
[no] wait-to-restore <interval>
[no] rapid-psc-timer <interval>
[no] slow-psc-timer <interval>
exit
config
router
mpls
mpls-tp
[no] oam-template <name>
[no] bfd-template <name>
[no] hold-time-down <interval>
[no] hold-time-up <interval>
exit
config
router
mpls
mpls-tp
[no] tp-tunnel-id-range <start-id> <end-id>
A:PE-1>config>router mpls
mpls-tp
tp-tunnel-id-range 100 1000
protection-template "tp-protect"
exit
oam-template "tp-oam"
bfd-template "tp-bfd"
exit
no shutdown
exit
config
router
mpls
lsp <lsp-name> mpls-tp <src-tunnel-num>]
to node-id {<a.b.c.d> | <1.. .4,294,967,295>}
dest-global-id <global-id>
dest-tunnel-number <tunnel-num>
[no] working-tp-path
lsp-num <lsp-num>
in-label <in-label> [in-link <if-name>]
out-label <out-label> out-link <if-name>
[next-hop <ipv4-address>]
[no] mep
[no] oam-template <name>
[no] bfd-enable [cc | cc_cv]
[no] shutdown
exit
[no] shutdown
exit
[no] protect-tp-path
lsp-num <lsp-num>
in-label <in-label> [in-link <if-name>]
out-label <out-label> out-link <if-name>
[next-hop <ipv4-address> ]
[no] mep
[no] protection-template <name>
[no] oam-template <name>
[no] bfd-enable [cc | cc_cv]
[no] shutdown
exit
[no] shutdown
exit
Figure 165 shows the LSP working and protect path label values configured at PE-1, PE-2 and P-3. Note that at each node the outgoing label must match the incoming label on the next hop for a given direction. At the LERs (PE-1 and PE-2), the incoming and outgoing label values for each LSP path are configured together. However, at the LSR (P-3), the label values for the label mapping between ingress and egress for each direction of the path (that is, forward and reverse) are configured together.
A:PE-1>config>router
mpls
lsp "LSP-PE-1-PE-2" mpls-tp 100
to node-id 10.0.0.102
dest-global-id 64511
dest-tunnel-number 100
working-tp-path
in-label 50
out-label 51 out-link "PE-1-PE-2"
mep
oam-template "tp-oam"
bfd-enable cc
no shutdown
exit
no shutdown
exit
protect-tp-path
in-label 60
out-label 61 out-link "PE-1-P-3"
mep
protection-template "tp-protect"
oam-template "tp-oam"
bfd-enable cc
no shutdown
exit
no shutdown
exit
no shutdown
exit
no shutdown
exit
A:PE-2>config>router
mpls
lsp "LSP-PE-1-PE-2" mpls-tp 100
to node-id 10.0.0.101
dest-global-id 64511
dest-tunnel-number 100
working-tp-path
in-label 51
out-label 50 out-link "PE-2-PE-1"
mep
oam-template "tp-oam"
bfd-enable cc
no shutdown
exit
no shutdown
exit
protect-tp-path
in-label 70
out-label 71 out-link "PE-2-P-3"
mep
protection-template "tp-protect"
oam-template "tp-oam"
bfd-enable cc
no shutdown
exit
no shutdown
exit
no shutdown
exit
no shutdown
exit
config
router
mpls
mpls-tp
transit-path <path-name>
[no] path-id {lsp-num <lsp-num>|working-path|protect-path
[src-global-id <global-id>]
src-node-id {<ipv4address> | <1.. .4,294,967,295>}
src-tunnel-num <tunnel-num>
[dest-global-id <global-id>]
dest-node-id {<ipv4address> | <1.. .4,294,967,295>}
[dest-tunnel-num <tunnel-num>]}
forward-path
in-label <in-label> out-label <out-label>
out-link <if-name> [next-hop <ipv4-next-hop>]
exit
reverse-path
in-label <in-label> out-label <out-label>
[out-link <if-name> [next-hop <ipv4-next-hop>]]
exit
[no] shutdown
A:P-3>config>router
mpls
mpls-tp
transit-path "LSP-PE-1-PE-2"
forward-path
in-label 61 out-label 70 out-link "P-3-PE-2"
exit
reverse-path
in-label 71 out-label 60 out-link "P-3-PE-1"
exit
path-id src-global-id 64511 src-node-id 10.0.0.101 src-tunnel-num 100 dest-global-id 64511 dest-node-id 10.0.0.102 dest-tunnel-num 100 lsp-num 2
no shutdown
exit
no shutdown
exit
exit
A:PE-2>config>router
mpls
path "completely-loose-path"
no shutdown
exit
lsp "LSP-PE-2-PE-4"
to 192.0.2.104
primary "completely-loose-path"
exit
no shutdown
exit
*A:PE-1# show router bfd session
===============================================================================
Legend: wp = Working path pp = Protecting path
===============================================================================
BFD Session
===============================================================================
Interface/Lsp Name State Tx Intvl Rx Intvl Multipl
Remote Address/Info Protocols Tx Pkts Rx Pkts Type
LAG port LAG ID
-------------------------------------------------------------------------------
wp::LSP-PE-1-PE-2 Up (3) 100 100 3
64511::10.0.0.102 mplsTp 684 692 central
pp::LSP-PE-1-PE-2 Up (3) 100 100 3
64511::10.0.0.102 mplsTp 164 167 central
-------------------------------------------------------------------------------
No. of BFD sessions: 2
===============================================================================
===============================================================================
*A:PE-1# oam lsp-trace static "LSP-PE-1-PE-2"
lsp-trace to LSP-PE-1-PE-2: 0 hops min, 0 hops max, 100 byte packets
1 GlobalId 64511 NodeId 10.0.0.102
rtt=0.648ms rc=3(EgressRtr)
*A:PE-1# configure port 1/1/1 shutdown
*A:PE-1# show router bfd session
===============================================================================
Legend: wp = Working path pp = Protecting path
===============================================================================
BFD Session
===============================================================================
Interface/Lsp Name State Tx Intvl Rx Intvl Multipl
Remote Address/Info Protocols Tx Pkts Rx Pkts Type
LAG port LAG ID
-------------------------------------------------------------------------------
wp::LSP-PE-1-PE-2 Down (1) 1000 100 3
64511::10.0.0.102 mplsTp 3171 3170 central
pp::LSP-PE-1-PE-2 Up (3) 100 100 3
64511::10.0.0.102 mplsTp 2727 2730 central
-------------------------------------------------------------------------------
No. of BFD sessions: 2
===============================================================================
*A:PE-1# oam lsp-trace static "LSP-PE-1-PE-2"
lsp-trace to LSP-PE-1-PE-2: 0 hops min, 0 hops max, 100 byte packets
1 GlobalId 64511 NodeId 10.0.0.103
rtt=0.868ms rc=8(DSRtrMatchLabel)
2 GlobalId 64511 NodeId 10.0.0.102
rtt=1.15ms rc=3(EgressRtr)
*A:PE-1# tools perform router mpls tp-tunnel force "LSP-PE-1-PE-2"
*A:PE-1# tools perform router mpls tp-tunnel clear "LSP-PE-1-PE-2"
*A:PE-1# oam lsp-trace static "LSP-PE-1-PE-2"
lsp-trace to LSP-PE-1-PE-2: 0 hops min, 0 hops max, 100 byte packets
1 GlobalId 64511 NodeId 10.0.0.102
rtt=0.637ms rc=3(EgressRtr)
A:PE-1>config
service
sdp 10 mpls create
signaling off
far-end node-id 10.0.0.102 global-id 64511
lsp "LSP-PE-1-PE-2"
keep-alive
shutdown
exit
no shutdown
exit
A:PE-2>config
service
sdp 10 mpls create
signaling off
far-end node-id 10.0.0.101 global-id 64511
lsp "LSP-PE-1-PE-2"
keep-alive
shutdown
exit
no shutdown
exit
sdp 20 mpls create
far-end 192.0.2.104
lsp "LSP-PE-2-PE-4"
keep-alive
no shutdown
exit
no shutdown
exit
A:PE-4>config
service
sdp 20 mpls create
far-end 192.0.2.102
lsp "LSP-PE-2-PE-4"
keep-alive
no shutdown
exit
no shutdown
exit
config
service
epipe
[no] spoke-sdp sdp-id[:vc-id]
[no] hash-label
[no] standby-signaling-slave
[no] spoke-sdp sdp-id[:vc-id] [vc-type {ether|vlan}]
[create] [vc-switching] [no-endpoint | {endpoint [icb]}]
egress
vc-label <out-label>
ingress
vc-label <in-label>
[no] control-word
[no] pw-path-id
agi <agi>
saii-type2 <global-id:node-id:ac-id>
taii-type2 <global-id:node-id:ac-id>
exit
control-channel-status
[no] acknowledgment
[no] refresh-timer <value>
[no] request-timer <value> retry-timer <value> [timeout-multiplier <value>]
[no] shutdown
exit
A:PE-1>config
service
epipe 10 customer 1 create
sap 1/1/5 create
exit
spoke-sdp 10:100 create
ingress
vc-label 150
exit
egress
vc-label 151
exit
control-word
pw-path-id
saii-type2 64511:10.0.0.101:1
taii-type2 64511:10.0.0.102:1
exit
control-channel-status
no shutdown
exit
no shutdown
exit
no shutdown
exit
epipe 20 customer 2 create
sap 1/1/6 create
exit
spoke-sdp 10:200 create
ingress
vc-label 200
exit
egress
vc-label 201
exit
control-word
pw-path-id
saii-type2 64511:10.0.0.101:2
taii-type2 64511:10.0.0.102:2
exit
control-channel-status
no shutdown
exit
no shutdown
exit
no shutdown
exit
A:PE-4>config
service
vpls 1 customer 2 create
stp
shutdown
exit
sap 1/1/6 create
exit
spoke-sdp 20:300 create
control-word
no shutdown
exit
no shutdown
exit
A:PE-1# oam vccv-ping static 10:100
VCCV-PING 10:100 84 bytes MPLS payload
Seq=1, send from intf PE-1-PE-2
send from lsp LSP-PE-1-PE-2
reply via Control Channel
src id tlv received: GlobalId 64511 NodeId 10.0.0.102
cv-data-len=44 rtt=0.992ms rc=3 (EgressRtr)
---- VCCV PING 10:100 Statistics ----
1 packets sent, 1 packets received, 0.00% packet loss
round-trip min = 0.992ms, avg = 0.992ms, max = 0.992ms, stddev = 0.000ms
*A:PE-2# configure port 1/1/6 shutdown
A:PE-1# show service id 10 all
===============================================================================
Service Detailed Information
===============================================================================
Service Id : 10 Vpn Id : 0
Service Type : Epipe
Name : (Not Specified)
Description : (Not Specified)
Customer Id : 1 Creation Origin : manual
Last Status Change: 07/05/2014 00:01:52
Last Mgmt Change : 07/05/2014 00:01:09
Admin State : Up Oper State : Up
MTU : 1514
Vc Switching : False
SAP Count : 1 SDP Bind Count : 1
Per Svc Hashing : Disabled
Force QTag Fwd : Disabled
<snipped>
-------------------------------------------------------------------------------
Service Destination Points(SDPs)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Sdp Id 10:100 -(10.0.0.102: 64511)
-------------------------------------------------------------------------------
Description : (Not Specified)
SDP Id : 10:100 Type : Spoke
Spoke Descr : (Not Specified)
VC Type : Ether VC Tag : n/a
Admin Path MTU : 0 Oper Path MTU : 8914
Delivery : MPLS
Far End : 10.0.0.102: 64511
Tunnel Far End : n/a LSP Types : MPLSTP
Hash Label : Disabled Hash Lbl Sig Cap : Disabled
Oper Hash Label : Disabled
Admin State : Up Oper State : Up
Acct. Pol : None Collect Stats : Disabled
Ingress Label : 150 Egress Label : 151
Ingr Mac Fltr-Id : n/a Egr Mac Fltr-Id : n/a
Ingr IP Fltr-Id : n/a Egr IP Fltr-Id : n/a
Ingr IPv6 Fltr-Id : n/a Egr IPv6 Fltr-Id : n/a
Admin ControlWord : Preferred Oper ControlWord : True
Admin BW(Kbps) : 0 Oper BW(Kbps) : 0
Last Status Change : 07/05/2014 00:01:52 Signaling : None
Last Mgmt Change : 07/05/2014 00:01:09 Force Vlan-Vc : Disabled
Endpoint : N/A Precedence : 4
PW Status Sig : Enabled
Class Fwding State : Down
Flags : None
Local Pw Bits : None
Peer Pw Bits : lacIngressFault lacEgressFault
Peer Fault Ip : None
Peer Vccv CV Bits : None
Peer Vccv CC Bits : None
...
A:PE-1# oam vccv-trace static 10:200 assoc-channel ipv4 detail
VCCV-TRACE 10:200 with 116 bytes of MPLS payload
1 192.0.2.102 GlobalId 64511 NodeId 10.0.0.102
rtt=0.733ms rc=8(DSRtrMatchLabel)
Next segment: VcId=300 VcType=Ether Source=192.0.2.102 Remote=192.0.2.104
2 192.0.2.104 rtt=1.90ms rc=3(EgressRtr)
A:PE-4# configure port 1/1/2 shutdown
A:PE-1# show service id 10 all
A:PE-1>show>service>id# all
===============================================================================
Service Detailed Information
===============================================================================
Service Id : 20 Vpn Id : 0
Service Type : Epipe
Name : (Not Specified)
Description : (Not Specified)
Customer Id : 2 Creation Origin : manual
Last Status Change: 07/05/2014 00:01:52
Last Mgmt Change : 07/05/2014 00:01:09
Admin State : Up Oper State : Up
MTU : 1514
Vc Switching : False
SAP Count : 1 SDP Bind Count : 1
Per Svc Hashing : Disabled
Force QTag Fwd : Disabled
<snipped>
-------------------------------------------------------------------------------
Service Destination Points(SDPs)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Sdp Id 10:200 -(10.0.0.102: 64511)
-------------------------------------------------------------------------------
Description : (Not Specified)
SDP Id : 10:200 Type : Spoke
Spoke Descr : (Not Specified)
VC Type : Ether VC Tag : n/a
Admin Path MTU : 0 Oper Path MTU : 8914
Delivery : MPLS
Far End : 10.0.0.102: 64511
Tunnel Far End : n/a LSP Types : MPLSTP
Hash Label : Disabled Hash Lbl Sig Cap : Disabled
Oper Hash Label : Disabled
Admin State : Up Oper State : Up
Acct. Pol : None Collect Stats : Disabled
Ingress Label : 200 Egress Label : 201
Ingr Mac Fltr-Id : n/a Egr Mac Fltr-Id : n/a
Ingr IP Fltr-Id : n/a Egr IP Fltr-Id : n/a
Ingr IPv6 Fltr-Id : n/a Egr IPv6 Fltr-Id : n/a
Admin ControlWord : Preferred Oper ControlWord : True
Admin BW(Kbps) : 0 Oper BW(Kbps) : 0
Last Status Change : 07/05/2014 00:01:52 Signaling : None
Last Mgmt Change : 07/05/2014 00:01:09 Force Vlan-Vc : Disabled
Endpoint : N/A Precedence : 4
PW Status Sig : Enabled
Class Fwding State : Down
Flags : None
Local Pw Bits : None
Peer Pw Bits : psnIngressFault psnEgressFault
Peer Fault Ip : None
Peer Vccv CV Bits : None
Peer Vccv CC Bits : None
Peer Vccv CC Bits : None
...