Clear Dynamic Entry; Set Static Entry - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

158 | Command Reference | Layer 2 functions
SWR2311P(config)#mac-address-table ageing-time 600

6.1.3 Clear dynamic entry

[Syntax]
clear mac-address-table dynamic
clear mac-address-table dynamic adress mac-addr
clear mac-address-table dynamic vlan vlan-id
clear mac-address-table dynamic interface ifname [instance inst]
[Keyword]
address
vlan
interface
instance
[Parameter]
mac-addr
ifname
vlan-id
inst
[Input mode]
priviledged EXEC mode
[Description]
Deletes a dynamic entry from the MAC address table.
If a keyword is specified, only the entries that match the applicable conditions are deleted.
If no keyword is specified, all dynamic entries are deleted.
[Example]
Delete the dynamic entry whose MAC address is 00a0.de11.2233.
SWR2311P#clear mac-address-table dynamic address 00a0.de11.2233

6.1.4 Set static entry

[Syntax]
mac-address-table static mac-addr action ifname [vlan vlan-id]
no mac-address-table static mac-addr action ifname [vlan vlan-id]
[Keyword]
vlan
[Parameter]
mac-addr
action
:
Specifies the MAC address
:
Specifies the VLAN ID
:
Specifies the interface
:
Specifies the MST instance
:
hhhh.hhhh.hhhh (h is hexadecimal)
Applicable MAC address
:
Name of LAN/SFP port or logical interface
Applicable interface
:
<1-4094>
Applicable VLAN ID
:
<1-63>
Applicable MST instance ID
:
Specifies the VLAN ID
:
hhhh.hhhh.hhhh (h is hexadecimal)
Applicable MAC address
:
Action applied to frames addressed to mac-addr
Setting value
forward
Description
Forward

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents