3com S7906E Guide De Référence

Page de 2327
 
1-4 
<Sysname> system-view 
[Sysname] mpls l2vpn vpn1 
[Sysname-mpls-l2vpn-vpn1] ce ce1 
[Sysname-mpls-l2vpn-ce-vpn1-ce1] connection ce-offset 1 interface vlan-interface 10 
display bgp l2vpn 
Syntax 
display bgp l2vpn { all | group group-name ] | peer [ [ ip-address ] verbose ] | route-distinguisher 
route-distinguisher ce-id ce-id [ label-offset label-offset ] ] } 
View 
Any view 
Default Level 
1: Monitor level 
Parameters 
all: Displays all L2VPN information. 
group-name: Name of the peer group, a string of 1 to 47 characters. 
ip-address: IP address of the peer. 
verbose: Displays detailed information. 
route-distinguisher: Route distinguisher in the format of nn:nn or IP-address:nn. It can be a string of 3 to 
21 characters. 
ce-id: VPN CE ID of the MPLS L2VPN connection, in the range 0 to 199. A remote connection requires 
the remote CE number. 
label-offset: Label offset, in the range 0 to 65,535. 
Description 
Use the display bgp l2vpn command to display information about BGP L2VPN in the BGP routing 
table. 
Related commands: route-distinguisher. 
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