
CanogaOS Configuration Guide
9-11
Switch 4
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 12 Creat vlan 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 12 Enable VLAN 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 12 Enable VLAN 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 sub control vlan 12 Set vlan 12 as the sub control vlan of erps domain 1.
DUT(config) # erps 1 ring 2 level sub Create an erps sub ring 2 for domain 1.
DUT(config) # erps 1 ring 2 mode master Set node as master of ring 2 for domain 1.
DUT(config) # erps 1 ring 2 primary interface eth-0-9 Set primary interface of ring 2 for domain 1.
DUT(config)# erps 1 ring 2 secondary interface eth-0-13 Set secondary 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.
9.4.3 Validation Command
Switch 1
DUT #show erps 1
ERPS domain ID: 1
ERPS domain name: ERPS001
ERPS domain primary control VLAN ID: 11
ERPS domain sub control VLAN ID: 12
ERPS domain hello timer interval: 1 second(s)
Comentarios a estos manuales