R3303-HP HSR6800 Routers MPLS Command Reference

228
<Sysname> system-view
[Sysname] mpls l2vpn vpn1 encapsulation ppp
[Sysname-mpls-l2vpn-vpn1] route-distinguisher 300:1
[Sysname-mpls-l2vpn-vpn1] vpn-target 1:1 2:2 export-extcommunity
[Sysname-mpls-l2vpn-vpn1] vpn-target 1.2.3.4:11 import-extcommunity
xconnect peer
Use xconnect peer to create Martini VCs for a service instance.
Use undo xconnect peer to delete the VCs for a service instance.
Syntax
xconnect peer peer-ip-address pw-id pw-id [ access-mode { ethernet | vlan } | mtu mtu-value |
[ pw-class class-name ] [ backup-peer ip-address backup-pw-id pw-id [ backup-pw-class class-name |
revertive [ wtr-time wtr-time ] ] * ] ] *
undo xconnect peer
Views
Service instance view
Default command level
2: System level
Parameters
peer-ip-address: Specifies the IP address of the remote peer.
pw-id pw-id: Specifies the PW ID of the Martini VC. The value range for the PW ID is 1 to 4294967295.
access-mode: Specifies the access mode of the service instance as Ethernet or VLAN. The default access
mode is VLAN.
ethernet: Specifies the access mode as Ethernet.
vlan: Specifies the access mode as VLAN.
mtu mtu-value: Specifies the MTU in the range of 46 to 65535. The default is 1500.
pw-class class-name: Specifies a PW class by its name, a case-insensitive string of 1 to 19 characters. If
you do not specify a PW class, or you specify a PW class but the PW class does not specify a tunneling
policy or the specified tunneling policy is not configured, the default tunneling policy will be used. 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.
backup-peer ip-address: Specifies the IP address of the peer PE of the backup VC.
backup-pw-id pw-id: Specifies the PW ID of the backup VC, in the range of 1 to 4294967295.
backup-pw-class class-name: Specifies the PW class for the backup VC. The class-name argument is a
case-insensitive string of 1 to 19 characters. If you do not specify a template class, or you specify a PW
class but the PW class does not specify a tunneling policy or the specified tunneling policy is not
configured, the default tunneling policy will be used. 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.