
CanogaOS Configuration Guide
9-9
DUT(config) # interface eth-0-20 Enter the Interface mode.
11,12
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 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-9 Set primary interface of ring 1 for domain 1.
DUT(config)# erps 1 ring 1 secondary interface eth-0-20 Set secondary interface of irng 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 Creat an erps sub ring 2 for domain 1.
DUT(config) # erps 1 ring 2 edge-mode edge Set edge-mode of ring 2 for domain 1.
DUT(config)# erps 1 ring 2 edge interface eth-0-13 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 srpt disable Disable srpt 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.
Switch 3
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.
Kommentare zu diesen Handbüchern