< Home

protected-vlan

Function

The protected-vlan command configures a list of protected VLANs in an RRPP domain.

The undo protected-vlan command deletes the list of protected VLANs in an RRPP domain.

Format

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

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

Parameters

Parameter Description Value
reference-instance

Indicates the instance imported by a specified RRPP domain.

-
all

Indicates that VLANs in all the instances are protected VLANs.

all can be configured successfully only when instances 0 to 64 are created. This task is performed to create an instance and configure the mapping between the instance and VLANs.

-
instance-id1 to instance-id2 Specifies the ID of a protected instance.
  • 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. instance-id2 is an integer that ranges from 0 to 4094. The value of instance-id2 must be larger than the value of instance-id1. instance-id1 and instance-id2 identify a range of instances. If to instance-id2 is not specified, only instance-id1 is specified.
The value is an integer that ranges from 0 to 4094.

Views

RRPP domain view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The control VLAN transmits RRPP protocol packets and the data VLAN transmits data packets. The control VLAN and data VLANs must be configured as the protected VLANs so that RRPP takes effect for these VLAN packets. Otherwise, VLAN packets may cause broadcast storms on the ring network. This will cause the network to be unavailable.

Precautions

When you configure the list of protected VLANs, note the following points:

  • Protected VLANs must be configured before you configure an RRPP ring.

  • You can delete or change existing protected VLANs before configuring an RRPP ring. The protected VLANs cannot be changed after the RRPP ring is configured.

  • In the same physical topology, the control VLAN of a domain cannot be configured as a protected VLAN of another domain.

  • The control VLAN must be configured as a protected VLAN; otherwise, the RRPP ring cannot be configured.

  • The control VLAN can be mapped to other instances before the RRPP ring is created. After the RRPP ring is created, the mapping cannot be changed unless you delete the RRPP ring.

  • When an RRPP domain is deleted, the protected VLANs in the RRPP domain are deleted automatically.

  • When the mapping between an instance and VLANs changes, the protected VLANs of the RRPP domain also change.

  • All the VLANs allowed by an RRPP interface must be configured as protected VLANs.

If the protected-vlan command is run more than once, all configurations take effect.

Example

# Configure the VLANs mapping instances 0 as the protected VLANs in Domain 1.

<HUAWEI> system-view
[HUAWEI] rrpp domain 1
[HUAWEI-rrpp-domain-region1] control-vlan 100
[HUAWEI-rrpp-domain-region1] protected-vlan reference-instance 0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >