
CanogaOS Configuration Guide
23-3
DUT# configure terminal Enter the configure mode
DUT(config-vlan) # vlan 111,10,30 Creat vlan 111,10,30
DUT(config-vlan) # quit Quit the VLAN database mode and return to Configure
mode to configure the next interface.
DUT(config) # interface eth-0-1 Enter the Interface mode..
DUT(config-if) # switchport access vlan111 Enable VLAN port access by specifying the VLAN ID
111 on this interface.
DUT(config) # interface eth-0-2 Enter the Interface mode..
DUT(config-if) # switchport access vlan10 Enable VLAN port access by specifying the VLAN ID
10 on this interface.
DUT(config) # interface eth-0-3 Enter the Interface mode..
DUT(config-if) # switchport access vlan30 Enable VLAN port access by specifying the VLAN ID
30 on this interface.
DUT(config-if) # end Return to privileged EXEC mode.
Eanble MVR in the switchA, it is required that only one copy of multicast traffic from
Router A is sent to switchA, but HostA and HostC can both receiver this multicast traffic.
DUT# configure terminal Enter the configure mode
DUT(config) # no ip multicst-routing Disable ip multicast-routing
DUT(config) # mvr Enable Multicast Vlan Registration
DUT(config) # mvr vlan 111 Configure mvr vlan
DUT(config) # mvr group 238.255.0.1 255 Configure mvr group address
DUT(config) # mvr source-address 12.12.12.1 Configure mvr source-address
DUT(config) # interface eth-0-1 Enter the Interface mode..
DUT(config-if) # mvr type source Configure the port to mvr type source.
DUT(config) # interface eth-0-2 Enter the Interface mode..
DUT(config-if) # mvr type receiver vlan 10 Configure the port to mvr type receiver.
DUT(config) # interface eth-0-3 Enter the Interface mode..
DUT(config-if) # mvr type receiver vlan 30 Configure the port to mvr type receiver.
DUT(config-if) # end Return to privileged EXEC mode.
Comentarios a estos manuales