[Contents] [Prev] [Next] [Index] [Report an Error]

Example 2: Bridging with VLANs

The following example illustrates how to configure transparent bridging with VLANs over a Fast Ethernet interface.

Note: You can also configure transparent bridging with VLANs over a bridged Ethernet interface. For information, see Configuring VLANs over Bridged Ethernet in Configuring Bridged Ethernet.

  1. Create the bridge group.
    host1(config)#bridge westford02
  2. Create a Fast Ethernet interface.
    host1(config)#interface fastEthernet 2/0
    Image g013161.gif
  3. Create a VLAN major interface by specifying VLAN as the encapsulation method for the interface.
    host1(config-if)#encapsulation vlan
    Image g013160.gif
  4. Create a VLAN subinterface by adding a subinterface number to the interface fastEthernet command.
    host1(config-if)#interface fastEthernet 2/0.1
    Image g013159.gif
  5. Assign a unique VLAN ID to the VLAN subinterface.
    host1(config-if)#vlan id 100
    Image g013158.gif
  6. Configure a subscriber (client) bridge group interface over the VLAN subinterface. Assign the interface to the bridge group you created in Step 1.
    host1(config-subif)#bridge-group westford02
    Image g013157.gif
  7. Exit Subinterface Configuration mode.
    host1(config-subif)#exit
  8. (Optional) Configure additional VLAN subinterfaces and bridge group interfaces by repeating Steps 4 through 6, supplying unique values.

[Contents] [Prev] [Next] [Index] [Report an Error]