< Home

ring node-mode

Function

The ring node-mode command configures the node mode and specifies the interfaces for nodes.

The undo ring command deletes an RRPP ring.

Deleting the RRPP ring can delete the mode configured on the node and interfaces on the node.

Format

ring ring-id node-mode { master | transit } primary-port interface-type interface-number secondary-port interface-type interface-number level level-value

ring ring-id node-mode { assistant-edge | edge } common-port interface-type interface-number edge-port interface-type interface-number

undo ring ring-id

Parameters

Parameter

Description

Value

ring ring-id

Specifies the ID of an RRPP ring to be created or deleted.

The value is an integer that ranges from 1 to 64.

master

Specifies the current device as the master node on the RRPP ring to be created. You need to specify the primary and secondary interfaces on the master node, and the level of the ring.

-

transit

Specifies the current device as a transit node on the RRPP ring to be created. You need to specify the primary and secondary interfaces on the transit node, and the level of the ring.

-

primary-port

Specifies the primary interface on the node.

-

interface-type interface-number

Specifies the type and number of an interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

secondary-port

Specifies the secondary interface of the node.

-

level-value

Specifies the level on an RRPP ring.

The value can be 0 or 1.
  • 0: indicates a major ring.
  • 1: indicates a sub-ring.

assistant-edge

Specifies the current device as the assistant edge node on the RRPP ring to be created.

-

edge

Specifies the current device as the edge node on the RRPP ring to be created.

-

common-port interface-type interface-number

Specifies the common interface of the sub-ring and major ring.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

edge-port interface-type interface-number

Specifies the edge interface of the sub-ring.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

Views

RRPP domain view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

RRPP specifies devices and interfaces on the ring network as nodes and interfaces of different roles on the RRPP ring to implement RRPP functions.

Prerequisites

An RRPP domain has been created using the rrpp domain command, and STP has been enabled using the stp disable command on the interfaces that want to join the RRPP domain.

Precautions
  • The rings in the same RRPP domain must use different ring IDs.
  • After the RRPP ring is enabled, to delete the RRPP ring using the undo ring ring-id command, you must run the undo ring ring-id enable command to disable the RRPP ring first.
  • After the control-vlan command is used to configure the control VLAN in an RRPP domain, the ID of the sub-control VLAN is the control VLAN ID plus one. If the protected VLAN list specified by protected-vlan does not contain the control VLAN or sub-control VLAN, the system displays an error message when you run the ring node-mode command.

Example

# Configure the master node of Ring 10 in Domain 1, with GE0/0/5 as the primary interface and GE0/0/6 as the secondary interface.

<HUAWEI> system-view
[HUAWEI] rrpp domain 1
[HUAWEI-rrpp-domain-region1] control-vlan 100
[HUAWEI-rrpp-domain-region1] protected-vlan reference-instance 0
[HUAWEI-rrpp-domain-region1] ring 10 node-mode master primary-port gigabitethernet 0/0/5 secondary-port gigabitethernet 0/0/6 level 0

# Configure the transit node of Ring 10 in Domain 1, with GE0/0/5 as the primary interface and GE0/0/6 as the secondary interface.

<HUAWEI> system-view
[HUAWEI] rrpp domain 1
[HUAWEI-rrpp-domain-region1] control-vlan 100
[HUAWEI-rrpp-domain-region1] protected-vlan reference-instance 0
[HUAWEI-rrpp-domain-region1] ring 10 node-mode transit primary-port gigabitethernet 0/0/5 secondary-port gigabitethernet 0/0/6 level 0

# Configure the master node of Ring 20 in Domain 1, with GE0/0/5 as the primary interface and GE0/0/6 as the secondary interface.

<HUAWEI> system-view
[HUAWEI] rrpp domain 1
[HUAWEI-rrpp-domain-region1] control-vlan 100
[HUAWEI-rrpp-domain-region1] protected-vlan reference-instance 0
[HUAWEI-rrpp-domain-region1] ring 20 node-mode master primary-port gigabitethernet 0/0/5 secondary-port gigabitethernet 0/0/6 level 1

# Configure the transit node of Ring 20 in Domain 1, with GE0/0/5 as the primary interface and GE0/0/6 as the secondary interface.

<HUAWEI> system-view
[HUAWEI] rrpp domain 1
[HUAWEI-rrpp-domain-region1] control-vlan 100
[HUAWEI-rrpp-domain-region1] protected-vlan reference-instance 0
[HUAWEI-rrpp-domain-region1] ring 20 node-mode transit primary-port gigabitethernet 0/0/5 secondary-port gigabitethernet 0/0/6 level 1

# Delete Ring 10.

<HUAWEI> system-view
[HUAWEI] rrpp domain 1
[HUAWEI-rrpp-domain-region1] undo ring 10 enable
[HUAWEI-rrpp-domain-region1] undo ring 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >