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


Configuration Tasks

To configure transparent bridging on your ERX system:

  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 later in this chapter for detailed sample configurations.

Creating Bridge Groups

To create a bridge group on your system:

  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 system.

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

    bridge

host1(config)#bridge westford04

Configuring Optional Bridge Group Attributes

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

host1(config)#bridge westford01 acquire
host1(config)#bridge westford01 address 0090.1a40.4c7c 
forward atm 3/0.1
host1(config)#bridge westford02 address 1011.22c2.333d 
discard
host1(config)#bridge westford01 aging-time 200
host1(config)#bridge westford02 learn 10000

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

host1(config)#bridge westford01 acquire

    bridge address

host1(config)#bridge westford02 address 0090.1a40.4c7c 
forward fastEthernet 3/0.1
host1(config)#bridge westford03 address 1011.22b2.333c 
discard

    bridge aging-time

host1(config)#bridge westford04 aging-time 1000

    bridge learn

host1(config)#bridge westford05 learn 2000

    bridge snmp-trap link-status

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

Configuring Bridge Group Interfaces

To configure a bridge group interface:

  1. From Global Configuration mode, select the ATM, Fast Ethernet, or 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, later in this chapter.

    bridge-group

host1(config-subif)#bridge-group westford02 snmp-trap 
link-status
host1(config-subif)#bridge-group westford02 learn 1000
host1(config-subif)#bridge-group westford03 subscriber-trunk

    interface atm

host1(config)#interface atm 3/2.1

    interface fastEthernet

host1(config)#interface fastEthernet 1/0.2


Note: For more details on the use of this command, see the syntax description in the ERX Command Reference Guide A to M.

    interface gigabitEthernet



Note: You can configure only the primary port, 0, on the Gigabit Ethernet module. The system automatically uses the redundant port if the primary fails.

host1(config)#interface gigabitEthernet 1/0


Note: For more details on the use of this command, see the syntax description in the ERX Command Reference Guide A to M.

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.

  1. 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 10-1, earlier in this chapter.)
host1(config-policy)#broadcast permit
host1(config-policy)#multicast deny
host1(config-policy)#relearn deny
  1. Exit Subscriber Policy Configuration mode.
host1(config-policy)#exit
  1. 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
  1. (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

host1(config-policy)#arp deny

    bridge subscriber-policy

host1(config)#bridge westford02 subscriber-policy client01


Note: You cannot change the default subscriber policy values for a trunk (server) bridge interface. As a result, you cannot use the bridge subscriber-policy command to associate a nondefault subscriber policy with a trunk bridge interface.

    broadcast

host1(config-policy)#broadcast permit

    ip

host1(config-policy)#ip deny

    mpls

host1(config-policy)#mpls deny

    multicast

host1(config-policy)#multicast deny

    pppoe

host1(config-policy)#pppoe deny

    relearn

host1(config-policy)#relearn deny

    subscriber-policy

host1(config)#subscriber-policy client01


Note: You cannot change the default subscriber policy values for a trunk (server) bridge interface. As a result, you cannot use the subscriber-policy command to create a nondefault subscriber policy for a trunk interface.

    unicast

host1(config-policy)#unicast deny

    unknown-destination

host1(config-policy)#unknown-destination permit

    unknown-protocol

host1(config-policy)#unknown-protocol deny

Enabling Concurrent Routing and Bridging

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

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

    bridge crb

host1(config)#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 system 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, earlier in this chapter, 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
  1. (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

host1(config)#bridge westford02 route ip

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