peer track admin-vrrp vrid(VSI-LDP view)

Function

The peer track admin-vrrp vrid command binds a service PW in a service VSI to an mVRRP group.

The undo peer track admin-vrrp vrid command unbinds a service PW in a service VSI from an mVRRP group.

By default, no service PW in a service VSI is bound to an mVRRP group.

Format

peer peer-address [ negotiation-vc-id vc-id ] track admin-vrrp interface { interface-name | interface-type interface-number } vrid virtual-router-id pw-redundancy backup-block-all

undo peer peer-address [ negotiation-vc-id vc-id ] track admin-vrrp [ interface { interface-name | interface-type interface-number } vrid virtual-router-id pw-redundancy backup-block-all ]

Parameters

Parameter Description Value
peer-address

Specifies a peer IP address.

The value is in dotted decimal notation.

negotiation-vc-id vc-id

Specifies a VC ID. A VC ID is used when two ends that have different VSI IDs need to communicate.

  • negotiation-vc-id must be different from local VSI IDs or VSI IDs specified locally using the negotiate-vc-id command. Specifically, the specified negotiation-vc-id must be an unused one.
  • The local negotiation-vc-id must be the same as the peer negotiation-vc-id or VSI ID.

The value is an integer ranging from 1 to 4294967295.The value is an integer ranging from 1 to 4294967295.

interface interface-name

Specifies an interface name.

-

interface-type

Specifies an interface type.

-

interface-number

Specifies an interface number.

-

virtual-router-id

Specifies the ID of an mVRRP group.

The value is an integer ranging from 1 to 255.

pw-redundancy

Indicates a VPLS PW redundancy scenario.

If pw-redundancy is configured, the PW redundancy mechanism determines the active/standby status of a PW based on the master/backup status of the corresponding remote PE in the mVRRP group.

-

backup-block-all

Blocks multicast traffic forwarding.

-

Views

VSI-LDP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

In a VLL accessing VPLS+VXLAN scenario where independent PW redundancy is configured, the PW redundancy mechanism determines the active/standby status of PWs based on the master/backup status of the remote PEs in the mVRRP group.

  • The initial status of each PW between the local and remote PEs is Active.
  • The mVRRP group determines the master/backup status of the two remote PEs.

After the peer track admin-vrrp vrid command is configured, the PW redundancy mechanism determines the active/standby status of a PW based on the master/backup status of the corresponding remote PE in the mVRRP group.

Example

# Bind a service PW with VC ID 100 to an mVRRP group with VRRP ID 100 and virtual IP address 192.168.10.100.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] ip address 192.168.10.1 24
[*HUAWEI-GigabitEthernet0/1/0] vrrp vrid 100 virtual-ip 192.168.10.100
[*HUAWEI-GigabitEthernet0/1/0] admin-vrrp vrid 100
[*HUAWEI-GigabitEthernet0/1/0] quit
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi v100 bd-mode
[*HUAWEI-v100] pwsignal ldp
[*HUAWEI-v100-ldp] vsi-id 100
[*HUAWEI-v100-ldp] peer 2.2.2.2 negotiation-vc-id 100 track admin-vrrp interface GigabitEthernet 0/1/0 vrid 100 pw-redundancy backup-block-all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >