R2511-HP MSR Router Series MPLS Command Reference(V5)

71
connection
Use connection to create a Kompella connection.
Use undo connection to delete a Kompella connection on a CE interface.
Syntax
connection [ ce-offset ce-id ] interface interface-type interface-number [ tunnel-policy
tunnel-policy-name ]
undo connection { ce-offset id | interface interface-type interface-number }
Views
MPLS L2VPN CE view
Default command level
2: System level
Parameters
ce-offset ce-id: Specifies the ID of the peer CE.
interface interface-type interface-number: Specifies the interface connecting the local CE. The
encapsulation type must be same as that of the VPN.
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.
All MSR routers support the command, but they have different value ranges for the following parameter:
Parameter MSR900 MSR93
X
MSR20-1
X
MSR20
MSR30
MSR50 MSR1000
ce-offset id 0 to 299 0 to 299 0 to 299 0 to 199
1 to 300 0 to 499 1 to 300
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/0
default-nexthop
Use default-nexthop to specify the default next hop.
Use undo default-nexthop to restore the default.