H3C交换机RRPP配置

配置Device A

# 创建VLAN 2~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。

<DeviceA> system-view

[DeviceA] vlan 2 to 30

 Please wait… Done.

[DeviceA] stp region-configuration

[DeviceA-mst-region] instance 1 vlan 2 to 30

[DeviceA-mst-region] active region-configuration

[DeviceA-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上关闭STP功能,配置端口信任报文的802.1p优先级,并将端口配置为Trunk端口且允许VLAN 2~30通过。

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] undo stp enable

[DeviceA-GigabitEthernet1/0/1] port link-type trunk

[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan 2 to 30

 Please wait… Done.

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] undo stp enable

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

[DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 2 to 30

 Please wait… Done.

[DeviceA-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。

[DeviceA] rrpp domain 1

 Info: Create a new domain.

[DeviceA-rrpp-domain1] control-vlan 4092

[DeviceA-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环1的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并开启该环。

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

[DeviceA-rrpp-domain1] ring 1 enable

[DeviceA-rrpp-domain1] quit

# 开启RRPP协议。

[DeviceA] rrpp enable

(2)     配置Device B

# 创建VLAN 2~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。

<DeviceB> system-view

[DeviceB] vlan 2 to 30

 Please wait… Done.

[DeviceB] stp region-configuration

[DeviceB-mst-region] instance 1 vlan 2 to 30

[DeviceB-mst-region] active region-configuration

[DeviceB-mst-region] quit

# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上关闭STP功能,配置端口信任报文的802.1p优先级,并将端口配置为Trunk端口且允许VLAN 2~30通过。

[DeviceB] interface gigabitethernet 1/0/1

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

[DeviceB-GigabitEthernet1/0/1] qos trust dot1p

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

[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan 2 to 30

 Please wait… Done.

[DeviceB-GigabitEthernet1/0/1] quit

[DeviceB] interface gigabitethernet 1/0/2

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

[DeviceB-GigabitEthernet1/0/2] qos trust dot1p

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

[DeviceB-GigabitEthernet1/0/2] port trunk permit vlan 2 to 30

 Please wait… Done.

[DeviceB-GigabitEthernet1/0/2] quit

# 创建RRPP域1,将VLAN 4092配置为该域的控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。

[DeviceB] rrpp domain 1

 Info: Create a new domain.

[DeviceB-rrpp-domain1] control-vlan 4092

[DeviceB-rrpp-domain1] protected-vlan reference-instance 1

# 配置本设备为主环1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并开启该环。

[DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0

[DeviceB-rrpp-domain1] ring 1 enable

[DeviceB-rrpp-domain1] quit

# 开启RRPP协议。

[DeviceB] rrpp enable

(3)     配置Device C和Device D

Device C、Device D的配置与Device B完全相同,配置过程略。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值