< Home

protected-vlan reference-instance

Function

The protected-vlan reference-instance command configures the protection instances for a Smart Link group.

The undo protected-vlan reference-instance command deletes the protection instances of a Smart Link group.

Format

protected-vlan reference-instance { instance-id1 [ to instance-id2 ] }&<1-10>

undo protected-vlan reference-instance { all | { instance-id1 [ to instance-id2 ] }&<1-10> }

Parameters

Parameter

Description

Value

instance-id1 [ to instance-id2 ]

Specifies the protection instance ID of a Smart Link group.

  • instance-id1 specifies the first instance ID. The value is an integer that ranges from 0 to 4094.
  • to instance-id2 specifies the last instance ID. The value of instance-id2 is an integer that ranges from 0 to 4094. The value of instance-id2 cannot be smaller than the value of instance-id1. The instance-id1 and instance-id2 parameters identify a range of protection instances. If to instance-id2 is not specified, only the protection instance specified by instance-id1 is configured.

-

all

Specifies IDs for deleting all protection instances of a Smart Link group.

-

Views

Smart Link group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The protected-vlan reference-instance command enables Smart Link to transmit or block the data packets from the VLAN mapping the protection instances. The Smart Link function takes effect only on the VLANs mapping the protection instances. The protected-vlan reference-instance command enables users to unbind some VLANs from protection instances. Transmitting the data from these VLANs is not restricted by Smart Link.

Prerequisites

A Smart Link group has been created using the smart-link group command, and VLANs have been mapped to the specified instances using the instance command.

Precautions

Before you run the protected-vlan reference-instance command in a Smart Link group, the Smart Link group must be disabled.

The instances specified in the protected-vlan reference-instance command cannot be the VBST dynamic instances.

The Smart Link function takes effect only on the VLANs mapped to the protection instances. Therefore, the users' service data VLANs and VLANs mapped to load-balancing instances must be contained in the VLANs mapped to protection instances.

The VLANs not mapped to protection instances may cause network storms.

Example

# Set the protection instance ID of a Smart Link group to 10.

<HUAWEI> system-view
[HUAWEI] smart-link group 1
[HUAWEI-smlk-group1] protected-vlan reference-instance 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >