Configuring Bridge Domains

To configure a bridge domain, you must specify one or more VLAN identifiers; only packets that contain a specified VLAN identifier are forwarded within the bridge domain. A logical interface is implicitly assigned to a bridge domain based on the VLAN identifier configured for the interface.

Before You Begin

For background information, read Understanding Bridge Domains.

This example configures a bridge domain bd1 for VLANs 1 and 10, and a bridge domain bd2 for VLAN 2. The number of MAC addresses learned on all logical interfaces on the device is limited to 64,000 addresses; when this limit is reached, incoming packets with a new source MAC address will be dropped.

You can use either J-Web or the CLI configuration editor to configure bridge domains.

This topic covers:

J-Web Configuration

To configure bridge domains:

  1. Select Configure>CLI Tools>Point and Click CLI.

    The Configuration page appears.

  2. Next to Bridge domains, click Configure or Edit.
  3. Next to Domain, click Add new entry.
  4. In the Domain name box, type bd1.
  5. Next to Domain type, select bridge.
  6. Next to Vlan choice, select Vlan id list.
  7. In the Vlan id box, type 1,10.
  8. Click OK to return to the Configuration page.
  9. Select Bridge domains.
  10. Next to Domain, click Add new entry.
  11. In the Domain box , type bd2
  12. Next to Domain type, select bridge.
  13. Next to Vlan choice, select Vlan id.
  14. Next to Vlan id, select Enter a specific value.
  15. In the Vlan id box, type 2.
  16. Click OK to return to the Configuration page.

To limit the number of MAC addresses learned on all logical interfaces on the device:

  1. Select Configure>CLI Tools>Point and Click CLI.
  2. Next to Protocols, click Configure or Edit.
  3. Next to L2 learning, click Configure.
  4. Select Global mac limit, then click Configure.
  5. In the Mac limit box, type 64000.
  6. Next to packet action, select Drop.
  7. Click OK to return to the L2 learning page.
  8. Click OK to return to the Protocols page.
  9. Click OK to return to the Configuration page.

CLI Configuration

To configure bridge domains:

user@host# set bridge-domains bd1 domain-type bridge vlan-id-list 1,10 user@host# set bridge-domains bd2 domain-type bridge vlan-id 2

To limit the number of MAC addresses learned on all logical interfaces on the device:

user@host# set protocols l2-learning global-mac-limit 64000 packet-action drop

Related Topics