Parameter | Description | Value |
---|---|---|
l2vpn-name |
Specifies an MPLS L2VPN instance name. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. The string can contain spaces if it is enclosed in double quotation marks ("). |
remote-ce remote-ce-id |
Specifies a remote CE ID. |
The value is an integer ranging from 0 to 65534. |
down |
Displays information about VPWS connections in the Down state. If down is not configured, information about all VPWS connections is displayed. |
- |
up |
Displays information about VPWS connections in the Up state. If up is not configured, information about all VPWS connections is displayed. |
- |
verbose |
Displays detailed VPWS connection information. |
- |
Usage Scenario
To check BGP VPWS connection information after configuring BGP VPWS, run the display mpls l2vpn connection command.
Prerequisites
BGP VPWS has been configured.
Precautions
If a device has large numbers of VPWS connections, filter undesired information by specifying related parameters when running the
display mpls l2vpn connection command. Otherwise, excessive output information may cause the following problems:The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mpls l2vpn connection 1 total connections, connections: 1 up, 0 down, 0 local, 1 remote, 0 unknown VPN name: vpn1, 1 total connections, connections: 1 up, 0 down , 0 local, 1 remote, 0 unknown CE name: ce1, id: 1, Rid type status peer-id route-distinguisher interface primary or not ---------------------------------------------------------------------------- 2 rmt up 3.3.3.9 100:1 GigabitEthernet0/1/0 primary
Item | Description |
---|---|
1 total connections | Information about all BGP VPWS connections on the local device, including the total number of connections, number of connections in the Up state, number of connections in the Down state, number of local connections, number of remote connections, and number of unknown connections. |
total | Total number of connections of an MPLS L2VPN instance. |
unknown | Number of unknown connections of an MPLS L2VPN instance. |
VPN name | MPLS L2VPN instance name. |
CE name | Local CE name. |
Rid | Remote CE ID. |
type | Type of the CE connection:
|
status | CE connection status:
|
peer-id | Peer IP address. |
route-distinguisher | RD of an MPLS L2VPN instance. |
interface | AC interface connecting to a CE. |
primary or not | Whether a VC is a primary or secondary VC:
|
up | Number of Up connections of an MPLS L2VPN instance. |
id | Local CE ID. |
local | Number of local connections of an MPLS L2VPN instance. |
remote | Number of remote connections of an MPLS L2VPN instance. |
connections | CE connection type:
|