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

# Monitoring Transparent Bridging

This section describes how to:

- Set a statistics baseline for bridge groups and bridge interfaces.
- Remove all dynamic MAC address entries or a specific dynamic MAC address entry from the forwarding table for bridge groups and bridge interfaces.
- Use the show commands to monitor bridge groups, bridge group interfaces, and subscriber policies

  | Note: The E120 router and E320 router output for monitor and show commands is identical to output from other E-series routers, except that the E120 and E320 router output also includes information about the adapter identifier in the interface specifier (slot/adapter/port).

## Setting Statistics Baselines

You can set a statistics baseline for a bridge group (by using the baseline bridge command) or for a bridge interface (by using the baseline bridge interface command).

baseline bridge

- Use to set a statistics baseline for a specified bridge group.
- The router implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.
- Example
  `
  host1#baseline bridge westford03
  `
- There is no no version.
- See baseline bridge.

baseline bridge interface

- Use to set a statistics baseline for a particular network interface belonging to a bridge group.
- The router implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.
- You must specify the following:
  - interfaceType—One of the following bridge interface types listed in Interface Types and Specifiers in JUNOSe Command Reference Guide:
    - atm
    - fastEthernet
    - gigabitEthernet
    - tenGigabitEthernet
  - interfaceSpecifier—Particular interface; format varies according to interface type; see Interface Types and Specifiers in JUNOSe Command Reference Guide for information
- Example
  `
  host1#baseline bridge interface atm 3/3.1
  `
- There is no no version.
- See baseline bridge interface.

## Removing Dynamic MAC Address Entries

You can remove all dynamic (learned) MAC address entries from the forwarding table for a bridge group (using the clear bridge command) or for a bridge interface (using the clear bridge interface command). You can also use the clear bridge address command to remove a specific dynamic MAC address entry from the forwarding table for a bridge group.

clear bridge

- Use to remove all dynamic MAC address entries from the forwarding table for the specified bridge group.
- Example

      host1#show bridge westford01 table
        Bridge: westford01 MAC Address Table
         Address         Action         Interface          Age
      --------------   ----------   -------------------   -----
      0090.1a01.0205   forward      ATM3/3.1                0
      1234.abcd.5678   discard      ---                    ---

      host1#clear bridge westford01

      host1#show bridge westford01 table
        Bridge: westford01 MAC Address Table
         Address         Action         Interface          Age
      --------------   ----------   -------------------   -----

- There is no no version.
- See clear bridge.

clear bridge address

- Use to remove a specific dynamic MAC address entry from the forwarding table for the specified bridge group.
- Example

      host1#show bridge westford01 table
        Bridge: westford01 MAC Address Table
         Address         Action         Interface          Age
      --------------   ----------   -------------------   -----
      0090.1a01.0205   forward      ATM3/3.1                0
      1234.abcd.5678   discard      ---                    ---

      host1#clear bridge westford01 address 1234.abcd.5678

      host1#show bridge westford01 table
        Bridge: westford01 MAC Address Table
         Address         Action         Interface          Age
      --------------   ----------   -------------------   -----
      0090.1a01.0205   forward      ATM3/3.1                0

- There is no no version.
- See clear bridge address.

clear bridge interface

- Use to remove all dynamic MAC address entries for a network interface belonging to a bridge group from the forwarding table for that bridge group.
- You must specify the following:
  - interfaceType—One of the following bridge interface types listed in Interface Types and Specifiers in JUNOSe Command Reference Guide:
    - atm
    - fastEthernet
    - gigabitEthernet
    - tenGigabitEthernet
  - interfaceSpecifier—Particular interface; format varies according to interface type; see Interface Types and Specifiers in JUNOSe Command Reference Guide for information
- Example

      host1#show bridge westford02 table dynamic
        Bridge: westford02 MAC Address Table
         Address         Action         Interface          Age
      --------------   ----------   -------------------   -----
      0090.1a01.0205   forward      ATM3/3.1                0
      0090.1a01.0206   forward      ATM3/3.2               10
      0090.1a01.0207   forward      ATM3/3.3                5

      host1#clear bridge interface atm 3/3.2

      host1#show bridge westford02 table dynamic
        Bridge: westford02 MAC Address Table
         Address         Action         Interface          Age
      --------------   ----------   -------------------   -----
      0090.1a01.0205   forward      ATM3/3.1                0
      0090.1a01.0207   forward      ATM3/3.3                5

- There is no no version.
- See clear bridge interface.

## Monitoring Bridge Groups

You can use show commands to display information about the bridge groups configured on your router.

show bridge

- Use to display configuration and statistics information for the specified bridge group.
- To display information about the MAC address table and bridge interfaces, use the all keyword.
- Field descriptions
  - BridgeGroup—Name assigned to the bridge group
  - Bridge Mode—Bridging capability currently enabled, either concurrent routing and bridging (CRB) or default bridging
  - Aging Time—Length of time, in seconds, that a MAC address entry can remain in the forwarding table
  - Learning—Whether acquisition of dynamically learned MAC addresses is currently enabled or disabled
  - Max Learn—Maximum number of dynamic MAC addresses that the bridge group can learn
  - Link Status Snmp Traps—Whether SNMP link status processing is enabled or disabled for all bridge interfaces in the bridge group
  - Subscriber Policy—Name of the subscriber policy currently in effect for the bridge group
  - Protocol Actions—When CRB is enabled, displays the protocols (IP, MPLS, or PPPoE) for which explicit routing has been configured
  - Port Count—Number of ports (interfaces) currently configured for the bridge group; this value typically matches the Interface Count
  - Interface Count—Number of bridge group interfaces currently configured for the bridge group
  - Address Table—Displays the current static and dynamic entries in the MAC address table
    - Address—MAC address of the entry
    - Action—How the bridge group handles this entry: forward or discard
    - Interface—Interface type and specifier on which the entry will be forwarded; this value does not appear for entries that are discarded
    - Age—Length of time that a dynamic entry has been in the forwarding table; this value does not appear for static entries
  - Interfaces—Displays statistics information for each bridge group interface; the entries for each interface are preceded by the interface type and specifier (for example, ATM3/3.1)
    - Port Number—Bridge group port number on which this interface resides
    - Operational Status—Operational status of the physical interface: Up, Down, LowerLayerDown, NotPresent
    - Admin Status—State of the physical interface: Up, Down
    - Snmp Link Status Trap—Whether SNMP link status processing is enabled or disabled for the specified bridge interface
    - Max Learn—Maximum number of dynamic MAC addresses that the bridge group interface can learn
    - Subscriber Policy—Name of the subscriber policy currently in effect for the bridge group interface
    - In Octets—Number of octets received on this interface
    - In Frames—Number of frames received on this interface
    - In Discards—Number of incoming packets discarded on this interface
    - In Errors—Number of incoming errors received on this interface
    - Out Octets—Number of octets transmitted on this interface
    - Out Frames—Number of frames transmitted on this interface
    - Out Discards—Number of outgoing packets discarded on this interface
    - Out Errors—Number of outgoing errors on this interface
    - queue—Hardware packet queue associated with the specified traffic class and interface
    - Queue length—Length of the queue, in bytes
    - Forwarded packets, Bytes—Number of packets and bytes forwarded on this queue
    - Dropped committed packets, Bytes—Number of committed packets and bytes that were dropped
    - Dropped conformed packets, Bytes—Number of conformed packets and bytes that were dropped
    - Dropped exceeded packets, Bytes—Number of exceeded packets and bytes that were dropped
- Example 1—Displays configuration settings for the specified bridge group

      host1#show bridge westford01
        BridgeGroup: westford01
              Bridge Mode:            CRB
              Aging Time:             300 secs
              Learning:               Enabled
              Max Learn:              Unlimited
              Link Status Snmp Traps: Disabled
              Subscriber Policy:      default Subscriber
              Protocol Actions:
                 Route  IP
                 Route  PPPoE
              Port Count:             1
              Interface Count:        1

- Example 2—Displays information about configuration settings, MAC address table entries, and bridge group interfaces for the specified bridge group

      host1#show bridge westford01 all
        BridgeGroup: westford01
              Bridge Mode:            CRB
              Aging Time:             300 secs
              Learning:               Enabled
              Max Learn:              Unlimited
              Link Status Snmp Traps: Disabled
              Subscriber Policy:      default Subscriber
              Protocol Actions:
                 Route  IP
                 Route  PPPoE
              Port Count:             1
              Interface Count:        1

        Address Table:
         Address         Action         Interface          Age
      --------------   ----------   -------------------   -----
      1011.22b2.333c   forward      ATM3/3.1               ---
      1234.abcd.5678   discard      ---                    ---

        Interfaces:
          ATM3/3.1
            Port Number: 1
            Operational Status: LowerLayerDown
            Admin Status: Up
            Snmp Link Status Trap: Disabled
            Max Learn: Unlimited
            Subscriber Policy: default Subscriber
            Statistics:
               In Octets:    0
               In Frames:    0
               In Discards:  0
               In Errors:    0
               Out Octets:   0
               Out Frames:   0
               Out Discards: 0
               Out Errors:   0
            queue 0: traffic class best-effort, bound to bridge     ATM3/3.1

              Queue length 0 Bytes
              Forwarded packets 0, Bytes 0
              Dropped committed packets 0, Bytes 0
              Dropped conformed packets 0, Bytes 0
              Dropped exceeded packets 0, Bytes 0

- See show bridge.

show bridge groups

- Use to display configuration information for all bridge groups currently configured on your router.
- To display the configuration settings for all bridge groups on your router, use the details keyword.
- Field descriptions
  - BridgeGroup—Name assigned to the bridge group
  - Bridge Mode—Bridging capability currently enabled, either concurrent routing and bridging (CRB) or default bridging
  - Aging Time—Length of time, in seconds, that a MAC address entry can remain in the forwarding table
  - Learning—Whether acquisition of dynamically learned MAC addresses is currently enabled or disabled
  - Max Learn—Maximum number of dynamic MAC addresses that the bridge group can learn
  - Link Status Snmp Traps—Whether SNMP link status processing is enabled or disabled for all bridge interfaces in the bridge group
  - Subscriber Policy—Name of the subscriber policy currently in effect for the bridge group
  - Protocol Actions—When CRB is enabled, displays the protocols (IP, MPLS, or PPPoE) for which explicit routing has been configured
  - Port Count—Number of ports (interfaces) currently configured for the bridge group; this value typically matches the Interface Count
  - Interface Count—Number of bridge group interfaces currently configured for the bridge group
- Example 1—Displays the names of the bridge groups configured on your router

      host1#show bridge groups
        BridgeGroup: westford02
        BridgeGroup: westford01

- Example 2—Displays the configuration settings for each bridge group on your router

      host1#show bridge groups details
        BridgeGroup: westford02
              Bridge Mode:            CRB
              Aging Time:             300 secs
              Learning:               Enabled
              Max Learn:              Unlimited
              Link Status Snmp Traps: Disabled
              Subscriber Policy:      client01
              Protocol Actions:
                 Route  IP
                 Route  PPPoE
              Port Count:             0
              Interface Count:        0
        BridgeGroup: westford01
              Bridge Mode:            CRB
              Aging Time:             300 secs
              Learning:               Enabled
              Max Learn:              Unlimited
              Link Status Snmp Traps: Disabled
              Subscriber Policy:      default Subscriber
              Protocol Actions:
              Port Count:             1
              Interface Count:        1

- See show bridge groups.

show bridge port

- Use to display configuration, statistics, and status information for all ports (interfaces) or for a specified port associated with a bridge group.
- To display only the port number, interface identifier, and status for each port, use the brief keyword.
- Field descriptions
  - Port Number—Bridge group port number on which this interface resides
  - Operational Status—Operational status of the physical interface: Up, Down, LowerLayerDown, NotPresent
  - Admin Status—State of the physical interface: Up, Down
  - Snmp Link Status Trap—Whether SNMP link status processing is enabled or disabled for the specified bridge interface
  - Max Learn—Maximum number of dynamic MAC addresses that the bridge group interface can learn
  - Subscriber Policy—Name of the subscriber policy currently in effect for the bridge group interface
  - Statistics—Displays statistics information for the specified port
    - In Octets—Number of octets received on this interface
    - In Frames—Number of frames received on this interface
    - In Discards—Number of incoming packets discarded on this interface
    - In Errors—Number of incoming errors received on this interface
    - Out Octets—Number of octets transmitted on this interface
    - Out Frames—Number of frames transmitted on this interface
    - Out Discards—Number of outgoing packets discarded on this interface
    - Out Errors—Number of outgoing errors on this interface
  - queue—Hardware packet queue associated with the specified traffic class and interface
    - Queue length—Length of the queue, in bytes
    - Forwarded packets, Bytes—Number of packets and bytes forwarded on this queue
    - Dropped committed packets, Bytes—Number of committed packets and bytes that were dropped
    - Dropped conformed packets, Bytes—Number of conformed packets and bytes that were dropped
    - Dropped exceeded packets, Bytes—Number of exceeded packets and bytes that were dropped
  - Using the brief keyword displays the following fields:
    - Port—Bridge group port number on which this interface resides
    - Interface—Interface type and specifier associated with the port (for example, ATM3/3.1)
    - Status—Operational status of the physical interface: Up, Down, LowerLayerDown, NotPresent
- Example 1—Displays configuration, statistics, and status information for all ports currently associated with the bridge group

      host1#show bridge westford01 port 1
          ATM3/3.1
            Port Number: 1
            Operational Status: LowerLayerDown
            Admin Status: Up
            Snmp Link Status Trap: Disabled
            Max Learn: Unlimited
            Subscriber Policy: default Subscriber
            Statistics:
               In Octets:    0
               In Frames:    0
               In Discards:  0
               In Errors:    0
               Out Octets:   0
               Out Frames:   0
               Out Discards: 0
               Out Errors:   0
            queue 0: traffic class best-effort, bound to bridge     ATM3/3.1

              Queue length 0 Bytes
              Forwarded packets 0, Bytes 0
              Dropped committed packets 0, Bytes 0
              Dropped conformed packets 0, Bytes 0
              Dropped exceeded packets 0, Bytes 0

- Example 2—Uses the brief keyword to display summary information for each port

      host1#show bridge westford01 port brief
       Port            Interface              Status
      ------   -------------------------   ------------
      1        ATM3/3.1                    LowerLayerDown

- See show bridge port.

show bridge table

- Use to display information about dynamic and static entries in the MAC address table for the specified bridge group.
- To display only static address entries, use the static keyword.
- To display only dynamic address entries, use the dynamic keyword.
- Field descriptions
  - Bridge—Name of the bridge group for which the MAC address table is displayed
  - Address—MAC address of the entry
  - Action—Specifies how the bridge group handles this entry: forward or discard
  - Interface—Interface type and specifier on which the entry will be forwarded; this value does not appear for entries that are discarded
  - Age—Length of time that a dynamic entry has been in the forwarding table; this value does not appear for static entries
- Example

      host1#show bridge westford01 table static
        Bridge: westford01 MAC Address Table
         Address         Action         Interface          Age
      --------------   ----------   -------------------   -----
      1a11.22b2.333c   forward      ATM3/3.1               ---
      1234.abcd.5678   discard      ---                    ---

- See show bridge table.

## Monitoring Bridge Interfaces

You can use the show bridge interface command to display information for a specified bridge interface or for all interfaces assigned to a bridge group.

show bridge interface

- Use to display configuration, statistics, and status information for a specified bridge interface or for all interfaces assigned to a bridge group.
- Field descriptions
  - BridgeGroup—Name of the bridge group to which the interface belongs
  - Port Number—Bridge group port number on which this interface resides
  - Operational Status—Operational status of the physical interface: Up, Down, LowerLayerDown, NotPresent
  - Admin Status—State of the physical interface: Up, Down
  - Snmp Link Status Trap—Whether SNMP link status processing is enabled or disabled for the specified bridge interface
  - Max Learn—Maximum number of dynamic MAC addresses that the bridge group interface can learn
  - Subscriber Policy—Name of the subscriber policy currently in effect for the bridge group interface
  - Statistics—Displays statistics information for the specified port
    - In Octets—Number of octets received on this interface
    - In Frames—Number of frames received on this interface
    - In Discards—Number of incoming packets discarded on this interface
    - In Errors—Number of incoming errors received on this interface
    - Out Octets—Number of octets transmitted on this interface
    - Out Frames—Number of frames transmitted on this interface
    - Out Discards—Number of outgoing packets discarded on this interface
    - Out Errors—Number of outgoing errors on this interface
  - queue—Hardware packet queue associated with the specified traffic class and interface
    - Queue length—Length of the queue, in bytes
    - Forwarded packets, Bytes—Number of packets and bytes forwarded on this queue
    - Dropped committed packets, Bytes—Number of committed packets and bytes that were dropped
    - Dropped conformed packets, Bytes—Number of conformed packets and bytes that were dropped
    - Dropped exceeded packets, Bytes—Number of exceeded packets and bytes that were dropped
  - Using the brief keyword displays the following fields:
    - Interface—Interface type and specifier associated with the port (for example, FastEthernet9/1.1)
    - Port—Bridge group port number on which this interface resides
    - Status—Operational status of the physical interface: Up, Down, LowerLayerDown, NotPresent
- Example 1—Displays information about a specified interface

      host1#show bridge interface fastEthernet 9/1.1
          fastEthernet9/1.1
            BridgeGroup: 1
            Port Number: 1
            Operational Status: Up
            Admin Status: Up
            Snmp Link Status Trap: Disabled
            Max Learn: Unlimited
            Subscriber Policy: atmfe1
            Statistics:
               In Octets:    0
               In Frames:    0
               In Discards:  0
               In Errors:    0
               Out Octets:   0
               Out Frames:   0
               Out Discards: 0
               Out Errors:   0
            queue 0: traffic class best-effort, bound to bridge     FastEthernet9/1.1
              Queue length 0 Bytes
              Forwarded packets 0, Bytes 0
              Dropped committed packets 0, Bytes 0
              Dropped conformed packets 0, Bytes 0
              Dropped exceeded packets 0, Bytes 0

- Example 2—Uses the brief keyword to display a summary of all bridge interfaces configured on the router

      host1#show bridge westford01 interface brief
      Interface            Port       Status
      -----------------  --------   ------------
      FastEthernet9/1.1     1           Up
      FastEthernet9/1.2     2           Up
      FastEthernet9/3.1     3           Up
      ATM11/0.5             4           Up
      ATM11/3.2             5           Up
      ATM11/0.7             6           Up

- See show bridge interface.

## Monitoring Subscriber Policies

You can use the show subscriber-policy command to display the rules for all subscriber policies configured on your router or for a specified subscriber policy.

show subscriber-policy

- Use to display the set of forwarding and filtering rules for all default and nondefault subscriber policies configured on the router or for a specified subscriber policy.
- For all packet types except Relearn, the command displays permit to indicate that the bridge interface forwards the packets, or deny to indicate that the bridge interface filters the packets. (For information about the meaning of permit and deny for Relearn, see the field descriptions.)
- Field descriptions
  - Subscriber—Name of the subscriber policy
  - ARP—Specifies how the bridge interface handles ARP packets
  - Broadcast—Specifies how the bridge interface handles broadcast packets
  - Multicast—Specifies how the bridge interface handles multicast packets
  - Unknown Destination—Specifies how the bridge interface handles packets with unknown unicast DAs
  - Unicast—Specifies how the bridge interface handles unicast (user-to-user) packets
  - PPPoE—Specifies how the bridge interface handles PPPoE packets
  - Relearn—Specifies whether the bridge interface can relearn a MAC address entry on a different interface from the one initially associated with this entry in the forwarding table; permit indicates that relearning is allowed, and deny indicates that relearning is prohibited
  - Mpls—Specifies how the bridge interface handles MPLS packets
- Example 1—Displays the rules for all default and nondefault subscriber policies currently configured on the router

      host1#show subscriber-policy
        Subscriber: default Subscriber
        ARP                 : Permit
        Broadcast           : Deny
        Multicast           : Permit
        Unknown Destination : Deny
        IP                  : Permit
        Unknown Protocol    : Permit
        Unicast             : Permit
        PPPoE               : Permit
        Relearn             : Permit
        Mpls                : Permit
        Subscriber: default Trunk
        ARP                 : Permit
        Broadcast           : Permit
        Multicast           : Permit
        Unknown Destination : Permit
        IP                  : Permit
        Unknown Protocol    : Permit
        Unicast             : Permit
        PPPoE               : Permit
        Relearn             : Permit
        Mpls                : Permit

        Subscriber: client01
        ARP                 : Permit
        Broadcast           : Permit
        Multicast           : Deny
        Unknown Destination : Deny
        IP                  : Permit
        Unknown Protocol    : Permit
        Unicast             : Permit
        PPPoE               : Permit
        Relearn             : Deny
        Mpls                : Permit

- Example 2—Displays the rules for a specified subscriber policy

      host1#show subscriber-policy client01
        Subscriber: client01
        ARP                 : Permit
        Broadcast           : Permit
        Multicast           : Deny
        Unknown Destination : Deny
        IP                  : Permit
        Unknown Protocol    : Permit
        Unicast             : Permit
        PPPoE               : Permit
        Relearn             : Deny
        Mpls                : Permit

- See show subscriber-policy.

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