R3303-HP HSR6800 Routers MPLS Command Reference

187
32-bit AS number:16-bit user-defined number, such as 65536:1. In this format, the minimum value of
the AS number is 65536.
ce-id ce-id: Specifies the ID of the peer CE, in the range of 0 to 499.
label-offset label-offset: Specifies the label offset in the range of 0 to 65535.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display all information about L2VPN in the BGP routing table.
<Sysname> display bgp l2vpn all
BGP Local router ID : 2.2.2.9, local AS number : 100
Origin codes:i - IGP, e - EGP, ? - incomplete
bgp.l2vpn: 1 destination
Route Distinguisher: 100:1
CE ID Label Offset Label Base nexthop pref as-path
1 0 8202 3.3.3.9 100
Table 64 Command output
Field Descri
p
tion
Origin codes
Route origin codes:
i – IGP—The network layer reachability information is from within
the AS.
e – EGP—The network layer reachability information is learned
through EGP.
? – incomplete—The network layer reachability information is
learned through other ways.
bgp.l2vpn Number of remote CEs in the BGP L2VPN.
CE ID CE number in the VPN.
nexthop IP address of the next hop.
pref Local preference.
as-path AS-PATH of the route.
# Display brief information about L2VPN peers in the BGP routing table.
<Sysname> display bgp l2vpn peer
BGP local router ID : 4.4.4.9
Local AS number : 100
Total number of peers : 1 Peers in established state : 0
Peer V AS MsgRcvd MsgSent OutQ PrefRcv Up/Down State