beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 96

background image

7-25

[DeviceA-GigabitEthernet2/0/2] port link-type trunk

[DeviceA-GigabitEthernet2/0/2] port trunk permit vlan all

[DeviceA-GigabitEthernet2/0/2] quit

# Create RRPP domain 1, configure VLAN 4092 as the primary control VLAN of RRPP domain 1,

and configure the VLANs mapped to MSTIs 0 through 31 as the protected VLANs of RRPP

domain 1.

[DeviceA] rrpp domain 1

[DeviceA-rrpp-domain1] control-vlan 4092

[DeviceA-rrpp-domain1] protected-vlan reference-instance 0 to 31

# Configure Device A as the master node of primary ring 1, with GigabitEthernet 2/0/1 as the

primary port and GigabitEthernet 2/0/2 as the secondary port, and enable ring 1.

[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port gigabitethernet 2/0/1

secondary-port gigabitethernet 2/0/2 level 0

[DeviceA-rrpp-domain1] ring 1 enable

[DeviceA-rrpp-domain1] quit

# Enable RRPP.

[DeviceA] rrpp enable

2) Configuration on Device B

# Set the physical state change suppression interval on GigabitEthernet2/0/1,

GigabitEthernet2/0/2, and GigabitEthernet2/0/3 to 0 seconds, disable STP, configure the

ports as trunk ports, and assign them to all VLANs.

system-view

[DeviceB] interface gigabitethernet 2/0/1

[DeviceB-GigabitEthernet2/0/1] link-delay 0

[DeviceB-GigabitEthernet2/0/1] undo stp enable

[DeviceB-GigabitEthernet2/0/1] port link-type trunk

[DeviceB-GigabitEthernet2/0/1] port trunk permit vlan all

[DeviceB-GigabitEthernet2/0/1] quit

[DeviceB] interface gigabitethernet 2/0/2

[DeviceB-GigabitEthernet2/0/2] link-delay 0

[DeviceB-GigabitEthernet2/0/2] undo stp enable

[DeviceB-GigabitEthernet2/0/2] port link-type trunk

[DeviceB-GigabitEthernet2/0/2] port trunk permit vlan all

[DeviceB-GigabitEthernet2/0/2] quit

[DeviceB] interface gigabitethernet 2/0/3

[DeviceB-GigabitEthernet2/0/3] link-delay 0

[DeviceB-GigabitEthernet2/0/3] undo stp enable

[DeviceB-GigabitEthernet2/0/3] port link-type trunk

[DeviceB-GigabitEthernet2/0/3] port trunk permit vlan all

[DeviceB-GigabitEthernet2/0/3] quit

# Create RRPP domain 1, configure VLAN 4092 as the primary control VLAN of RRPP domain 1,

and configure the VLANs mapped to MSTIs 0 through 31 as the protected VLANs of RRPP

domain 1.

[DeviceB] rrpp domain 1

[DeviceB-rrpp-domain1] control-vlan 4092

[DeviceB-rrpp-domain1] protected-vlan reference-instance 0 to 31

# Configure Device B as a transit node of primary ring 1, with GigabitEthernet 2/0/1 as the

primary port and GigabitEthernet 2/0/2 as the secondary port, and enable ring 1.

This manual is related to the following products: