
CanogaOS Configuration Guide
9-10
DUT(config) # interface eth-0-9 Enter the Interface mode.
DUT(config-if)#switchport mode trunk Set the switching characteristics of this interface to
trunk mode.
DUT(config-if)#switchport trunk allowed vlan add 12 Enable VLAN 12 on this port.
DUT(config-vlan) # exit Exit the interface mode and enter the Configure mode.
Configure interface eth-0-20
DUT(config) # interface eth-0-20 Enter the Interface mode.
DUT(config-if)#switchport mode trunk Set the switching characteristics of this interface to
trunk mode.
DUT(config-if)#switchport trunk allowed vlan add
11,12
Enable VLAN 11, 12 on this port.
DUT(config-vlan) # exit Exit the interface mode and enter the Configure mode.
Configure interface eth-0-13
DUT(config) # interface eth-0-13 Enter the Interface mode.
DUT(config-if)#switchport mode trunk Set the switching characteristics of this interface to
trunk mode.
DUT(config-if)#switchport trunk allowed vlan add
11,12
Enable VLAN 11, 12 on this port.
DUT(config-vlan) # exit Exit the interface mode and enter the Configure mode.
Configure and enable ERPS domain
DUT(config) # erps 1 Create erps domain with id 1.
DUT(config) # erps 1 primary control vlan 11 Set vlan 11 as the primary control vlan of erps domain
1.
DUT(config) # erps 1 sub control vlan 12 Set vlan 11 as the sub control vlan of erps domain 1.
DUT(config) # erps 1 ring 1 level primary Create an erps primary ring 1 for domain 1.
DUT(config) # erps 1 ring 1 mode transit Set node as transit of ring 1 for domain 1.
DUT(config) # erps 1 ring 1 primary interface eth-0-13 Set primary interface of ring 1 for domain 1.
DUT(config)# erps 1 ring 1 secondary interface eth-0-20 Set secondary interface of ring 1 for domain 1.
DUT(config) # erps 1 ring 1 enable Enable ring 1 for domain 1.
DUT(config) # erps 1 ring 2 level sub Set level sub of ring 2 for domain 1.
DUT(config) # erps 1 ring 2 edge-mode assistant-edge Set edge-mode of ring 2 for domain 1.
DUT(config)# erps 1 ring 2 edge interface eth-0-9 Set edge interface of ring 2 for domain 1.
DUT(config)# erps 1 ring 2 common interface eth-0-20 Set common interface of ring 2 for domain 1.
DUT(config) # erps 1 ring 2 enable Enable ring 2 for domain 1.
DUT(config) # erps 1 enable Enable domain 1.
Komentarze do niniejszej Instrukcji