User Manual

Table Of Contents
SWR2310>show mac-address-table
VLAN port mac fwd type timeout
1 port1.1 00a0.de11.2233 forward static 0
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, privileged 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.
SWR2310>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 privileged EXEC mode, use the
end command.
[Example]
Move to VLAN mode.
SWR2310(config)#vlan database
SWR2310(config-vlan)#
196 | Command Reference | Layer 2 functions