Configuration Tasks

To configure transparent bridging on an E Series router:

  1. Create a bridge group.
  2. (Optional) Set optional attributes for the bridge group.
  3. Configure bridge group interfaces.
  4. (Optional) Configure nondefault subscriber policies for bridge interfaces.
  5. (Optional) Enable concurrent routing and bridging.
  6. (Optional) If CRB is enabled, configure explicit routing for IP, MPLS, or PPPoE protocols.

The following sections describe how to perform each of these tasks. See Configuration Examples for detailed sample configurations.

Note: For information about the maximum values that the router supports for transparent bridging, see JunosE Release Notes, Appendix A, System Maximums.

Creating Bridge Groups

To create a bridge group:

  1. From Global Configuration mode, create a bridge group and give it an alphanumeric name.
    host1(config)#bridge westford01

    Note: Do not assign the bridge group the same name as an existing VR configured on your router.

  2. (Optional) Repeat Step 1 to create additional bridge groups, one at a time.
    host1(config)#bridge westford02 host1(config)#bridge westford03
  3. (Optional) Use the appropriate show command to verify the bridge group creation.
    host1#show bridge groups

bridge

Configuring Optional Bridge Group Attributes

After you create a bridge group, you can configure the following optional attributes for the bridge group to manage the MAC address entries in the bridge group’s forwarding table:

You can also optionally enable SNMP link status processing for the bridge group. For example:

host1(config)#bridge westford03 snmp-trap link-status

bridge acquire

bridge address

bridge aging-time

bridge learn

bridge snmp-trap link-status

Configuring Bridge Group Interfaces

To configure a bridge group interface:

  1. From Global Configuration mode, select the ATM, Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface or subinterface that you want to assign to the bridge group.
  2. Assign the interface or subinterface to an existing bridge group to create the bridge interface.
  3. (Optional) Configure the bridge group interface as a trunk (server) interface.
  4. (Optional) Enable SNMP link status processing for the bridge group interface.
  5. (Optional) Set the maximum number of dynamic MAC addresses that the bridge group interface can learn.

For detailed sample configurations that include bridge interfaces, see Configuration Examples.

bridge-group

interface atm

interface fastEthernet

interface gigabitEthernet

interface tenGigabitEthernet

Configuring Subscriber Policies

To configure a nondefault client subscriber policy:

  1. From Global Configuration mode, create the subscriber policy and assign it an alphanumeric name.
    host1(config)#subscriber-policy client01

    This command accesses Subscriber Policy Configuration mode.

  2. From Subscriber Policy Configuration mode, define the rules for each packet or attribute type for which you want to change the default value. (All other packet or attribute types will continue to use the default values listed in Table 47.)
    host1(config-policy)#broadcast permit host1(config-policy)#multicast deny host1(config-policy)#relearn deny
  3. Exit Subscriber Policy Configuration mode.
    host1(config-policy)#exit
  4. From Global Configuration mode, associate the new subscriber policy with the bridge group in which the subscriber (client) interface resides.
    host1(config)#bridge westford02 subscriber-policy client01
  5. (Optional) Use the appropriate show commands to verify the creation of the subscriber policy and its association with the bridge group interface.
    host1#show subscriber-policy client01 host1#show bridge westford02

arp

bridge subscriber-policy

broadcast

ip

mpls

multicast

pppoe

relearn

subscriber-policy

unicast

unknown-destination

unknown-protocol

Enabling Concurrent Routing and Bridging

To enable concurrent routing and bridging (CRB) for all bridge groups on the router:

  1. From Global Configuration mode, issue the bridge crb command.
    host1(config)#bridge crb
  2. (Optional) Use the appropriate show command to verify that CRB is enabled for the bridge groups on your router.
    host1#show bridge groups details

bridge crb

Configuring Explicit Routing

After you enable concurrent routing and bridging, you may need to issue the bridge route command to configure explicit routing for IP, MPLS, or PPPoE protocols if both of the following conditions are true:

For example, assume that you want to route (rather than bridge) IP, MPLS, and PPPoE interfaces, but only IP and MPLS interfaces are configured when you issue the bridge crb command. The router detects the IP and MPLS interfaces and issues implicit bridge route commands to route these protocols.

If you subsequently add a new IP interface to a bridge group, you do not need to issue the bridge route command because the implicit bridge route command for IP is still in effect. However, if you subsequently add a new PPPoE interface to the bridge group, you must issue an explicit bridge route command for PPPoE to direct the bridge group to route PPPoE packets.

You can also use the bridge route command as a way to filter packets by routing. If you issue an explicit bridge route command for a protocol that is not currently configured in any of your bridge groups, the bridge group must route rather than bridge that protocol, but does not have the required interface stacking to do so. As a result, the bridge group discards (drops) those packets.

To configure explicit routing:

  1. Ensure that you have enabled concurrent routing and bridging. (See Enabling Concurrent Routing and Bridging for details.)
  2. From Global Configuration mode, enable routing of IP, MPLS, or PPPoE packets in a specified bridge group.
    host1(config)#bridge westford02 route ip host1(config)#bridge westford02 route mpls host1(config)#bridge westford03 route pppoe
  3. (Optional) Use the appropriate show command to verify that routing is enabled for the specified protocols in the bridge group.
    host1#show bridge westford02

bridge route