1. Set the Spanning Tree mode on each switch to PVRST.
2. Configure the following on Switch A:
3. Enable VLAN 2 and VLAN 3.
4. Configure the following on Switch B:
156
CN4093 Application Guide for N/OS 8.2
CN4093(config)# spanningtree mode pvrst
Note: PVRST is the default mode on the CN4093. This step is not required unless
the STP mode has been previously changed, and is shown here merely as an
example of manual configuration.
CN4093(config)# vlan 2
CN4093(configvlan)# exit
CN4093(config)# vlan 3
CN4093(configvlan)# exit
If VASA is disabled, enter the following commands:
CN4093(config)# spanningtree stp 2 vlan 2
CN4093(config)# spanningtree stp 3 vlan 3
Add port 17 to VLAN 2, port 18 to VLAN 3.
CN4093(config)# interface port 17
CN4093(configif)# switchport mode trunk
CN4093(configif)# exit
CN4093(config)# interface port 18
CN4093(configif)# switchport mode trunk
CN4093(configif)# exit
VLAN 2 and VLAN 3 are removed from STG 1.
Note: In PVRST mode, each instance of STG is enabled by default.
Add port 8 to VLAN 2. Ports 1 and 2 are by default in VLAN 1 assigned to STG 1.
CN4093(config)# vlan 2
CN4093(configvlan)# stg 2
CN4093(configvlan)# exit
CN4093(config)# interface port 8
CN4093(configif)# switchport mode trunk
CN4093(configif)# exit
If VASA is disabled, enter the following command:
CN4093(config)# spanningtree stp 2 vlan 2
VLAN 2 is automatically removed from STG 1. By default VLAN 1 remains in STG
1.