beautypg.com

Asus GigaX2124 User Manual

Page 97

background image

85

Chapter 5 - Command Line Interface

5.3.14.4

show mac-address-table aging-time

CLI Syntax: show mac-address-table aging-time
Example: ASUS# show mac-address-table aging-time

5.3.15 Static Addresses

5.3.15.1

add static mac-address

You can add a MAC address into the switch address table. The MAC

address added by this way will not age out from the address table. We call

it static address.

CLI Syntax: mac-address-table static MACADDR VLANID IFNAME
Example: (config)# mac-address-table static 0000.1111.2222 1 gi1/0/2

5.3.15.2

show mac-address-table

It shows static and dynamic mac-address.

CLI Syntax: show mac-address-table
Example: ASUS# show mac-address-table

5.3.16 VLAN

5.3.16.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 VLANNAME
Example: ASUS# show vlan name VLAN1

5.3.16.2

vlan ID

Use the vlan vid command to create vlan entry on the switch.

CLI Syntax: vlan ID
Example: (config)# vlan 2