#configure terminal | Enter the Configure mode. |
(config)#bridge 1 protocol ieee vlan-bridge | Add bridge 1 to the spanning-tree table. |
(config)#interface eth0 | Specify the interface eth0 to be configured, and enter the Interface mode. |
(config-if)#shutdown | Shut down the interface. |
(config-if)#switchport | Configure the interface as a switch port. |
(config-if)#bridge-group 1 | Associate the interface eth1 with bridge-group 1. |
(config-if)#switchport mode access | Configure the port as an access port. |
(config-if)#no shutdown | Bring up the interface. |
(config-if)#exit | Exit the Interface mode. |
(config)#interface eth1 | Specify interface eth1 to be configured. |
(config-if)#shutdown | Shut down the interface. |
(config-if)#switchport | Configure the interface as a switch port. |
(config-if)#bridge-group 1 | Associate interface eth1 with bridge-group 1. |
(config-if)#switchport mode access | Configure the port as an access port. |
(config-if)#no shutdown | Bring up the interface. |
(config-if)#exit | Exit the Interface mode. |
(config)#interface eth2 | Specify interface eth2 to be configured. |
(config-if)#shutdown | Shut down the interface. |
(config-if)#switchport | Configure the interface as a switch port. |
(config-if)#bridge-group 1 | Associate interface eth2 with bridge-group 1. |
(config-if)#switchport mode access | Configure the port as an access port. |
(config-if)#no shutdown | Bring up the interface. |
(config-if)#exit | Exit the Interface mode. |
(config)#interface vlan1.1 | Specify interface vlan1.1 to be configured. |
(config-if)# igmp snooping mrouter interface eth1 | Configure this port as a multicast router port |
(config-if)#commit | Commit the transaction. |