华为交换机RRPP的基本配置

 实验TOP:

 

说明:SW1为master,保护vlan为10,控制vlan为100,子控制vlan为101。

配置:

SW1

==============================================================

sy

sysname sw1

stp disable

y

vlan batch 10

rrpp enable

rrpp domain 1

control-vlan 100

quit

int g0/0/1

port link-type trunk

port trunk allow-pass vlan 10 

undo port trunk allow-pass vlan 1

stp disable

quit

int g0/0/2

port link-type trunk

port trunk allow-pass vlan 10 

undo port trunk allow-pass vlan 1

stp disable

quit

stp region-configuration 

instance 1 vlan 10 100 101 

active region-configuration 

quit

rrpp domain 1

protected-vlan reference-instance 1

ring 1 node-mode master primary-port g0/0/1 secondary-port g0/0/2 level 0

ring 1 enable 

quit

 
 
SW2
================================================================================
sy
sysname sw2
stp disable
y
vlan batch 10
rrpp enable
rrpp domain 1
control-vlan 100
quit
int g0/0/1
port link-type trunk
port trunk allow-pass vlan 10 
undo port trunk allow-pass vlan 1
stp disable
quit
int g0/0/2
port link-type trunk
port trunk allow-pass vlan 10 
undo port trunk allow-pass vlan 1
stp disable
quit
stp region-configuration 
instance 1 vlan 10 100 101 
active region-configuration 
quit
rrpp domain 1
protected-vlan reference-instance 1
ring 1 node-mode transit primary-port g0/0/1 secondary-port g0/0/2 level 0
ring 1 enable 
quit
 
 
SW3
=================================================================
sy
sysname sw3
stp disable
y
vlan batch 10
rrpp enable
rrpp domain 1
control-vlan 100
quit
int g0/0/1
port link-type trunk
port trunk allow-pass vlan 10 
undo port trunk allow-pass vlan 1
stp disable
quit
int g0/0/2
port link-type trunk
port trunk allow-pass vlan 10 
undo port trunk allow-pass vlan 1
stp disable
quit
stp region-configuration 
instance 1 vlan 10 100 101 
active region-configuration 
quit
rrpp domain 1
protected-vlan reference-instance 1
ring 1 node-mode transit primary-port g0/0/1 secondary-port g0/0/2 level 0
ring 1 enable 
quit
 
 
 
SW4
==============================================================================
sy
sysname sw4
stp disable
y
vlan batch 10
rrpp enable
rrpp domain 1
control-vlan 100
quit
int g0/0/1
port link-type trunk
port trunk allow-pass vlan 10 
undo port trunk allow-pass vlan 1
stp disable
quit
int g0/0/2
port link-type trunk
port trunk allow-pass vlan 10 
undo port trunk allow-pass vlan 1
stp disable
quit
stp region-configuration 
instance 1 vlan 10 100 101 
active region-configuration 
quit
rrpp domain 1
protected-vlan reference-instance 1
ring 1 node-mode transit primary-port g0/0/1 secondary-port g0/0/2 level 0
ring 1 enable 
quit

你可能感兴趣的:(rrpp)