83
4.11.6 CLI Commands of the Monitor and Diag
Command Lines of the Monitor and Diag configuration
Feature
Command Line
MAC Address Table
Ageing Time
JetNet 5008G-P(config)# mac-address-table aging-time 350
mac-address-table aging-time set ok!
Note: 350 is the new ageing timeout value.
Add Static Unicast MAC
address
JetNet 5008G-P(config)# mac-address-table static
0012.7701.0101 vlan 1 interface fastethernet7
mac-address-table ucast static set ok!
Note: rule: mac-address-table static MAC_address VLAN
VID interface interface_name
Add Multicast MAC
address
JetNet 5008G-P(config)# mac-address-table multicast
0100.5e01.0101 vlan 1 interface fa6-7
Adds an entry in the multicast table ok!
Note: rule: mac-address-table multicast MAC_address
VLAN VID interface_list interface_name/range
Show MAC Address
Table – All types
JetNet 5008G-P# show mac-address-table
***** UNICAST MAC ADDRESS *****
Destination Address Address Type Vlan Destination Port
------------------- --------------- ------- ------------------------
000f.b079.ca3b Dynamic 1 fa4
0012.7701.0386 Dynamic 1 fa7
0012.7710.0101 Static 1 fa7
0012.7710.0102 Static 1 fa7
0012.77ff.0100 Management 1
***** MULTICAST MAC ADDRESS *****
Vlan Mac Address COS Status Ports
---- --------------- ---- ------- --------------------------
1 0100.5e40.0800 0 fa6
1 0100.5e7f.fffa 0 fa4,fa6
Show MAC Address
Table – Dynamic Learnt
MAC addresses
JetNet 5008G-P# show mac-address-table dy
Destination Address Address Type Vlan Destination Port
------------------- --------------- ------- ------------------------
000f.b079.ca3b Dynamic 1 fa4
0012.7701.0386 Dynamic 1 fa7
Show MAC Address
Table – Multicast MAC
addresses
JetNet 5008G-P# show mac-address-table multicast
Vlan Mac Address COS Status Ports
---- --------------- ---- ------- --------------------------
1 0100.5e40.0800 0 fa6-7
1 0100.5e7f.fffa 0 fa4,fa6-7
Show MAC Address
Table – Static MAC
addresses
JetNet 5008G-P# show mac-address-table static
Destination Address Address Type Vlan Destination Port
------------------- --------------- ------- ------------------------
0012.7710.0101 Static 1 fa7
0012.7710.0102 Static 1 fa7
Show Aging timeout
time
JetNet 5008G-P# show mac-address-table aging-time
the mac-address-table aging-time is 300 sec.