table after the entry is used or updated. The real aging time is triple the command input radix
number.
CLI Syntax: mac-address-table aging-time <1-255>
Example: (config)# mac-address-table aging-time 100
This example shows how to configure the mac-address-table aging time to 300 seconds.
2.3.3.17.3 No Aging Time
disables the aging timer of the mac-address-table.
CLI Syntax: no mac-address-table aging-time
Example: (config)# no mac-address-table aging-time
2.3.3.17.4 Show MAC-Address-Table Aging-Time
CLI Syntax: show mac-address-table aging-time
Example: SWITCH# show mac-address-table aging-time
2.3.3.18 Static Addresses
2.3.3.18.1 Add Static MAC-Address
You can add a MAC address to the switch address table. The MAC address added this way
will not age out from the address table.
CLI Syntax: mac-address-table static MAC_ADDR vlan VLANID interface IFNAME
Example: (config)# mac-address-table static 0000.1111.2222 1 gi1/0/2
2.3.3.18.2 Show MAC-Address-Table
This shows static and dynamic MAC addresses.
CLI Syntax: show mac-address-table
Example: SWITCH# show mac-address-table
2.3.3.19 VLAN
2.3.3.19.1 Show VLAN Name String
Use the ‘show vlan’ user EXEC command to display the parameters for all configured
VLANs or one VLAN (if the VLAN ID or name is specified) on the switch.
CLI Syntax: show vlan name string
Example: SWITCH# show vlan name VLAN1
2.3.3.19.2 VLAN VID
Use the vlan vid command to create a vlan entry on the switch.
CLI Syntax: vlan vid
Example: (config)# vlan 2
2.3.3.19.3 Name String
Use the ‘name string’ command to create a vlan entry with a string on the switch.
CLI Syntax: name string
Example: (config-vlan)# name VLAN2
2.3.3.19.4 Access VLAN
Set access mode characteristics of all interfaces and Set Virtual lAN.
CLI Syntax: switchport access vlan <1-4094>
Example: (config)# interface fa1/0/2
(config-if)# switchport access vlan 1
2.3.3.19.5 Allowed VLANs
Use the “switchport trunk allowed vlan” configuration command on the switch to add or remove
the VLANs that are allowed to receive and send traffic on this interface in tagged format when
in trunking mode.
CLI Syntax: switchport trunk allowed vlan (add|remove) VLANLIST
Example: (config)# interface fa1/0/2
(config-if)# switchport trunk allowed vlan add 1
46
COMMAND LINE INTERFACE
Summary of Contents for 523868
Page 1: ...Managed Layer 3 Access Switch user manual Model 523868 INT 523868 UM 0807 01...
Page 2: ......
Page 52: ...NOTES 52...
Page 53: ...NOTES 53...
Page 54: ...NOTES 54...
Page 55: ...NOTES 55...