Riverstone Networks WICT1-12 Network Router User Manual


 
Riverstone Networks RS Switch Router User Guide Release 8.0 17-31
MPLS Configuration Configuring L3 Label Switched Paths
You can use the
mpls show policy
command to display information on MPLS policies. All configured policies are
shown; policies that are applied to LSPs are shown to be “INUSE.” The following shows an example of the output
from router R1; note that the policy ‘POL1’ is shown to be “INUSE.”
You can also use the
ip-policy show
command to display information on IP policies, including MPLS policies.
Only active policies (MPLS policies that are applied to LSPs) are shown.The following is an example of the output on
router R1:
Note that in the above output ‘MPLS_PBR_SP1’ refers to the name of the LSP, which in this configuration example
is ‘SP1.’ Similarly, the ACL ‘MPLS_ACL_POL1’ refers to the name of the policy, which in this configuration
example is ‘POL1.’
17.5.2 Configuring L3 Dynamic LSPs
With dynamic LSPs, you configure the LSP on the ingress router only. The ingress router sends RSVP signaling
information to other LSRs in the path in order to establish and maintain the LSP. Labels are dynamically assigned on
the LSRs.
There are two types of dynamic LSPs:
Explicit: You configure the LSP on the ingress router. The sequence of other routers in the path can
be specified. The path can be strict (the path must go through the specified routers and must not
include other routers) or loose (the path can include other routers or interfaces). On the RS, strict is
the default when configuring an explicit path. The ingress router uses signaling to pass forwarding
R1
# mpls show policy all
Name Type Destination Port Source Port TOS Prot Use
----------- ---- --------------- ------ ------------- ------ --- ----- -----
POL1 L3 50.1.0.0 any 50.1.0.0 any any IP INUSE
R1#
ip-policy show all
--------------------------------------------------------------------------------
IP Policy name : MPLS_PBR_SP1
Applied Interfaces : all-IP-interfaces local-policy
Load Policy : first available
Health Check : disabled
ACL Source IP/Mask Dest. IP/Mask SrcPort DstPort TOS TOS-MASK Prot ORIG AS
--- -------------- ------------- ------- ------- --- -------- ---- -------
MPLS_ACL_POL1anywhere 50.1.0.0/16 any any any None IP
Next Hop Information
--------------------
Seq Rule ACL Cnt Action Next Hop Cnt Last
--- ---- -------- --- ----------- -------- --- ----
10 permit MPLS_ACL_POL1 0 Policy First 10.1.1.1 0 Dwn