< Home

Example for Configuring Intersecting RRPP Rings with Multiple Instances

Networking Requirements

As shown in Figure 1, on a ring network, idle links are required to forward data. In this way, data in different VLANs is forwarded along different paths, improving network efficiency and implementing load balancing.

Figure 1 Networking diagram of intersecting RRPP rings with multiple instances

Data Plan

Table 1 shows the mapping between protected VLANs and instances in Domain 1 and Domain 2.

Table 1 Mapping between the protected VLAN and instance

Domain ID

Control VLAN ID

Data VLAN ID

Instance ID

Domain 1

VLANs 5 and 6

VLANs 100 to 200

Instance 1

Domain 2

VLANs 10 and 11

VLANs 201 to 300

Instance 2

Table 2 shows the master node on each ring and the primary and secondary interfaces on each master node.

Table 2 Master node and its primary and secondary interfaces

Ring ID

Master Node

Primary Port

Secondary Port

Ring Type

Ring 1 in Domain 1

PEAGG

GE0/0/1

GE0/0/2

Major ring

Ring 1 in Domain 2

PEAGG

GE0/0/2

GE0/0/1

Major ring

Ring 2 in Domain 1

CE1

GE0/0/1

GE0/0/2

Sub-ring

Ring 2 in Domain 2

CE1

GE0/0/2

GE0/0/1

Sub-ring

Ring 3 in Domain 1

CE2

GE0/0/1

GE0/0/2

Sub-ring

Ring 3 in Domain 2

CE2

GE0/0/2

GE0/0/1

Sub-ring

Table 3 shows the edge nodes, assistant edge nodes, common interface, and edge interfaces of the sub-rings.

Table 3 Edge nodes, assistant edge nodes, common interface, and edge interfaces of the sub-rings

Ring ID

Edge Node

Common Port

Edge Port

Edge-Assistant Node

Common Port

Edge Port

Ring 2 in Domain 1

UPEB

GE0/0/1

GE0/0/3

UPEC

GE0/0/2

GE0/0/4

Ring 3 in Domain 1

UPEB

GE0/0/1

GE0/0/4

UPEC

GE0/0/2

GE0/0/3

Ring 2 in Domain 2

UPEB

GE0/0/1

GE0/0/3

UPEC

GE0/0/2

GE0/0/4

Ring 3 in Domain 2

UPEB

GE0/0/1

GE0/0/4

UPEC

GE0/0/2

GE0/0/3

Configuration Roadmap

The configuration roadmap is as follows:

  1. Create different RRPP domains and control VLANs.

  2. Map the VLANs that need to pass through Domain 1 to Instance 1, including data VLANs and control VLANs.

    Map the VLANs that need to pass through Domain 2 to Instance 2, including data VLANs and control VLANs.

  3. Configure interfaces to be added to the RRPP domain on the devices so that data can pass through the interfaces. Disable protocols that conflict with RRPP, such as STP.

  4. Configure protected VLANs and create RRPP rings in RRPP domains.
    1. Add UPEA, UPEB, UPEC, UPED, and PEAGG to Ring 1 in Domain 1 and Ring 1 in Domain 2.

    2. Add CE1, UPEB, and UPEC to Ring 2 in Domain 1 and Ring 2 in Domain 2.

    3. Add CE2, UPEB, and UPEC to Ring 3 in Domain 1 and Ring 3 in Domain 2.

    4. Configure PEAGG as the master node and configure UPEA, UPEB, UPEC, and UPED as transit nodes on Ring 1 in Domain 1 and Ring 1 in Domain 2.

    5. Configure CE1 as the master node, UPEB as an edge node, and UPEC as an assistant edge node on Ring 2 in Domain 1 and Ring 2 in Domain 2.

    6. Configure CE2 as the master node, UPEB as an edge node, and UPEC as an assistant edge node on Ring 3 in Domain 1 and Ring 3 in Domain 2.

  5. To prevent topology flapping, set the LinkUp timer on the master nodes.

  6. To reduce the Edge-Hello packets sent on the major ring and increase available bandwidth, add the four sub-rings to a ring group.

  7. Enable the RRPP ring and RRPP protocol on devices to make RRPP take effect.

Procedure

  1. Configure instances, and map it to the data VLANs and control VLANs allowed by the RRPP interface.

    # Configure CE1. The configurations on CE2, UPEA, UPEB, UPEC, UPED, and PEAGG are the same as that of CE1 and not mentioned here. For details, see the configuration files.

    <HUAWEI> system-view
    [HUAWEI] sysname CE1
    [CE1] stp region-configuration 
    [CE1-mst-region] instance 1 vlan 5 6 100 to 200
    [CE1-mst-region] instance 2 vlan 10 11 201 to 300
    [CE1-mst-region] active region-configuration
    [CE1-mst-region] quit

  2. Configure the interfaces to be added into the RRPP rings.

    # Configure CE1. The configurations on CE2, UPEA, UPEB, UPEC, UPED, and PEAGG are the same as that of CE1 and not mentioned here. For details, see the configuration files.

    [CE1] vlan batch 100 to 300
    [CE1] interface gigabitethernet 0/0/1
    [CE1-GigabitEthernet0/0/1] port link-type trunk
    [CE1-GigabitEthernet0/0/1] undo port trunk allow-pass vlan 1
    [CE1-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 to 300
    [CE1-GigabitEthernet0/0/1] stp disable
    [CE1-GigabitEthernet0/0/1] quit
    [CE1] interface gigabitethernet 0/0/2
    [CE1-GigabitEthernet0/0/2] port link-type trunk
    [CE1-GigabitEthernet0/0/2] undo port trunk allow-pass vlan 1
    [CE1-GigabitEthernet0/0/2] port trunk allow-pass vlan 100 to 300
    [CE1-GigabitEthernet0/0/2] stp disable
    [CE1-GigabitEthernet0/0/2] quit

  3. Create RRPP domains and configure protected VLANs and control VLANs.

    # Configure CE1. The configurations on CE2, UPEA, UPEB, UPEC, UPED, and PEAGG are the same as that of CE1 and not mentioned here. For details, see the configuration files.

    [CE1] rrpp domain 1
    [CE1-rrpp-domain-region1] protected-vlan reference-instance 1
    [CE1-rrpp-domain-region1] control-vlan 5
    [CE1-rrpp-domain-region1] quit
    [CE1] rrpp domain 2
    [CE1-rrpp-domain-region2] protected-vlan reference-instance 2
    [CE1-rrpp-domain-region2] control-vlan 10
    [CE1-rrpp-domain-region2] quit

  4. Create RRPP rings.

    # Configure PEAGG as the master node on Ring 1 in Domain 1, with GE0/0/1 as the primary interface and GE0/0/2 as the secondary interface.

    [PEAGG] rrpp domain 1
    [PEAGG-rrpp-domain-region1] ring 1 node-mode master primary-port gigabitethernet 0/0/1 secondary-port gigabitethernet 0/0/2 level 0
    [PEAGG-rrpp-domain-region1] ring 1 enable
    [PEAGG-rrpp-domain-region1] quit

    # Configure PEAGG as the master node on Ring 1 in Domain 2, with GE0/0/2 as the primary interface and GE0/0/1 as the secondary interface.

    [PEAGG] rrpp domain 2
    [PEAGG-rrpp-domain-region2] ring 1 node-mode master primary-port gigabitethernet 0/0/2 secondary-port gigabitethernet 0/0/1 level 0
    [PEAGG-rrpp-domain-region2] ring 1 enable
    [PEAGG-rrpp-domain-region2] quit

    # Configure UPEA as a transit node on Ring 1 in Domain 1 and specify primary and secondary interfaces.

    [UPEA] rrpp domain 1
    [UPEA-rrpp-domain-region1] ring 1 node-mode transit primary-port gigabitethernet 0/0/1 secondary-port gigabitethernet 0/0/2 level 0
    [UPEA-rrpp-domain-region1] ring 1 enable
    [UPEA-rrpp-domain-region1] quit

    # Configure UPEA as a transit node on Ring 1 in Domain 2 and specify primary and secondary interfaces.

    [UPEA] rrpp domain 2
    [UPEA-rrpp-domain-region2] ring 1 node-mode transit primary-port gigabitethernet 0/0/1 secondary-port gigabitethernet 0/0/2 level 0
    [UPEA-rrpp-domain-region2] ring 1 enable
    [UPEA-rrpp-domain-region2] quit

    # Configure UPED as a transit node on Ring 1 in Domain 1 and specify primary and secondary interfaces.

    [UPED] rrpp domain 1
    [UPED-rrpp-domain-region1] ring 1 node-mode transit primary-port gigabitethernet 0/0/1 secondary-port gigabitethernet 0/0/2 level 0
    [UPED-rrpp-domain-region1] ring 1 enable
    [UPED-rrpp-domain-region1] quit

    # Configure UPED as a transit node on Ring 1 in Domain 2 and specify primary and secondary interfaces.

    [UPED] rrpp domain 2
    [UPED-rrpp-domain-region2] ring 1 node-mode transit primary-port gigabitethernet 0/0/1 secondary-port gigabitethernet 0/0/2 level 0
    [UPED-rrpp-domain-region2] ring 1 enable
    [UPED-rrpp-domain-region2] quit

    # Configure UPEB as a transit node on Ring 1 in Domain 1 and specify primary and secondary interfaces.

    [UPEB] rrpp domain 1
    [UPEB-rrpp-domain-region1] ring 1 node-mode transit primary-port gigabitethernet 0/0/1 secondary-port gigabitethernet 0/0/2 level 0
    [UPEB-rrpp-domain-region1] ring 1 enable
    [UPEB-rrpp-domain-region1] quit

    # Configure UPEB as a transit node on Ring 1 in Domain 2 and specify primary and secondary interfaces.

    [UPEB] rrpp domain 2
    [UPEB-rrpp-domain-region2] ring 1 node-mode transit primary-port gigabitethernet 0/0/1 secondary-port gigabitethernet 0/0/2 level 0
    [UPEB-rrpp-domain-region2] ring 1 enable
    [UPEB-rrpp-domain-region2] quit

    # Configure UPEB as an edge node on Ring 2 in Domain 1, with GE0/0/1 as the common interface and GE0/0/3 as the edge interface.

    [UPEB] rrpp domain 1
    [UPEB-rrpp-domain-region1] ring 2 node-mode edge common-port gigabitethernet 0/0/1 edge-port gigabitethernet 0/0/3
    [UPEB-rrpp-domain-region1] ring 2 enable
    [UPEB-rrpp-domain-region1] quit

    # Configure UPEB as an edge node on Ring 2 in Domain 2, with GE0/0/1 as the common interface and GE0/0/3 as the edge interface.

    [UPEB] rrpp domain 2
    [UPEB-rrpp-domain-region2] ring 2 node-mode edge common-port gigabitethernet 0/0/1 edge-port gigabitethernet 0/0/3
    [UPEB-rrpp-domain-region2] ring 2 enable
    [UPEB-rrpp-domain-region2] quit

    # Configure UPEB as an edge node on Ring 3 in Domain 1, with GE0/0/1 as the common interface and GE0/0/4 as the edge interface.

    [UPEB] rrpp domain 1
    [UPEB-rrpp-domain-region1] ring 3 node-mode edge common-port gigabitethernet 0/0/1 edge-port gigabitethernet 0/0/4
    [UPEB-rrpp-domain-region1] ring 3 enable
    [UPEB-rrpp-domain-region1] quit

    # Configure UPEB as an edge node on Ring 3 in Domain 2, with GE0/0/1 as the common interface and GE0/0/4 as the edge interface.

    [UPEB] rrpp domain 2
    [UPEB-rrpp-domain-region2] ring 3 node-mode edge common-port gigabitethernet 0/0/1 edge-port gigabitethernet 0/0/4
    [UPEB-rrpp-domain-region2] ring 3 enable
    [UPEB-rrpp-domain-region2] quit

    # Configure UPEC as a transit node on Ring 1 in Domain 1 and specify primary and secondary interfaces.

    [UPEC] rrpp domain 1
    [UPEC-rrpp-domain-region1] ring 1 node-mode transit primary-port gigabitethernet 0/0/1 secondary-port gigabitethernet 0/0/2 level 0
    [UPEC-rrpp-domain-region1] ring 1 enable
    [UPEC-rrpp-domain-region1] quit

    # Configure UPEC as a transit node on Ring 1 in Domain 2 and specify primary and secondary interfaces.

    [UPEC] rrpp domain 2
    [UPEC-rrpp-domain-region2] ring 1 node-mode transit primary-port gigabitethernet 0/0/1 secondary-port gigabitethernet 0/0/2 level 0
    [UPEC-rrpp-domain-region2] ring 1 enable
    [UPEC-rrpp-domain-region2] quit

    # Configure UPEC as an assistant edge node on Ring 2 in Domain 1, with GE0/0/2 as the common interface and GE0/0/4 as the edge interface.

    [UPEC] rrpp domain 1
    [UPEC-rrpp-domain-region1] ring 2 node-mode assistant-edge common-port gigabitethernet 0/0/2 edge-port gigabitethernet 0/0/4
    [UPEC-rrpp-domain-region1] ring 2 enable
    [UPEC-rrpp-domain-region1] quit

    # Configure UPEC as an assistant edge node on Ring 2 in Domain 2, with GE0/0/2 as the common interface and GE0/0/4 as the edge interface.

    [UPEC] rrpp domain 2
    [UPEC-rrpp-domain-region2] ring 2 node-mode assistant-edge common-port gigabitethernet 0/0/2 edge-port gigabitethernet 0/0/4
    [UPEC-rrpp-domain-region2] ring 2 enable
    [UPEC-rrpp-domain-region2] quit

    # Configure UPEC as an assistant edge node on Ring 3 in Domain 1, with GE0/0/2 as the common interface and GE0/0/3 as the edge interface.

    [UPEC] rrpp domain 1
    [UPEC-rrpp-domain-region1] ring 3 node-mode assistant-edge common-port gigabitethernet 0/0/2 edge-port gigabitethernet 0/0/3
    [UPEC-rrpp-domain-region1] ring 3 enable
    [UPEC-rrpp-domain-region1] quit

    # Configure UPEC as an assistant edge node on Ring 3 in Domain 2, with GE0/0/2 as the common interface and GE0/0/3 as the edge interface.

    [UPEC] rrpp domain 2
    [UPEC-rrpp-domain-region2] ring 3 node-mode assistant-edge common-port gigabitethernet 0/0/2 edge-port gigabitethernet 0/0/3
    [UPEC-rrpp-domain-region2] ring 3 enable
    [UPEC-rrpp-domain-region2] quit

    # Configure CE1 as the master node on Ring 2 in Domain 1, with GE0/0/1 as the primary interface and GE0/0/2 as the secondary interface.

    [CE1] rrpp domain 1
    [CE1-rrpp-domain-region1] ring 2 node-mode master primary-port gigabitethernet 0/0/1 secondary-port gigabitethernet 0/0/2 level 1
    [CE1-rrpp-domain-region1] ring 2 enable
    [CE1-rrpp-domain-region1] quit

    # Configure CE1 as the master node on Ring 2 in Domain 2, with GE0/0/2 as the primary interface and GE0/0/1 as the secondary interface.

    [CE1] rrpp domain 2
    [CE1-rrpp-domain-region2] ring 2 node-mode master primary-port gigabitethernet 0/0/2 secondary-port gigabitethernet 0/0/1 level 1
    [CE1-rrpp-domain-region2] ring 2 enable
    [CE1-rrpp-domain-region2] quit

    # Configure CE2 as the master node on Ring 3 in Domain 1, with GE0/0/1 as the primary interface and GE0/0/2 as the secondary interface.

    [CE2] rrpp domain 1
    [CE2-rrpp-domain-region1] ring 3 node-mode master primary-port gigabitethernet 0/0/1 secondary-port gigabitethernet 0/0/2 level 1
    [CE2-rrpp-domain-region1] ring 3 enable
    [CE2-rrpp-domain-region1] quit

    # Configure CE2 as the master node on Ring 3 in Domain 2, with GE0/0/2 as the primary interface and GE0/0/1 as the secondary interface.

    [CE2] rrpp domain 2
    [CE2-rrpp-domain-region2] ring 3 node-mode master primary-port gigabitethernet 0/0/2 secondary-port gigabitethernet 0/0/1 level 1
    [CE2-rrpp-domain-region2] ring 3 enable
    [CE2-rrpp-domain-region2] quit

  5. Enable RRPP.

    # Configure CE1. The configurations on CE2, UPEA, UPEB, UPEC, UPED, and PEAGG are the same as that of CE1 and not mentioned here. For details, see the configuration files.

    [CE1] rrpp enable

  6. Configure ring groups.

    # Create ring group 1 on UPEC, which consists of four sub-rings: Ring 2 in Domain 1, Ring 3 in Domain 1, Ring 2 in Domain 2, and Ring 3 in Domain 2.

    [UPEC] rrpp ring-group 1
    [UPEC-rrpp-ring-group1] domain 1 ring 2 to 3
    [UPEC-rrpp-ring-group1] domain 2 ring 2 to 3
    [UPEC-rrpp-ring-group1] quit

    # Create ring group 1 on UPEB, which consists of four sub-rings: Ring 2 in Domain 1, Ring 3 in Domain 1, Ring 2 in Domain 2, and Ring 3 in Domain 2.

    [UPEB] rrpp ring-group 1
    [UPEB-rrpp-ring-group1] domain 1 ring 2 to 3
    [UPEB-rrpp-ring-group1] domain 2 ring 2 to 3
    [UPEB-rrpp-ring-group1] quit

  7. Set the LinkUp timer.

    # Set the LinkUp timer to 1 second. CE1 is used as an example. The configurations on CE2 and PEAGG are the same as that of CE1 and not mentioned here. For details, see the configuration files.

    [CE1] rrpp linkup-delay-timer 1

  8. Verify the configuration.

    After the preceding configurations are complete and the network topology becomes stable, perform the following operations to verify the configuration. UPEB and PEAGG are used as examples.

    # Run the display rrpp brief command on UPEB. The command output is as follows:

    [UPEB] display rrpp brief
    Abbreviations for Switch Node Mode :
    M - Master , T - Transit , E - Edge , A - Assistant-Edge
    
    RRPP Protocol Status:  Enable
    RRPP Working Mode: HW
    RRPP Linkup Delay Timer: 0 sec (0 sec default)
    Number of RRPP Domains: 2
    
    Domain Index   : 1
    Control VLAN   : major 5    sub 6
    Protected VLAN : Reference Instance 1
    Hello Timer    : 1 sec(default is 1 sec)  Fail Timer : 6 sec(default is 6 sec)
    
     Ring  Ring   Node  Primary/Common           Secondary/Edge           Is
     ID    Level  Mode  Port                     Port                     Enabled
     ----------------------------------------------------------------------------
     1      0       T        GigabitEthernet0/0/1     GigabitEthernet0/0/2    Yes
     2      1       E        GigabitEthernet0/0/1     GigabitEthernet0/0/3    Yes
     3      1       E        GigabitEthernet0/0/1     GigabitEthernet0/0/4    Yes
    
    Domain Index   : 2
    Control VLAN   : major 10    sub 11
    Protected VLAN : Reference Instance 2
    Hello Timer    : 1 sec(default is 1 sec)  Fail Timer : 6 sec(default is 6 sec)
    
     Ring  Ring   Node  Primary/Common           Secondary/Edge           Is
     ID    Level  Mode  Port                     Port                     Enabled
     ----------------------------------------------------------------------------
     1      0       T        GigabitEthernet0/0/1     GigabitEthernet0/0/2    Yes
     2      1       E        GigabitEthernet0/0/1     GigabitEthernet0/0/3    Yes
     3      1       E        GigabitEthernet0/0/1     GigabitEthernet0/0/4    Yes

    The command output shows that RRPP is enabled on UPEB.

    In Domain 1:

    The major control VLAN is VLAN 5 and the protected VLANs are the VLANs mapped to Instance 1.

    UPEB is a transit node on Ring 1. The primary interface is GE0/0/1 and the secondary interface is GE0/0/2.

    On Ring 2, UPEB is the edge node. GE0/0/1 is the common interface and GE0/0/3 is the edge interface.

    On Ring 3, UPEB is the edge node. GE0/0/1 is the common interface and GE0/0/4 is the edge interface.

    In Domain 2:

    The major control VLAN is VLAN 10, and the protected VLANs are the VLANs mapped to Instance 2.

    UPEB is a transit node on Ring 1. The primary interface is GE0/0/1 and the secondary interface is GE0/0/2.

    On Ring 2, UPEB is the edge node. GE0/0/1 is the common interface and GE0/0/3 is the edge interface.

    On Ring 3, UPEB is the edge node. GE0/0/1 is the common interface and GE0/0/4 is the edge interface.

    # Run the display rrpp brief command on PEAGG. The command output is as follows:

    [PEAGG] display rrpp brief
    Abbreviations for Switch Node Mode :
    M - Master , T - Transit , E - Edge , A - Assistant-Edge
    
    RRPP Protocol Status:  Enable
    RRPP Working Mode: HW
    RRPP Linkup Delay Timer: 1 sec (0 sec default)
    Number of RRPP Domains: 2
    
    Domain Index   : 1
    Control VLAN   : major 5    sub 6
    Protected VLAN : Reference Instance 1
    Hello Timer    : 1 sec(default is 1 sec)  Fail Timer : 6 sec(default is 6 sec)
    
     Ring  Ring   Node  Primary/Common           Secondary/Edge           Is
     ID    Level  Mode  Port                     Port                     Enabled
     ----------------------------------------------------------------------------
     1      0       M        GigabitEthernet0/0/1     GigabitEthernet0/0/2    Yes
    
    Domain Index   : 2
    Control VLAN   : major 10    sub 11
    Protected VLAN : Reference Instance 2
    Hello Timer    : 1 sec(default is 1 sec)  Fail Timer : 6 sec(default is 6 sec)
    
     Ring  Ring   Node  Primary/Common           Secondary/Edge           Is
     ID    Level  Mode  Port                     Port                     Enabled
     ----------------------------------------------------------------------------
     1      0       M        GigabitEthernet0/0/2     GigabitEthernet0/0/1    Yes

    The command output shows that RRPP is enabled on PEAGG, and the LinkUp timer is 2 seconds.

    In Domain 1, the major control VLAN is VLAN 5, the protected VLAN is the VLAN mapped to Instance 1, and the master node on Ring 1 is PEAGG. The primary interface is GE0/0/1 and the secondary interface is GE0/0/2.

    In Domain 2, the major control VLAN is VLAN 10, the protected VLAN is the VLAN mapped to Instance 2, and the master node on Ring 1 is PEAGG. The primary interface is GE0/0/2 and the secondary interface is GE0/0/1.

    Run the display rrpp verbose domain command on UPEB. The command output is as follows:

    # Check detailed information about UPEB in Domain 1.

    [UPEB] display rrpp verbose domain 1
    Domain Index   : 1
    Control VLAN   : major 5    sub 6
    Protected VLAN : Reference Instance 1
    Hello Timer    : 1 sec(default is 1 sec)  Fail Timer : 6 sec(default is 6 sec) 
    
    RRPP Ring      : 1
    Ring Level     : 0
    Node Mode      : Transit
    Ring State     : LinkUp
    Is Enabled     : Enable                       Is Active: Yes
    Primary port   : GigabitEthernet0/0/1         Port status: UP
    Secondary port : GigabitEthernet0/0/2         Port status: UP
    
    RRPP Ring      : 2
    Ring Level     : 1
    Node Mode      : Edge
    Ring State     : LinkUp
    Is Enabled     : Enable                       Is Active: Yes
    Common port    : GigabitEthernet0/0/1         Port status: UP
    Edge port      : GigabitEthernet0/0/3         Port status: UP
    
    RRPP Ring      : 3
    Ring Level     : 1
    Node Mode      : Edge
    Ring State     : LinkUp
    Is Enabled     : Enable                       Is Active: Yes
    Common port    : GigabitEthernet0/0/1         Port status: UP
    Edge port      : GigabitEthernet0/0/4         Port status: UP
    

    The command output shows that the control VLAN in Domain 1 is VLAN 5, and the protected VLANs are the VLANs mapping Instance 1.

    UPEB is a transit node on Ring 1 in Domain 1 and is in LinkUp state.

    UPEB is the edge node on Ring 2 in Domain 1 and is in LinkUp state. GE0/0/1 is the common interface and GE0/0/3 is the edge interface.

    UPEB is the edge node on Ring 3 in Domain 1 and is in LinkUp state. GE0/0/1 is the common interface and GE0/0/4 is the edge interface.

    # Check detailed information about UPEB in Domain 2.

    [UPEB] display rrpp verbose domain 2
    Domain Index   : 2
    Control VLAN   : major 10    sub 11
    Protected VLAN : Reference Instance 2
    Hello Timer    : 1 sec(default is 1 sec)  Fail Timer : 6 sec(default is 6 sec) 
    
    RRPP Ring      : 1
    Ring Level     : 0
    Node Mode      : Transit
    Ring State     : LinkUp
    Is Enabled     : Enable                       Is Active: Yes
    Primary port   : GigabitEthernet0/0/1         Port status: UP
    Secondary port : GigabitEthernet0/0/2         Port status: UP
    
    RRPP Ring      : 2
    Ring Level     : 1
    Node Mode      : Edge
    Ring State     : LinkUp
    Is Enabled     : Enable                       Is Active: Yes
    Common port    : GigabitEthernet0/0/1         Port status: UP
    Edge port      : GigabitEthernet0/0/3         Port status: UP
    
    RRPP Ring      : 3
    Ring Level     : 1
    Node Mode      : Edge
    Ring State     : LinkUp
    Is Enabled     : Enable                       Is Active: Yes
    Common port    : GigabitEthernet0/0/1         Port status: UP
    Edge port      : GigabitEthernet0/0/4         Port status: UP

    You can find that, in Domain 2, the control VLAN is VLAN 10, and the protected VLAN is the VLAN mapped to Instance 2.

    UPEB is a transit node on Ring 1 in Domain 2 and is in LinkUp state.

    UPEB is the edge node on Ring 2 in Domain 2 and is in LinkUp state. GE0/0/1 is the common interface and GE0/0/3 is the edge interface.

    UPEB is the edge node on Ring 3 in Domain 2 and is in LinkUp state. GE0/0/1 is the common interface and GE0/0/4 is the edge interface.

    Run the display rrpp verbose domain 1 command on PEAGG. The command output is as follows:

    # Check detailed information about PEAGG in Domain 1.

    [PEAGG] display rrpp verbose domain 1
    Domain Index   : 1
    Control VLAN   : major 5    sub 6
    Protected VLAN : Reference Instance 1
    Hello Timer    : 1 sec(default is 1 sec)  Fail Timer : 6 sec(default is 6 sec) 
    
    RRPP Ring      : 1
    Ring Level     : 0
    Node Mode      : Master
    Ring State     : Complete
    Is Enabled     : Enable                       Is Active: Yes
    Primary port   : GigabitEthernet0/0/1         Port status: UP
    Secondary port : GigabitEthernet0/0/2         Port status: BLOCKED

    The command output shows that the control VLAN in Domain 1 is VLAN 5, and the protected VLANs are the VLANs mapping Instance 1.

    PEAGG is the master node in Domain 1 and is in Complete state.

    GE0/0/1 is the primary interface and GE0/0/2 is the secondary interface.

    # Check detailed information about PEAGG in Domain 2.

    [PEAGG] display rrpp verbose domain 2
    Domain Index   : 2
    Control VLAN   : major 10    sub 11
    Protected VLAN : Reference Instance 2
    Hello Timer    : 1 sec(default is 1 sec)  Fail Timer : 6 sec(default is 6 sec) 
    
    RRPP Ring      : 1
    Ring Level     : 0
    Node Mode      : Master
    Ring State     : Complete
    Is Enabled     : Enable                       Is Active: Yes
    Primary port   : GigabitEthernet0/0/2         Port status: UP
    Secondary port : GigabitEthernet0/0/1         Port status: BLOCKED

    The command output shows that, in Domain 2, the control VLAN is VLAN 10, and the protected VLAN is the VLAN mapped to Instance 2.

    PEAGG is the master node in Domain 2 and is in Complete state.

    GE0/0/2 is the primary interface and GE0/0/1 is the secondary interface.

    Run the display rrpp ring-group command on UPEB to check the configuration of the ring group.

    # Check the configuration of ring group 1.

    [UPEB] display rrpp ring-group 1
     Ring Group 1:
     domain 1 ring 2 to 3
     domain 2 ring 2 to 3
     domain 1 ring 2 send Edge-Hello packet

Configuration Files

  • CE1 configuration file

    #
    sysname CE1
    #
    vlan batch 5 to 6 10 to 11 100 to 300
    #
    rrpp enable
    rrpp linkup-delay-timer 1
    #
    stp region-configuration
     instance 1 vlan 5 to 6 100 to 200
     instance 2 vlan 10 to 11 201 to 300
     active region-configuration
    #
    rrpp domain 1
     control-vlan 5
     protected-vlan reference-instance 1
     ring 2 node-mode master primary-port GigabitEthernet0/0/1 secondary-port GigabitEthernet0/0/2 level 1
     ring 2 enable
    rrpp domain 2
     control-vlan 10
     protected-vlan reference-instance 2
     ring 2 node-mode master primary-port GigabitEthernet0/0/2 secondary-port GigabitEthernet0/0/1 level 1
     ring 2 enable
    #
    interface GigabitEthernet0/0/1
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 6 11 100 to 300
     stp disable
    #
    interface GigabitEthernet0/0/2
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 6 11 100 to 300
     stp disable
    #
    return
    
  • CE2 configuration file

    #
    sysname CE2
    #
    vlan batch 5 to 6 10 to 11 100 to 300
    #
    rrpp enable
    rrpp linkup-delay-timer 1
    #
    stp region-configuration
     instance 1 vlan 5 to 6 100 to 200
     instance 2 vlan 10 to 11 201 to 300
     active region-configuration
    #
    rrpp domain 1
     control-vlan 5
     protected-vlan reference-instance 1
     ring 3 node-mode master primary-port GigabitEthernet0/0/1 secondary-port GigabitEthernet0/0/2 level 1
     ring 3 enable
    rrpp domain 2
     control-vlan 10
     protected-vlan reference-instance 2
     ring 3 node-mode master primary-port GigabitEthernet0/0/2 secondary-port GigabitEthernet0/0/1 level 1
     ring 3 enable
    #
    interface GigabitEthernet0/0/1
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 6 11 100 to 300
     stp disable
    #
    interface GigabitEthernet0/0/2
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 6 11 100 to 300
     stp disable
    #
    return
    
  • UPEA configuration file

    #
    sysname UPEA
    #
    vlan batch 5 to 6 10 to 11 100 to 300
    #
    rrpp enable
    #
    stp region-configuration
     instance 1 vlan 5 to 6 100 to 200
     instance 2 vlan 10 to 11 201 to 300
     active region-configuration
    #
    rrpp domain 1
     control-vlan 5
     protected-vlan reference-instance 1
     ring 1 node-mode transit primary-port GigabitEthernet0/0/1 secondary-port GigabitEthernet0/0/2 level 0
     ring 1 enable
    rrpp domain 2
     control-vlan 10
     protected-vlan reference-instance 2
     ring 1 node-mode transit primary-port GigabitEthernet0/0/1 secondary-port GigabitEthernet0/0/2 level 0
     ring 1 enable
    #
    interface GigabitEthernet0/0/1
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300
     stp disable
    #
    interface GigabitEthernet0/0/2
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300
     stp disable
    #
    return
    
  • UPEB configuration file

    #
    sysname UPEB
    #
    vlan batch 5 to 6 10 to 11 100 to 300
    #
    rrpp enable
    #
    stp region-configuration
     instance 1 vlan 5 to 6 100 to 200
     instance 2 vlan 10 to 11 201 to 300
     active region-configuration
    #
    rrpp domain 1
     control-vlan 5
     protected-vlan reference-instance 1
     ring 1 node-mode transit primary-port GigabitEthernet0/0/1 secondary-port GigabitEthernet0/0/2 level 0
     ring 1 enable
     ring 2 node-mode edge common-port GigabitEthernet0/0/1 edge-port GigabitEthernet0/0/3
     ring 2 enable
     ring 3 node-mode edge common-port GigabitEthernet0/0/1 edge-port GigabitEthernet0/0/4
     ring 3 enable
    rrpp domain 2
     control-vlan 10
     protected-vlan reference-instance 2
     ring 1 node-mode transit primary-port GigabitEthernet0/0/1 secondary-port GigabitEthernet0/0/2 level 0
     ring 1 enable
     ring 2 node-mode edge common-port GigabitEthernet0/0/1 edge-port GigabitEthernet0/0/3
     ring 2 enable
     ring 3 node-mode edge common-port GigabitEthernet0/0/1 edge-port GigabitEthernet0/0/4
     ring 3 enable
    #
    rrpp ring-group 1
     domain 1 ring 2 to 3
     domain 2 ring 2 to 3
    #
    interface GigabitEthernet0/0/1
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300
     stp disable
    #
    interface GigabitEthernet0/0/2
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300
     stp disable
    #
    interface GigabitEthernet0/0/3
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 6 11 100 to 300
     stp disable
    #
    interface GigabitEthernet0/0/4
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 6 11 100 to 300
     stp disable
    #
    return
    
  • UPEC configuration file

    #
    sysname UPEC
    #
    vlan batch 5 to 6 10 to 11 100 to 300
    #
    rrpp enable
    #
    stp region-configuration
     instance 1 vlan 5 to 6 100 to 200
     instance 2 vlan 10 to 11 201 to 300
     active region-configuration
    #
    rrpp domain 1
     control-vlan 5
     protected-vlan reference-instance 1
     ring 1 node-mode transit primary-port GigabitEthernet0/0/1 secondary-port GigabitEthernet0/0/2 level 0
     ring 1 enable
     ring 2 node-mode assistant-edge common-port GigabitEthernet0/0/2 edge-port GigabitEthernet0/0/4
     ring 2 enable
     ring 3 node-mode assistant-edge common-port GigabitEthernet0/0/2 edge-port GigabitEthernet0/0/3
     ring 3 enable
    rrpp domain 2
     control-vlan 10
     protected-vlan reference-instance 2
     ring 1 node-mode transit primary-port GigabitEthernet0/0/1 secondary-port GigabitEthernet0/0/2 level 0
     ring 1 enable
     ring 2 node-mode assistant-edge common-port GigabitEthernet0/0/2 edge-port GigabitEthernet0/0/4
     ring 2 enable
     ring 3 node-mode assistant-edge common-port GigabitEthernet0/0/2 edge-port GigabitEthernet0/0/3
     ring 3 enable
    #
    rrpp ring-group 1
     domain 1 ring 2 to 3
     domain 2 ring 2 to 3
    #
    interface GigabitEthernet0/0/1
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300
     stp disable
    #
    interface GigabitEthernet0/0/2
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300
     stp disable
    #
    interface GigabitEthernet0/0/3
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 6 11 100 to 300
     stp disable
    #
    interface GigabitEthernet0/0/4
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 6 11 100 to 300
     stp disable
    #
    return
    
  • UPED configuration file

    #
    sysname UPED
    #
    vlan batch 5 to 6 10 to 11 100 to 300
    #
    rrpp enable
    #
    stp region-configuration
     instance 1 vlan 5 to 6 100 to 200
     instance 2 vlan 10 to 11 201 to 300
     active region-configuration
    #
    rrpp domain 1
     control-vlan 5
     protected-vlan reference-instance 1
     ring 1 node-mode transit primary-port GigabitEthernet0/0/1 secondary-port GigabitEthernet0/0/2 level 0
     ring 1 enable
    rrpp domain 2
     control-vlan 10
     protected-vlan reference-instance 2
     ring 1 node-mode transit primary-port GigabitEthernet0/0/1 secondary-port GigabitEthernet0/0/2 level 0
     ring 1 enable
    #
    interface GigabitEthernet0/0/1
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300
     stp disable
    #
    interface GigabitEthernet0/0/2
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300
     stp disable
    #
    return
    
  • PEAGG configuration file

    #
    sysname PEAGG
    #
    vlan batch 5 to 6 10 to 11 100 to 300
    #
    rrpp enable
    rrpp linkup-delay-timer 1
    #
    stp region-configuration
     instance 1 vlan 5 to 6 100 to 200
     instance 2 vlan 10 to 11 201 to 300
     active region-configuration
    #
    rrpp domain 1
     control-vlan 5
     protected-vlan reference-instance 1
     ring 1 node-mode master primary-port GigabitEthernet0/0/1 secondary-port GigabitEthernet0/0/2 level 0
     ring 1 enable
    rrpp domain 2
     control-vlan 10
     protected-vlan reference-instance 2
     ring 1 node-mode master primary-port GigabitEthernet0/0/2 secondary-port GigabitEthernet0/0/1 level 0
     ring 1 enable
    #
    interface GigabitEthernet0/0/1
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300
     stp disable
    #
    interface GigabitEthernet0/0/2
     port link-type trunk
     undo port trunk allow-pass vlan 1
     port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300
     stp disable
    #
    return
    

Relevant Information

Video

Configure RRPP

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >