
122
MES3000 Ethernet switch series
agingtime
seconds
vlan
vlan_id
mac address-table learning
vlan
vlan_id
vlan_id:
(1..4094)/enabled by
default
Enable MAC address learning in the current VLAN.
no mac address-table learning
vlan
vlan_id
Disable MAC address learning in the current VLAN.
mac address-table static
mac_address
vlan
vlan_id
interface
{
gigabitethernet
gi_port
| tengigabitethernet
te_port
| port-channel
group
}
[permanent |
deleteonreset |
deleteontimeout | secure]
gi_port: (1..8/0/1..24);
te_port: (1..8/0/1..4);
group: (1..12)
Add the source MAC address into the multicast addressing table.
-
mac-address
—MAC address
- vlan_id
—VLAN number
-
permanent
—this MAC address can be deleted with
no mac
address
command only
-
delete-on-reset
—this address will be deleted after the switch is
restarted
-
delete-on-timeout
—this address will be deleted by timeout
-
secure
—current address can be deleted with
no mac address
command only or when the port returns to learning mode (
no
port security
).
no mac address-table static
[
mac_address
] vlan
vlan_id
Remove MAC address from the multicast addressing table.
bridge multicast reserved-
address
mac_multicast_address
[ethernet-v2
ethtype
| llc
sap
|
llc-snap
pid
] {discard | bridge}
ethtype:
(0x0600..0xFFFF);
sap: (0..0xFFFF);
pid: (0..0xFFFFFFFFFF);
Define the action for multicast packets from the reserved adderss.
-
mac_multicast_address
—multicast MAC address
-
ethtype
—Ethernet v2 packet type
-
sap
—LLC packet type
-
pid
—LLC-Snap packet type
-
discard
—drop packets
-
bridge
—bridge packet transmission mode
no bridge multicast reserved-
address
mac_multicast_address
[ethernet-v2
ethtype
| llc
sap
|
llc-snap
pid
]
Restore the default value.
mac address-table
lookuplength
length
length: (1..8)/3
Specify the size of MAC address area in the hashing algorithm.
Changes will take effect after the switch is restarted.
no mac address-table
lookuplength
Restore the default value. Changes will take effect after the switch
is restarted.
mac address-table notification
flapping
-/enabled
Enable mac-address flapping detection function. Flapping is
detected, when the following condition is implemented: dynamic
entry in mac-addresses table changes port four times (no more
than 2 seconds interval between changes(
measurement accuracy - one second))
no mac address-table
notification flapping
Disable mac-address flapping detection function
Privileged EXEC mode commands
Command line request in Privileged EXEC mode appears as follows:
console#
Table 5.126 —Privileged EXEC mode commands
Command
Value
Description
clear mac address-table
{dynamic| secure} [interface
{gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
port-channel
group
}]
gi_port: (1..8/0/1..24);
te_port: (1..8/0/1..4);
group: (1..24)
Remove static/dynamic records from the multicast addressing
table.
-
dynamic
—remove dynamic records
-
static
—remove static records
EXEC mode commands
Command line request in EXEC mode appears as follows:
console>