status of the port.
CLI Syntax: auto-negotiation
Example: (config)# interface gi1/0/2
(config-if)# auto-negotiation
This example shows how to use the auto-negotiation configuration command on the switch to
enable the auto-negotiation mode.
2.3.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.
2.3.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) (on|off)
Example: (config)# interface gi1/0/2
(config-if)# flowcontrol both on
This example shows how to use the flow control configuration command on the switch to set
“flow control both on.”
2.3.3.4.4 Show L2 Interface
Use the show l2_interface command on the switch to show l2 interface status.
CLI Syntax: show l2_interfaces IFNAME
Example: SWITCH# show l2_interface gi1/0/2
2.3.3.5 IP Interface
2.3.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 string
Example: SWITCH# show vlan VLAN1
NOTE:
VLAN1 is for system purposes like firmware upgrade, management, etc.
2.3.3.5.2 Create a VLAN Entry
Use the vlan id command to create a vlan entry on the Switch. Use the name string
command to create a vlan entry with a string on the Switch.
CLI Syntax: vlan id
Example: (config)# vlan 3
(config-vlan)# name vlan3
2.3.3.5.3 Interface VLAN VLAN-ID
This command changes the operation to vlan interface command mode.
CLI Syntax: interface vlan VLAN-ID
Example: interface vlan 1
2.3.3.5.4 IP Address
This command sets the ip address for a specific interface.
CLI Syntax: ip address A.B.C.D/M
Example: (config-if)# ip address 192.168.20.121/24
NOTE:
This won’t show you the interface name. (Remember which interface you’re configuring.
2.3.3.5.5 IP Helper-Address
This command enables a DHCP relay for a specific interface.
CLI Syntax: ip helper-address A.B.C.D
Example: (config-if)# ip helper-address 192.168.1.180
41
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...