R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide

186
interface interface-type interface-number: Specifies the interface connecting the local CE. The
encapsulation type must be same as that of the VPN. VLAN interfaces are not supported.
tunnel-policy tunnel-policy-name: Specifies a tunneling policy for the virtual circuit (VC), a string of 1 to
19 characters.
Usage guidelines
When creating a Kompella connection on a PE, you must specify the ID of the peer CE and the PE's
interface connected to the local CE.
If you do not specify a tunneling policy, or if you specify a tunneling policy name but do not configure
the policy, the default policy is used for the VC. The default tunneling policy selects only one tunnel in this
order: LSP tunnel, GRE tunnel, CR-LSP tunnel.
For information about how to configure a tunneling policy, see MPLS Configuration Guide.
Examples
# Create a Kompella connection.
<Sysname> system-view
[Sysname] mpls l2vpn vpn1
[Sysname-mpls-l2vpn-vpn1] ce ce1
[Sysname-mpls-l2vpn-ce-vpn1-ce1] connection ce-offset 1 interface serial 2/1/0
display bgp l2vpn
Use display bgp l2vpn to display information about BGP L2VPN in the BGP routing table.
Syntax
display bgp l2vpn { all | group [ group-name ] | peer [ [ ip-address ] verbose ] | route-distinguisher
route-distinguisher [ ce-id ce-id [ label-offset label-offset ] ] } [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
all: Displays all L2VPN information in the BGP routing table.
group group-name: Specifies the name of a BGP peer group, a case-sensitive string of 1 to 47
characters.
peer: Displays L2VPN information for the specified BGP peer.
ip-address: Specifies the IP address of a BGP peer.
verbose: Displays detailed information.
route-distinguisher route-distinguisher: Specifies an RD, a string of 3 to 21 characters. You can specify
an RD in the following formats:
16 - bi t AS nu mb er :32-bit user-defined number, such as 101:3.
32-bit IP address:16-bit user-defined number, such as 192.168.122.15:1.