MPLS configuration
General MPLS settings
forwarding interface
This command enables mpls packet forwarding on the interface.
The use of a negative form (no) of the command disables mpls packet forwarding on the interface.
Syntax
[no] forwarding interface { <IF> | <TUN> }
Parameters
<IF> – an interface's name, specified in the form described in Section Types and naming order of router interfaces;
<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels;
Default value
Disabled.
Required privilege level
10
Command mode
CONFIG-MPLS
Example
esr(config-mpls)# forwarding interface gi 1/0/14
l2vpn
This command switches to the MPLS-L2 tunnels configuration context.
The use of a negative form (no) of the command removes all settings of MPLS-L2 tunnels.
Syntax
[no] l2vpn
Parameters
The command does not contain parameters.
Required privilege level
10
Command mode
CONFIG-MPLS
Example
esr(config-mpls)# l2vpn
ldp
This command switches to the LDP configuration context.
The use of a negative form (no) of the command removes all LDP settings.
Syntax
[no] ldp
Parameters
The command does not contain parameters.
Required privilege level
10
Command mode
CONFIG-MPLS
Example
esr(config-mpls)# ldp
mpls
This command switches to the MPLS functionality configuration context.
The use of a negative form (no) of the command removes all LDP functionality settings.
Syntax
[no] mpls
Parameters
The command does not contain parameters.
Required privilege level
10
Command mode
CONFIG
Example
esr(config)# mpls
system cpu load-balance mpls passenger
This command enables the traffic balancing functionality between the router CPUs.
The use of a negative form (no) of the command disables traffic balancing functionality.
Syntax
system cpu load-balance mpls passenger [ <OPTION> ]
no system cpu load-balance mpls passenger [ <OPTION> ]
Parameters
<OPTION> parameter may take values:
- ip – enables searching and adding ip-src and ip-dst to the hash calculation;
- ipoe-pw-with-cw – ability to explicitly specify that a Control Word header is used.
- ipoe-pw-without-cw – ability to explicitly specify that a Control Word header is not used.
Default value
Disabled. The hash calculation does not use ip-src and ip-dst.
Required privilege level
10
Command mode
CONFIG
Example
esr(config)# system cpu load-balance mpls passenger ip
LDP settings
address-family
The command allows to enter the LDP address family parameter configuration mode.
The use of a negative form (no) of the command removes all parameters from the configuration.
Syntax
[no] address-family ipv4
Parameters
The command does not contain parameters.
Required privilege level
10
Command mode
CONFIG-LDP
Example
esr(config-ldp)# address-family ipv4
advertise-labels
The command allows to set the FECs for which LDP will allocate and distribute tags.
The use of a negative form (no) of the command returns the default value
Syntax
advertise-labels <OBJ-GROUP-NETWORK-NAME>
no advertise-labels
Parameters
<OBJ-GROUP-NETWORK-NAME> – IP addresses profile name, set by the string of up to 31 characters.
Default value
Tags are highlighted and distributed to all FECs
Required privilege level
10
Command mode
CONFIG-LDP
Example
esr(config-ldp)# advertise-labels mpls_adv
clear mpls ldp neighbor
This command is used to clear the LDP neighbor table.
Syntax
clear mpls ldp neighbor [ <ADDR> ]
Parameters
<ADDR> – LDP neighbor’s IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].
Required privilege level
1
Command mode
ROOT
Example
ESR1# clear mpls ldp neighbor 1.1.1.1
description
This command allows to add a description for LDP neighbor.
The use of a negative form (no) of the command removes LDP neighbor description.
Syntax
description <STRING>
no description
Parameters
<STRING> – string from 1 to 255 characters.
Required privilege level
10
Command mode
CONFIG-LDP-NEIGH
Example
esr(config-ldp-neig)# description ESR1
discovery hello holdtime
This command sets the value of the holdtime parameter. Holdtime — time interval during which at least one LDP Hello message should arrive.
The use of a negative form (no) of the command sets the default value.
Syntax
discovery hello holdtime <TIME>
no discovery hello holdtime
Parameters
<TIME> — time in the range of [3..65535] seconds.
Default value
15
Required privilege level
10
Command mode
CONFIG-LDP
CONFIG-LDP-AF-IPV4-IF
Example
esr(config-ldp-af-ipv4-if)# discovery hello holdtime 45
discovery hello interval
This command sets the value of the hello interval parameter. Hello interval — time interval between sending the ldp hello message.
The use of a negative form (no) of the command sets the default value.
Syntax
discovery hello interval <TIME>
no discovery hello interval
Parameters
<TIME> — time in the range of [1..65535] seconds.
Default value
5
Required privilege level
10
Command mode
CONFIG-LDP
CONFIG-LDP-AF-IPV4-IF
Example
esr(config-ldp-af-ipv4-if)# discovery hello interval 15
discovery targeted-hello accept
This command allows the reception of targeted-hello messages.
The use of a negative form (no) of the command denies the reception of targeted-hello messages.
Syntax
discovery targeted-hello accept
no targeted-hello accept
Parameters
The command does not contain parameters.
Required privilege level
10
Command mode
CONFIG-LDP-AF-IPV4
Example
esr(config-ldp-af-ipv4)# discovery targeted-hello accept
discovery targeted-hello interval
This command sets the value of the hello interval parameter. Hello interval — time interval between sending the ldp hello messages for targeted neighbor.
The use of a negative form (no) of the command sets the default value.
Syntax
discovery targeted-hello interval <TIME>
no discovery targeted-hello interval
Parameters
<TIME> — time in the range of [1..65535] seconds.
Default value
5
Required privilege level
10
Command mode
CONFIG-LDP
CONFIG-LDP-NEIGH
Example
esr(config-ldp-neig)# discovery targeted-hello interval 15
discovery targeted-hello holdtime
This command sets the value of the holdtime parameter for the targeted neighbor. Holdtime — time interval during which at least one LDP Hello message should arrive.
The use of a negative form (no) of the command sets the default value.
Syntax
discovery targeted-hello holdtime <TIME>
no discovery targeted-hello holdtime
Parameters
<TIME> — time in the range of [3..65535] seconds.
Default value
45
Required privilege level
10
Command mode
CONFIG-LDP
CONFIG-LDP-NEIGH
Example
esr(config-ldp-af-ipv4-if)# discovery hello holdtime 45
egress-label-type
This command sets the mode when the explicit-null (0) tag is announced for FECs whose router is an egress lsr instead of the implicit null (3) tag.
The use of a negative form (no) of the command sets the default value.
Syntax
egress-label-type explicit-null
no egress-label-type
Parameters
The command does not contain parameters.
Default value
Advertising IMPLICIT NULL (3)
Required privilege level
10
Command mode
CONFIG-LDP
Example
esr(config-ldp)# egress-label-type explicit-null
enable
This command enables the LDP process.
The use of a negative form (no) of the command disables the LDP process.
Syntax
[no] enable
Parameters
The command does not contain parameters.
Default value
Disabled.
Required privilege level
10
Command mode
CONFIG-LDP
Example
esr(config-ldp)# enable
interface
This command enables the reception and sending of ldp hello messages on the interface.
The use of a negative form (no) of the command disables the reception and sending of ldp hello messages on the interface.
Syntax
[no] interface { <IF> | <TUN> }
Parameters
<IF> – an interface's name, specified in the form described in Section Types and naming order of router interfaces;
<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels;
Required privilege level
10
Command mode
CONFIG-LDP-AF-IPV4
Example
esr(config-ldp-af-ipv4)# interface gigabitethernet 1/0/1
keepalive
This command is used to set the waiting time for a keepalive message from a neighbor. If the timer expires, the neighbor is considered unavailable.
The use of a negative form (no) of the command sets the default value.
Syntax
keepalive <TIMER>
no keepalive
Parameters
<TIMER> – Time in seconds [3..65535].
Default value
180
Required privilege level
10
Command mode
CONFIG-LDP
CONFIG-LDP-NEIGH
Example
esr(config-ldp)# keepalive 120
esr(config-ldp-neig)# keepalive 160
neighbor
This command allows to create and switch to the LDP-targeted neighbor configuration mode.
The use of a negative form (no) of the command removes targeted neighbor from the configuration.
Syntax
[no] neighbor <ADDR>
Parameters
<ADDR> – neighbor’s IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255];
Required privilege level
10
Command mode
CONFIG-LDP
Example
esr(config-ldp)# neighbor 2.2.2.2
password
This command sets a password for authentication with a neighbor.
The use of a negative form (no) of the command removes the password.
Syntax
password { <TEXT> | encrypted <ENCRYPTED-TEXT> }
no password
Parameters
<CLEAR-TEXT> – password, sets by string of [8..16] characters;
<ENCRYPTED-TEXT> – encrypted password of [8..16] bytes ([16..32] characters) in hexadecimal format (0xYYYY...) or (YYYY...).
Required privilege level
10
Command mode
CONFIG-LDP-NEIGH
Example
esr(config-ldp-neig)# password cleartextpassword
router-id
This command sets the router ID for LDP.
The use of a negative form (no) of the command removes the router ID for LDP.
Syntax
router-id <ID>
no router-id
Parameters
<ID> – router identifier, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].
Required privilege level
10
Command mode
CONFIG-LDP
Example
esr(config-ldp)# router-id 1.1.1.1
show mpls ldp binding
This command allows to display information on the selected tags.
Syntax
show mpls ldp binding [ detailed ] [ { <ADDR/LEN> | neighbor <ADDR> | [ local <LABEL-ID> ] [ remote <LABEL-ID> ] } ]
Parameters
<ADDR/LEN> – IP subnet, defined as AAA.BBB.CCC.DDD/EE where each part AAA-DDD takes values of [0..255] and EE takes values of [1..32].
<LABEL-ID> – label, specified in the range [0-104875].
<ADDR> – LDP neighbor’s IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].
detailed – information is given in the detailed format.
Required privilege level
1
Command mode
ROOT
Example
ESR1# sh mpls ldp bindings
10.10.0.4/32:
local label: 16
remote label: 16 lsr: 10.10.0.1
remote label: 149 lsr: 10.10.0.3
remote label: imp-null lsr: 10.10.0.4 inuse
10.10.0.2/32:
local label: imp-null
remote label: 34 lsr: 10.10.0.1
remote label: 152 lsr: 10.10.0.3
remote label: 142 lsr: 10.10.0.4
10.10.0.1/32:
local label: 20
remote label: imp-null lsr: 10.10.0.1 inuse
remote label: 139 lsr: 10.10.0.3
remote label: 127 lsr: 10.10.0.4
show mpls ldp discovery
This command allows to display information on the status of the LDP discovery process
Syntax
show mpls ldp discovery [ detailed ]
Parameters
detailed – information is given in the detailed format.
Required privilege level
1
Command mode
ROOT
Example
ESR1# show mpls ldp discovery detailed
Local LDP ID: 1.1.1.1
Discovery sources:
Interfaces:
gigabitethernet 1/0/1:
Hello interval: 5 seconds
Transport IP address: 1.1.1.1
LDP ID: 4.4.4.4
Source IP address: 10.10.10.2
Transport IP address: 4.4.4.4
Hold time: 15 seconds
Proposed hold time: 15/15 (local/peer) seconds
Targeted hellos:
1.1.1.1 -> 4.4.4.4:
Hello interval: 5 seconds
Transport IP address: 1.1.1.1
LDP ID: 4.4.4.4
Source IP address: 4.4.4.4
Transport IP address: 4.4.4.4
Hold time: 45 seconds
Proposed hold time: 45/45 (local/peer) seconds
show mpls forwarding-table
This command allows to output the label switching table (LFIB)
Syntax
show mpls forwarding-table [ { <ADDR/LEN> | label <LABLE-ID> | nexthop <ADDR> | tunnel <ID> } ]
Parameters
<ADDR/LEN> – IP subnet, defined as AAA.BBB.CCC.DDD/EE where each part AAA-DDD takes values of [0..255] and EE takes values of [1..32].
<LABEL-ID> – label, specified in the range [0..104875].
<ADDR> – LDP neighbor’s IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].
<ID> — identifier, specified in the range [1..2000000].
Required privilege level
1
Command mode
ROOT
Example
ESR1# show mpls forwarding-table
Local Outgoing Prefix Outgoing Next Hop
label label or tunnel ID Interface
-------- -------- ------------------------------------------- ---------------- ---------------------------------------
18 16 PW ID 100 -- 4.4.4.4
17 imp-null 4.4.4.4/32 gi1/0/1 10.10.10.2
show mpls ldp neighbor
This command displays information about all LDP neighbors.
Syntax
show mpls ldp neighbor [ { <ADDR> | interface { <IF> | <TUN> } } ]
Parameters
<ADDR> – LDP neighbor’s IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].
<IF> – an interface's name, specified in the form described in Section Types and naming order of router interfaces;
<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels;
Required privilege level
1
Command mode
ROOT
Example
ESR1# show mpls ldp neighbor
Peer LDP ID: 4.4.4.4; Local LDP ID 1.1.1.1
State: Operational
TCP connection: 4.4.4.4:38759 - 1.1.1.1:646
Messages sent/received: 195/194
Uptime: 03:07:33
LDP discovery sources:
gigabitethernet 1/0/1
1.1.1.1 -> 4.4.4.4
targeted
This command enables the sending of targeted hello messages.
The use of a negative form (no) of the command disables the sending of targeted hello messages.
Syntax
[no] targeted
Parameters
The command does not contain parameters.
Default value
Disabled.
Required privilege level
10
Command mode
CONFIG-LDP-NEIGH
Example
esr(config-ldp-neig)# targeted
transport-address
This command specifies the source ip-address for LDP messages over TCP.
The use of a negative form (no) of the command removes the source ip-address for LDP messages over TCP.
Syntax
transport-address <ADDR>
no transport-address
Parameters
<ADDR> – defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].
Required privilege level
10
Command mode
CONFIG-LDP-AF-IPV4
Example
esr(config-ldp-af-ipv4)# transport-address 1.1.1.1
Настройки MPLS L2VPN
autodiscovery bgp
The command allows to enter the BGP auto-discovery and signaling configuration context.
The use of a negative form (no) of the command removes the parameter from the configuration.
Syntax
[no] autodiscovery bgp
Parameters
None.
Required privilege level
10
Command mode
CONFIG-L2VPN-EOMPLS
Example
esr(config-l2vpn-vpls)# autodiscovery bgp
ignore encapsulation-mismatch
This command allows a pseudowire connection to be established if the encapsulation type does not match.
The use of a negative form (no) of the command enables the encapsulation type check before installing the pseudowire connection.
Syntax
[ no ] ignore encapsulation-mismatch
Parameters
The command does not contain parameters.
Default value
Disabled.
Required privilege level
10
Command mode
CONFIG-AUTODISCOVERY-BGP
Example
esr(config-autodiscovery-bgp)# ignore encapsulation-mismatch
ignore mtu-mismatch
This command allows a pseudowire connection to be established if the MTU value does not match.
The use of a negative form (no) of the command enables the MTU value check before installing the pseudowire connection.
Syntax
[no] ignore mtu-mismatch
Parameters
The command does not contain parameters.
Default value
Disabled.
Required privilege level
10
Command mode
CONFIG-AUTODISCOVERY-BGP
Example
esr(config-autodiscovery-bgp)# ignore mtu-mismatch
mtu
This command sets the MTU value for the pseudowire connection. The set value is passed to the extended community.
The use of a negative form (no) of the command sets the default MTU value.
Syntax
mtu <VALUE>
no mtu
Parameters
<VALUE> – MTU value, may take values in the range [552..10000].
Default value
1500
Required privilege level
10
Command mode
CONFIG-AUTODISCOVERY-BGP
Example
esr(config-autodiscovery-bgp)# mtu 1510
rd
This command is used to set Route Distinguisher for the given VPLS instance.
The use of a negative form (no) of the command removes the parameter from the configuration.
Syntax
rd <RD>
no rd
Parameters
<RD> – Route distinguisher value, specified in one of the following forms:
- <ASN>:<nn> — where <ASN> may take values [1..65535], nn may take values [1..65535];
- <ADDR>:<nn> — where <ADDR> specified as AAA.BBB.CCC.DDD/EE, AAA-DDD may take values [0..255], nn may take values [1..65535];
- <4ASN>:<nn> — where <4ASN> may take values [1..4294967295], nn may take values [1..65535];
Required privilege level
10
Command mode
CONFIG-AUTODISCOVERY-BGP
Example
esr(config-vrf)# rd 65000:10001
route-target
This command is used to set the route-target extended community value list.
Syntax
[no] route-target { import | export } <RT>
Parameters
import – command defines routes from the L2VPN table with value <RT>, which will be placed to the corresponding VPLS instance.
export – command sets the <RT> values with which routes from this VPLS instance will be announced in BGP.
<RT> – route-target value, specified in one of the following forms:
- <ASN>:<nn> — where <ASN> may take values [1..65535], nn may take values [1..65535];
- <ADDR>:<nn> — where <ADDR> specified as AAA.BBB.CCC.DDD/EE, AAA-DDD may take values [0..255], nn may take values [1..65535];
- <4ASN>:<nn> — where <4ASN> may take values [1..4294967295], nn may take values [1..65535];
Required privilege level
10
Command mode
CONFIG-AUTODISCOVERY-BGP
Example
esr(config-vrf)# route-target export 65000:10001
ve id
This command sets the identifier of the VPLS instance.
The use of a negative form (no) of the command removes the parameter from the configuration.
Syntax
ve id <ID>
no ve id
Parameters
<ID> – VPLS instance identifier, takes values in the range of [1..16384].
Required privilege level
10
Command mode
CONFIG-AUTODISCOVERY-BGP
Example
esr(config-autodiscovery-bgp)# ve id 5
ve range
This command configures the range of VPLS edge device IDs.
The use of a negative form (no) of the command sets the default ve range value.
Syntax
ve range <ID
no ve range
Parameters
<ID> – identifier of the edge device, may take values in the range [8...100].
Required privilege level
10
Default value
10
Command mode
CONFIG-AUTODISCOVERY-BGP
Example
esr(config-autodiscovery-bgp)# ve range 20
vpn id
This command sets the identifier of the VPN connection.
The use of a negative form (no) of the command removes the parameter from the configuration.
Syntax
vpn id <ID
no vpn id
Parameters
<ID> – VPN connection identifier, takes values in the range of [1..4294967295].
Required privilege level
10
Command mode
CONFIG-AUTODISCOVERY-BGP
Example
esr(config-autodiscovery-bgp)# vpn id 5
bridge-group
This command is used to specify VSI (Virtual Switching Instance).
The use of a negative form (no) of the command removes the parameter from the configuration.
Syntax
bridge-group <INDEX>
no bridge-group
Parameters
<INDEX> – bridge-group index. Bridge with the specified index must be added to the configuration beforehand.
Required privilege level
10
Command mode
CONFIG-L2VPN-EOMPLS
Example
esr(config-l2vpn-vpls)# bridge-group 25
description
This command sets the description.
The use of a negative form (no) of the command removes description.
Syntax
description <LINE>
no description
Parameters
<LINE> – description. Set by the string [1..255] characters long.
Required privilege level
10
Command mode
CONFIG-L2VPN-PW
CONFIG-L2VPN-PW-CLASS
Example
esr(config-l2vpn-pw)# description PW_FOR_VLAN398
enable
The command enables a configurable functionality.
The use of a negative form (no) of the command disables the configurable functionality.
Syntax
[no] enable
Parameters
The command does not contain parameters
Required privilege level
10
Command mode
CONFIG-L2VPN-PW
CONFIG-L2VPN-EOMPLS
Example
esr(config-l2vpn-pw)# enable
encapsulation mpls mtu
This command sets the MTU value for the pseudowire interfaces included in this pw-class.
The use of a negative form (no) of the command sets the default MTU value.
Syntax
encapsulation mpls mtu <MTU>
no encapsulation mpls mtu
Parameters
<MTU> — MTU value, takes values in the range of [552..10000]
Default value
1500
Required privilege level
10
Command mode
CONFIG-L2VPN-PW-CLASS
Example
esr(config-l2vpn-pw-class)# encapsulation mpls mtu 1464
encapsulation mpls status-tlv disable
This command disables status-tlv messaging.
The use of a negative form (no) of the command sets the default value.
Syntax
[no] encapsulation mpls status-tlv disable
Parameters
The command does not contain parameters.
Default value
status-tlv enable
Required privilege level
10
Command mode
CONFIG-L2VPN-PW-CLASS
Example
esr(config-l2vpn-pw-class)# encapsulation mpls status-tlv disable
interface
This command is used to set the Attached Circuit interface.
The use of a negative form (no) of the command removes a Attached Circuit interface.
Syntax
interface { <IF> | <TUN> }
no interface
Parameters
<IF> – an interface's name, specified in the form described in Section Types and naming order of router interfaces;
<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels;
Required privilege level
10
Command mode
CONFIG-L2VPN-EOMPLS
Example
esr(config-l2vpn-p2p)# interface gigabitethernet 1/0/4.398
neighbor-address
This command specifies the address of the router to which the pseudo-wire will be established.
The use of a negative form (no) of the command sets the default value.
Syntax
neighbor-address <ADDR>
no neighbor-address
Parameters
<ADDR> – router IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].
Default value
The address of the neighbor is taken as LSR_ID
Required privilege level
10
Command mode
CONFIG-L2VPN-EOMPLS
Example
esr(config-l2vpn-pw)# neighbor-address 192.168.24.78
p2p
This command is used to create a point-to-point type L2VPN (VPWS).
The use of a negative form (no) of the command removes a specified p2p.
Syntax
[no] p2p <NAME>
Parameters
<NAME> — name of the p2p service, set by the string of up to 31 characters.
Required privilege level
10
Command mode
CONFIG-L2VPN
Example
esr(config-l2vpn)# p2p VLAN_398
pw
This command is used to create the pseudo-wire.
The use of a negative form (no) of the command removes the pseudo-wire.
Syntax
pw <PW_ID> <LSR_ID>
no pw
Parameters
<PW_ID> — psewdowire identifier, specified in the range [1..4294967295]
<LSR_ID> — identifier of LSR to which pseudo-wire is built, specified as AAA.BBB.CCC.DDD, where each part takes values [0..255]
Required privilege level
10
Command mode
CONFIG-L2VPN-EOMPLS
Example
esr(config-l2vpn-p2p)# pw 398 1.1.1.1
pw-class
This command is used to create the pw-class.
The use of a negative form (no) of the command removes the pw-class from the configuration.
Syntax
[no] pw-class <WORD>
Parameters
<WORD> — pw-class name [1..31] characters long.
Required privilege level
10
Command mode
CONFIG-L2VPN
Example
esr(config-l2vpn)# pw-class Class1
pw-class
This command is used to set the pw class for the pseudowire.
The use of a negative form (no) of the command removes the pw class for the given pseudowire.
Syntax
pw-class <WORD>
no pw-class
Parameters
<WORD> — pw-class name [1..31] characters long.
Required privilege level
10
Command mode
CONFIG-L2VPN-PW
Example
esr(config-l2vpn-pw)# pw-class Class1
transport-mode
This command allows to select the pseudowire transport mode.
The use of a negative form (no) of the command returns the default value
Syntax
transport-mode { ethenet | vlan }
no transport-mode
Parameters
<ethernet> — mode in which the 802.1Q tag is removed from the header when entering pseudo-wire;
<vlan> — mode in which the 802.1Q tag can be saved when transmitted over pseudo-wire.
Default value
ethernet
Required privilege level
10
Command mode
CONFIG-L2VPN-EOMPLS
Example
esr(config-l2vpn-p2p)# transport-mode vlan
vpls
This command is used to create a point-to-multipoint type L2VPN.
The use of a negative form (no) of the command removes a specified vpls.
Syntax
[no] vpls <NAME>
Parameters
<NAME> — name of the vpls service, set by the string of up to 31 characters.
Required privilege level
10
Command mode
CONFIG-L2VPN
Example
(config-l2vpn)# vpls Customer1
show mpls l2vpn bindings
This command allows to display information on the pseudowire parameters.
Syntax
show mpls l2vpn binding [ { [ local <LABEL-ID> ] [ remote <LABEL ID> ] | neighbor <ADDR> | pw <PW-ID> | ve-id <VE-ID> } ]
Parameters
<LABEL-ID> – MPLS-label, specified in the range [0..104875]
<ADDR> – LDP neighbor’s IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].
<PW-ID> — psewdowire identifier, specified in the range [1..4294967295]
<VE-ID> – identifier of the PE router in the VPLS domain [1.. 16384]
Required privilege level
1
Command mode
ROOT
Example
esr# show mpls l2vpn bindings pw 100
Neighbor: 1.1.1.1, PW ID: 100
Local label: 19
Type: Eth Tagged
Group ID: 0
MTU: 1500
Remote label: 28
Type: Eth Tagged
Group ID: 0
MTU: 1500
show mpls l2vpn pseudowire
This command allows to display information on the pseudowire status.
Syntax
show mpls l2vpn pseudowire [ pw <PW-ID> ] [neighbor <ADDR> ]
Parameters
<PW-ID> — psewdowire identifier, specified in the range [1..4294967295]
<ADDR> – targeted LDP neighbor’s IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].
Required privilege level
1
Command mode
ROOT
Example
esr# show mpls l2vpn pseudowire
Neighbor PW ID Type Status
--------------------------------------- ---------- ---------- --------
1.1.1.1 100 Eth Tagged Up
show mpls l2vpn p2p
This command allows to get up-to-date information on the VPWS service.
Syntax
show mpls l2vpn p2p [ name <WORD> ]
Parameters
<WORD> — service name [1..31] characters long.
Required privilege level
1
Command mode
ROOT
Example
esr# sh mpls l2vpn p2p
P2P: VPWS
gigabitethernet 1/0/4.10:
MTU: 1500
Status: Up
PW ID 100, Neighbor 10.10.0.2:
MTU: 1500
Status TLV: Enable
Last change: 00:05:35
Status: Up
show mpls l2vpn pw-class
This command allows to retrieve operational information from the configuration pattern applied to the pseudowire.
Syntax
show mpls l2vpn pw-class [ name <WORD> ]
Parameters
<WORD> — pattern name [1..31] characters long.
Required privilege level
1
Command mode
ROOT
Example
PE1# sh mpls l2vpn pw-class
PW-class Neighbor PW ID Status Status-tlv MTU
-------------------------------- ---------- ---------- ------ ---------- ------
PW_template 10.10.0.2 100 UP Enable 1500
show mpls l2vpn vpls
This command allows to get up-to-date information on the VPLS service.
Syntax
show mpls l2vpn vpls [ name <WORD> ]
Parameters
<WORD> — service name [1..31] characters long.
Required privilege level
1
Command mode
ROOT
Example
esr# sh mpls l2vpn vpls
VPLS: VPLS
bridge 100:
MTU: 1500
Status: UP
PWs:
PW ID 23, Neighbor 10.10.0.1:
MTU: 1500
Status TLV: Enable
Last change: 19:00:07
Status: UP