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
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 westford03There is no no version. 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:
- interfaceTypeOne of the following bridge interface types listed in Interface Types and Specifiers in JUNOSe Command Reference Guide, About This Guide:
- interfaceSpecifierParticular interface; format varies according to interface type; see Interface Types and Specifiers in JUNOSe Command Reference Guide, About This Guide for information
host1#baseline bridge interface atm 3/3.1There is no no version. 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 tableBridge: 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 tableBridge: westford01 MAC Address TableAddress Action Interface Age-------------- ---------- ------------------- -----There is no no version. 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 tableBridge: westford01 MAC Address TableAddress Action Interface Age-------------- ---------- ------------------- -----0090.1a01.0205 forward ATM3/3.1 01234.abcd.5678 discard --- ---host1#clear bridge westford01 address 1234.abcd.5678host1#show bridge westford01 tableBridge: westford01 MAC Address TableAddress Action Interface Age-------------- ---------- ------------------- -----0090.1a01.0205 forward ATM3/3.1 0There is no no version. 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:
- interfaceTypeOne of the following bridge interface types listed in Interface Types and Specifiers in JUNOSe Command Reference Guide, About This Guide:
- interfaceSpecifierParticular interface; format varies according to interface type; see Interface Types and Specifiers in JUNOSe Command Reference Guide, About This Guide for information
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 5There is no no version. 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
- BridgeGroupName assigned to the bridge group
- Bridge ModeBridging capability currently enabled, either concurrent routing and bridging (CRB) or default bridging
- Aging TimeLength of time, in seconds, that a MAC address entry can remain in the forwarding table
- LearningWhether acquisition of dynamically learned MAC addresses is currently enabled or disabled
- Max LearnMaximum number of dynamic MAC addresses that the bridge group can learn
- Link Status Snmp TrapsWhether SNMP link status processing is enabled or disabled for all bridge interfaces in the bridge group
- Subscriber PolicyName of the subscriber policy currently in effect for the bridge group
- Protocol ActionsWhen CRB is enabled, displays the protocols (IP, MPLS, or PPPoE) for which explicit routing has been configured
- Port CountNumber of ports (interfaces) currently configured for the bridge group; this value typically matches the Interface Count
- Interface CountNumber of bridge group interfaces currently configured for the bridge group
- Address TableDisplays the current static and dynamic entries in the MAC address table
- AddressMAC address of the entry
- ActionHow the bridge group handles this entry: forward or discard
- InterfaceInterface type and specifier on which the entry will be forwarded; this value does not appear for entries that are discarded
- AgeLength of time that a dynamic entry has been in the forwarding table; this value does not appear for static entries
- InterfacesDisplays 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 NumberBridge group port number on which this interface resides
- Operational StatusOperational status of the physical interface: Up, Down, LowerLayerDown, NotPresent
- Admin StatusState of the physical interface: Up, Down
- Snmp Link Status TrapWhether SNMP link status processing is enabled or disabled for the specified bridge interface
- Max LearnMaximum number of dynamic MAC addresses that the bridge group interface can learn
- Subscriber PolicyName of the subscriber policy currently in effect for the bridge group interface
- In OctetsNumber of octets received on this interface
- In FramesNumber of frames received on this interface
- In DiscardsNumber of incoming packets discarded on this interface
- In ErrorsNumber of incoming errors received on this interface
- Out OctetsNumber of octets transmitted on this interface
- Out FramesNumber of frames transmitted on this interface
- Out DiscardsNumber of outgoing packets discarded on this interface
- Out ErrorsNumber of outgoing errors on this interface
- queueHardware packet queue associated with the specified traffic class and interface
- Queue lengthLength of the queue, in bytes
- Forwarded packets, BytesNumber of packets and bytes forwarded on this queue
- Dropped committed packets, BytesNumber of committed packets and bytes that were dropped
- Dropped conformed packets, BytesNumber of conformed packets and bytes that were dropped
- Dropped exceeded packets, BytesNumber 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: 1Example 2Displays 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 router.
- To display the configuration settings for all bridge groups on your router, use the details keyword.
- Field descriptions
- BridgeGroupName assigned to the bridge group
- Bridge ModeBridging capability currently enabled, either concurrent routing and bridging (CRB) or default bridging
- Aging TimeLength of time, in seconds, that a MAC address entry can remain in the forwarding table
- LearningWhether acquisition of dynamically learned MAC addresses is currently enabled or disabled
- Max LearnMaximum number of dynamic MAC addresses that the bridge group can learn
- Link Status Snmp TrapsWhether SNMP link status processing is enabled or disabled for all bridge interfaces in the bridge group
- Subscriber PolicyName of the subscriber policy currently in effect for the bridge group
- Protocol ActionsWhen CRB is enabled, displays the protocols (IP, MPLS, or PPPoE) for which explicit routing has been configured
- Port CountNumber of ports (interfaces) currently configured for the bridge group; this value typically matches the Interface Count
- Interface CountNumber of bridge group interfaces currently configured for the bridge group
host1#show bridge groupsBridgeGroup: westford02BridgeGroup: westford01Example 2Displays the configuration settings for each bridge group on your router host1#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 NumberBridge group port number on which this interface resides
- Operational StatusOperational status of the physical interface: Up, Down, LowerLayerDown, NotPresent
- Admin StatusState of the physical interface: Up, Down
- Snmp Link Status TrapWhether SNMP link status processing is enabled or disabled for the specified bridge interface
- Max LearnMaximum number of dynamic MAC addresses that the bridge group interface can learn
- Subscriber PolicyName of the subscriber policy currently in effect for the bridge group interface
- StatisticsDisplays statistics information for the specified port
- In OctetsNumber of octets received on this interface
- In FramesNumber of frames received on this interface
- In DiscardsNumber of incoming packets discarded on this interface
- In ErrorsNumber of incoming errors received on this interface
- Out OctetsNumber of octets transmitted on this interface
- Out FramesNumber of frames transmitted on this interface
- Out DiscardsNumber of outgoing packets discarded on this interface
- Out ErrorsNumber of outgoing errors on this interface
- Queue lengthLength of the queue, in bytes
- Forwarded packets, BytesNumber of packets and bytes forwarded on this queue
- Dropped committed packets, BytesNumber of committed packets and bytes that were dropped
- Dropped conformed packets, BytesNumber of conformed packets and bytes that were dropped
- Dropped exceeded packets, BytesNumber of exceeded packets and bytes that were dropped
- PortBridge group port number on which this interface resides
- InterfaceInterface type and specifier associated with the port (for example, ATM3/3.1)
- StatusOperational status of the physical interface: Up, Down, LowerLayerDown, NotPresent
- Example 1Displays 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 0Example 2Uses the brief keyword to display summary information for each port host1#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
- BridgeName of the bridge group for which the MAC address table is displayed
- AddressMAC address of the entry
- ActionSpecifies how the bridge group handles this entry: forward or discard
- InterfaceInterface type and specifier on which the entry will be forwarded; this value does not appear for entries that are discarded
- AgeLength 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
- BridgeGroupName of the bridge group to which the interface belongs
- Port NumberBridge group port number on which this interface resides
- Operational StatusOperational status of the physical interface: Up, Down, LowerLayerDown, NotPresent
- Admin StatusState of the physical interface: Up, Down
- Snmp Link Status TrapWhether SNMP link status processing is enabled or disabled for the specified bridge interface
- Max LearnMaximum number of dynamic MAC addresses that the bridge group interface can learn
- Subscriber PolicyName of the subscriber policy currently in effect for the bridge group interface
- StatisticsDisplays statistics information for the specified port
- In OctetsNumber of octets received on this interface
- In FramesNumber of frames received on this interface
- In DiscardsNumber of incoming packets discarded on this interface
- In ErrorsNumber of incoming errors received on this interface
- Out OctetsNumber of octets transmitted on this interface
- Out FramesNumber of frames transmitted on this interface
- Out DiscardsNumber of outgoing packets discarded on this interface
- Out ErrorsNumber of outgoing errors on this interface
- Queue lengthLength of the queue, in bytes
- Forwarded packets, BytesNumber of packets and bytes forwarded on this queue
- Dropped committed packets, BytesNumber of committed packets and bytes that were dropped
- Dropped conformed packets, BytesNumber of conformed packets and bytes that were dropped
- Dropped exceeded packets, BytesNumber of exceeded packets and bytes that were dropped
- InterfaceInterface type and specifier associated with the port (for example, FastEthernet9/1.1)
- PortBridge group port number on which this interface resides
- StatusOperational 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 0Example 2Uses the brief keyword to display a summary of all bridge interfaces configured on the router 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 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
- SubscriberName of the subscriber policy
- ARPSpecifies how the bridge interface handles ARP packets
- BroadcastSpecifies how the bridge interface handles broadcast packets
- MulticastSpecifies how the bridge interface handles multicast packets
- Unknown DestinationSpecifies how the bridge interface handles packets with unknown unicast DAs
- UnicastSpecifies how the bridge interface handles unicast (user-to-user) packets
- PPPoESpecifies how the bridge interface handles PPPoE packets
- RelearnSpecifies 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
- MplsSpecifies how the bridge interface handles MPLS packets
- Example 1Displays the rules for all default and nondefault subscriber policies currently configured on the router
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 : PermitExample 2Displays the rules for a specified subscriber policy host1#show subscriber-policy client01Subscriber: client01ARP : PermitBroadcast : PermitMulticast : DenyUnknown Destination : DenyIP : PermitUnknown Protocol : PermitUnicast : PermitPPPoE : PermitRelearn : DenyMpls : Permit