XG Series User's Guide
Chapter 5 Command Reference
Bridge Counter, Log, Statistics, and Status Display and Clear Operation
Commands
469
5.28.2
Bridge Counter, Log, Statistics, and Status Clear
Commands
This section explains the commands related to bridge counter, log, statistics,
and status clearing.
5.28.2.1 clear bridge
Function
Initialize the dynamically learned MAC address from the learning table.
Available Model
XG0224 / XG0448 / XG0440DC / XG0440DCR / XG2600
Syntax
clear bridge
clear bridge port <portlist>
clear bridge mac <macaddr> <vid>
Options
N/A
Delete all dynamically learned MAC addresses from the learning table.
•
port
Specify to delete port by port.
•
mac
Specify to delete MAC address by MAC address.
<portlist>
•
port list
Specify a list of physical port numbers to initialize learning table.
When specifying multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8").
<macaddr>
•
MAC address
Specify the MAC address to be deleted from the learning table.
(It must be in the xx:xx:xx:xx:xx:xx format, where "xx" is a 2-digit hexadecimal value.)
<vid>
•
VLAN ID
Specify a decimal VLAN ID from 1 to 4094.
Use Mode
Operation mode (admin class)
Configuration mode (admin class)
Explanation
Delete dynamically learned MAC address from the learning table.
Caution
•
The address statically learned by the "vlan forward" command definition is not
initialized.
•
If a member port of link aggregation is specified, all learning addresses of the link
aggregation are deleted.
Execution Example
# clear bridge
#