User Manual

1 sa1 1803.731e.8c2b forward dynamic 300
1 sa2 782b.cbcb.218d forward dynamic 300
6.1.6 Show number of MAC addresses
[Syntax]
show mac-address-table count
show mac-address-table count interface ifname
show mac-address-table count vlan vlan-id
[Keyword]
interface : Show the number of MAC addresses for only a specified interface
vlan : Show the number of MAC addresses for only a specific VLAN
[Parameter]
ifname : Name of interface to show
Only LAN/SFP port or logical interface can be specified
vlan-id : <1-4094>
VLAN ID to show
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows the number of MAC addresses that are registered in the FDB entries.
The number of dynamic addresses registered by automatic learning and of manually registered static addresses are shown.
[Example]
Show the number of MAC addresses that are registered in the FDB entries.
SWR2311P>show mac-address-table count
MAC Entries for all vlans
Dynamic Address : 20
Static Address : 10
Total MAC Address : 30
6.2 VLAN
6.2.1 Move to VLAN mode
[Syntax]
vlan database
[Input mode]
global configuration mode
[Description]
Moves to VLAN mode in order to make VLAN interface settings.
[Note]
To return from VLAN mode to global configuration mode, use the exit command. To return to priviledged EXEC mode, use the
end command.
[Example]
Move to VLAN mode.
SWR2311P(config)#vlan database
SWR2311P(config-vlan)#
6.2.2 Set VLAN interface
[Syntax]
vlan vlan-id [name name] [state state]
no vlan vlan-id
Command Reference | Layer 2 functions | 171