
CanogaOS Configuration Guide
9-8
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 12 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 master Set node as master of ring 1 for domain 1.
DUT(config) # erps 1 ring 1 primary interface eth-0-9 Set primary interface of ring 1 for domain 1.
DUT(config)# erps 1 ring 1 secondary interface eth-0-13 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 enable Enable domain 1.
Switch 2
Create VLANs for transferring ERPS control packets
DUT# configure terminal Enter the configure mode.
DUT(config) # vlan database Enter VLAN database mode.
DUT(config-vlan) # vlan 11,12 Creat vlan 11, 12.
DUT(config-vlan) # exit Exit the vlan mode and enter the Configure mode.
Configure interface eth-0-9
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
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-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 Enable VLAN 11, 12 on this port.
Comentários a estes Manuais