mpls ilm-entry swap
Use this command to create an ILM entry in the ILM table to which a swap incoming interface is bound. Upon receipt of a labeled packet on an MPLS-enabled router, a lookup is done based on the incoming label in the ILM table. If a match is found, the packet may either be label-switched downstream, or popped and passed over IP.
Use the no option with the command to delete an ILM entry. If there is no match, an error message displays.
Command Syntax
mpls ilm-entry <16-52443> swap <16-52443> IFNAME A.B.C.D (A.B.C.D/M|A.B.C.D A.B.C.D)
mpls ilm-entry <16-52443> IFNAME swap <16-52443> IFNAME A.B.C.D (A.B.C.D/M|A.B.C.D A.B.C.D)
no mpls ilm-entry <16-52443> swap <16-52443> IFNAME A.B.C.D (A.B.C.D/M|A.B.C.D A.B.C.D)
no mpls ilm-entry <16-52443> IFNAME swap <16-52443> IFNAME A.B.C.D (A.B.C.D/M|A.B.C.D A.B.C.D)
Parameters
LABEL
Incoming label value range <16-1048575>
IFNAME
Incoming interface name
swap
Specify swap for the incoming label
LABEL
Configure an outgoing label with a value from <16-1048575>
Note: A value of 2 indicates explicit NULL and a value of 3 indicates implicit NULL.
IFNAME
Outgoing interface name
A.B.C.D
Nexthop IPv4 address
A.B.C.D
The FEC for which this ILM entry is created
A.B.C.D/M
The FEC for which this ILM entry is created, plus mask
A.B.C.D
A mask for forwarding equivalence class mask
<1-429496725>
ILM index update
Note: When an ILM index value is passed, the ILM entry is updated. If the ILM index is not used, then a new ILM entry is created.
Default
By default, mpls ilm-entry are disabled
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#mpls ilm-entry 16 eth1 swap 17 eth2 1.1.1.1 1.1.1.1/3 1
Last modified date: 07-13-2023