beautypg.com

Chapter 5 - command line interface, 5 ip interface – Asus GigaX2124 User Manual

Page 89

background image

77

Chapter 5 - Command Line Interface

5.3.4.2 Interface duplex

Use the duplex configuration command on the switch to set duplex status

of the port.

CLI Syntax: duplex (full | half)
Example: (config)# interface gi1/0/2
(config-if)# duplex full

This example shows how to use the duplex configuration command on the

switch to set full-duplex on the interface.

5.3.4.3 Interface flow control

Use the flow control configuration command on the switch to set flow

control status of the port.

CLI Syntax: flowcontrol (rx | tx | both)
Example: (config)# interface gi1/0/2
(config-if)# flowcontrol both

This example shows how to use the flow control configuration command

on the switch to set flow control both on.

5.3.4.4 Show L2 interface

Use the show interface command on the switch to show interface status.

CLI Syntax: show interfaces IFNAME
Example: ASUS# show interface gi1/0/2

5.3.5 IP interface

5.3.5.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