Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring MPLS and H-VPLS (Rev. 03)
Multiprotocol Label Switching
© 2008 Foundry Networks, Inc
Page 25 of 113
round-trip min/avg/max = 10/15/20 ms
Note that “code: 8,1” means return code 8 and return subcode 1.
Example 2 (Unsuccessful lsp trace)
device-name
#
mpls lsp-trace lsp tunnel1
Sending 1 packet(s), timeout is 2 sec:
Legend: X - error, . - timeout, R - transit, ! - egress
Press Esc for break
R 30.0.0.2 code: 8,1 (Label switched)
X 1.1.1.1 code: 4,1 (No mapping for FEC)
. code: 0,1 (* * *)
. code: 0,1 (* * *)
. code: 0,1 (* * *)
. code: 0,1 (* * *)
6 packets sent, 3 packets received, 100% packet loss
For more information about the return codes and subcodes please refer to RFC4379
Draft-ietf-
mpls-lsp-ping-03.
Configuring Static Label-Switched Paths
Table 7
lists the Static LSP Configuration commands.
Table 7: Static LSP Configuration Commands
Command
Description
mpls static-lsp
Creates a new static LSP and enters the Static LSP Configuration
mode.
nexthop
Specifies the IP address of the next LSR.
mpls lsp hold-timer
Specifies the amount of time that the LSP must wait before
reverting the traffic back to a primary path.
inet-map
Assigns a FEC to the LSP.
label-map
Specifies the label and interface that incoming traffic will use.
push
Determines the label to be applied to outgoing traffic.
swap
Specifies the new label that will be used for outgoing traffic.
pop
Removes the label from incoming traffic.
shutdown
Disables the LSP.
Creating a Static LSP and Entering Static LSP Configuration
Mode
The
mpls static-lsp
command, in Global Configuration mode, creates a new static LSP and enters
the Static LSP Configuration mode. If a static LSP with the same name already exists no new LSP
will be created and the existing LSP will be configured.
The
no
form of this command deletes the specified LSP.