Monitoring Transparent Bridging
This section describes how to:
- Set a statistics baseline for bridge groups and bridge interfaces.
- Remove all dynamic MAC address entries from the forwarding table for bridge groups and bridge interfaces.
- Use the show commands to monitor bridge groups, bridge group interfaces, and subscriber policies.
Setting Statistics Baselines
You can set a statistics baseline for a bridge group (using the baseline bridge command) or for a bridge interface (using the baseline bridge interface command).
baseline bridge
- Use to set a statistics baseline for a specified bridge group.
- The system 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 westford03baseline bridge interface
- Use to set a statistics baseline for a particular network interface belonging to a bridge group.
- The system 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:
- slot - number of the system chassis slot
- port - number of the port on the I/O module
- subinterface - number of the subinterface in the range 1-4294967293
host1#baseline bridge interface atm 3/3.1Removing 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).
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 dynamicBridge: westford01 MAC Address TableAddress Action Interface Age-------------- ---------- ------------------- -----0090.1a01.0205 forward ATM3/3.1 01234.abcd.5678 discard --- ---host1#clear bridge westford01host1#show bridge westford01 table dynamicBridge: westford01 MAC Address TableAddress Action Interface Age-------------- ---------- ------------------- -----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:
- slot - number of the system chassis slot
- port - number of the port on the I/O module
- subinterface - number of the subinterface in the range 1-4294967293
host1#show bridge westford02 table dynamicBridge: westford02 MAC Address TableAddress Action Interface Age-------------- ---------- ------------------- -----0090.1a01.0205 forward ATM3/3.1 00090.1a01.0206 forward ATM3/3.2 100090.1a01.0207 forward ATM3/3.3 5host1#clear bridge interface atm 3/3.2host1#show bridge westford02 table dynamicBridge: westford02 MAC Address TableAddress Action Interface Age-------------- ---------- ------------------- -----0090.1a01.0205 forward ATM3/3.1 00090.1a01.0207 forward ATM3/3.3 5Monitoring Bridge Groups
You can use show commands to display information about the bridge groups configured on your system.
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 should handle 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
host1#show bridge westford01BridgeGroup: westford01Bridge Mode: CRBAging Time: 300 secsLearning: EnabledMax Learn: UnlimitedLink Status Snmp Traps: DisabledSubscriber Policy: default SubscriberProtocol Actions:Route IPRoute PPPoEPort Count: 1Interface 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 allBridgeGroup: westford01Bridge Mode: CRBAging Time: 300 secsLearning: EnabledMax Learn: UnlimitedLink Status Snmp Traps: DisabledSubscriber Policy: default SubscriberProtocol Actions:Route IPRoute PPPoEPort Count: 1Interface Count: 1Address Table:Address Action Interface Age-------------- ---------- ------------------- -----1011.22b2.333c forward ATM3/3.1 ---1234.abcd.5678 discard --- ---Interfaces:ATM3/3.1Port Number: 1Operational Status: LowerLayerDownAdmin Status: UpSnmp Link Status Trap: DisabledMax Learn: UnlimitedSubscriber Policy: default SubscriberStatistics:In Octets: 0In Frames: 0In Discards: 0In Errors: 0Out Octets: 0Out Frames: 0Out Discards: 0Out Errors: 0queue 0: traffic class best-effort, bound to bridge ATM3/3.1Queue length 0 BytesForwarded packets 0, Bytes 0Dropped committed packets 0, Bytes 0Dropped conformed packets 0, Bytes 0Dropped exceeded packets 0, Bytes 0show bridge groups
- Use to display configuration information for all bridge groups currently configured on your system.
- To display the configuration settings for all bridge groups on your system, 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
host1#show bridge groupsBridgeGroup: westford02BridgeGroup: westford01host1#show bridge groups detailsBridgeGroup: westford02Bridge Mode: CRBAging Time: 300 secsLearning: EnabledMax Learn: UnlimitedLink Status Snmp Traps: DisabledSubscriber Policy: client01Protocol Actions:Route IPRoute PPPoEPort Count: 0Interface Count: 0BridgeGroup: westford01Bridge Mode: CRBAging Time: 300 secsLearning: EnabledMax Learn: UnlimitedLink Status Snmp Traps: DisabledSubscriber Policy: default SubscriberProtocol Actions:Port Count: 1Interface Count: 1show 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 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
- 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 1ATM3/3.1Port Number: 1Operational Status: LowerLayerDownAdmin Status: UpSnmp Link Status Trap: DisabledMax Learn: UnlimitedSubscriber Policy: default SubscriberStatistics:In Octets: 0In Frames: 0In Discards: 0In Errors: 0Out Octets: 0Out Frames: 0Out Discards: 0Out Errors: 0queue 0: traffic class best-effort, bound to bridge ATM3/3.1Queue length 0 BytesForwarded packets 0, Bytes 0Dropped committed packets 0, Bytes 0Dropped conformed packets 0, Bytes 0Dropped exceeded packets 0, Bytes 0host1#show bridge westford01 port briefPort Interface Status------ ------------------------- ------------1 ATM3/3.1 LowerLayerDownshow 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 should handle 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
host1#show bridge westford01 table staticBridge: westford01 MAC Address TableAddress Action Interface Age-------------- ---------- ------------------- -----1a11.22b2.333c forward ATM3/3.1 ---1234.abcd.5678 discard --- ---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 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
- 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
host1#show bridge interface fastEthernet 9/1.1fastEthernet9/1.1BridgeGroup: 1Port Number: 1Operational Status: UpAdmin Status: UpSnmp Link Status Trap: DisabledMax Learn: UnlimitedSubscriber Policy: atmfe1Statistics:In Octets: 0In Frames: 0In Discards: 0In Errors: 0Out Octets: 0Out Frames: 0Out Discards: 0Out Errors: 0queue 0: traffic class best-effort, bound to bridge FastEthernet9/1.1Queue length 0 BytesForwarded packets 0, Bytes 0Dropped committed packets 0, Bytes 0Dropped conformed packets 0, Bytes 0Dropped exceeded packets 0, Bytes 0
- Example 2 - uses the brief keyword to display a summary of all bridge interfaces configured on the system
host1#show bridge westford01 interface briefInterface Port Status----------------- -------- ------------FastEthernet9/1.1 1 UpFastEthernet9/1.2 2 UpFastEthernet9/3.1 3 UpATM11/0.5 4 UpATM11/3.2 5 UpATM11/0.7 6 UpMonitoring Subscriber Policies
You can use the show subscriber-policy command to display the rules for all subscriber policies configured on your system 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 system 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 system
host1#show subscriber-policySubscriber: default SubscriberARP : PermitBroadcast : DenyMulticast : PermitUnknown Destination : DenyIP : PermitUnknown Protocol : PermitUnicast : PermitPPPoE : PermitRelearn : PermitMpls : PermitSubscriber: default TrunkARP : PermitBroadcast : PermitMulticast : PermitUnknown Destination : PermitIP : PermitUnknown Protocol : PermitUnicast : PermitPPPoE : PermitRelearn : PermitMpls : PermitSubscriber: client01ARP : PermitBroadcast : PermitMulticast : DenyUnknown Destination : DenyIP : PermitUnknown Protocol : PermitUnicast : PermitPPPoE : PermitRelearn : DenyMpls : Permithost1#show subscriber-policy client01Subscriber: client01ARP : PermitBroadcast : PermitMulticast : DenyUnknown Destination : DenyIP : PermitUnknown Protocol : PermitUnicast : PermitPPPoE : PermitRelearn : DenyMpls : Permit