71
CHAPTER 3
INTRODUCTION TO CLI
<WORD32>: Specify a descriptive name for this device. Indicate the hostname for this device. Alphabets (A-Z; a-z),
digits (0-9) and minus sign (-) can be used. However, space characters are not allowed. The first character must
be an alphabet character. The first and last character must not be a minus sign. The allowed string length is 0 –
255.
Example:
Set the hostname to AccessSW.
Negation:
(config)# no hostname
Show:
> show version
# show version
3.9.20 (config)# interface
3.9.20.1(config)# interface ( <port_type> [ <plist> ] )
Syntax:
(config)# interface ( <port_type> [ <plist> ] )
Explanation:
Enter Config Interface mode for this specific interface.
Parameters:
<port_type> [ <plist> ]: Specify the port type and port number.
Example:
Enter Config Interface mode for Gigabit Ethernet port 1.
# config t
(config)#
(config)# interface GigabitEthernet 1/1
(config-if)#
Show:
> show interface ( <port_type> [ <in_port_list> ] ) switchport [ access | trunk | hybrid ]
> show interface ( <port_type> [ <v_port_type_list> ] ) capabilities
> show interface ( <port_type> [ <v_port_type_list> ] ) statistics [ { packets | bytes | errors | discards | filtered |
{ priority [ <priority_v_0_to_7> ] } } ] [ { up | down } ]
> show interface ( <port_type> [ <v_port_type_list> ] ) status
> show interface ( <port_type> [ <v_port_type_list> ] ) veriphy
> show interface vlan [ <vlist> ]
# show interface ( <port_type> [ <in_port_list> ] ) switchport [ access | trunk | hybrid ]
# show interface ( <port_type> [ <v_port_type_list> ] ) capabilities
# show interface ( <port_type> [ <v_port_type_list> ] ) statistics [ { packets | bytes | errors | discards | filtered |
{ priority [ <priority_v_0_to_7> ] } } ] [ { up | down } ]
# show interface ( <port_type> [ <v_port_type_list> ] ) status
# show interface ( <port_type> [ <v_port_type_list> ] ) veriphy
# show interface vlan [ <vlist> ]
Clear:
# clear statistics { [ interface ] ( <port_type> [ <v_port_type_list> ] ) }
# config t
(config)# hostname AccessSW
AccessSW(Config)#
Содержание MSW-4424C Series
Страница 1: ...1 MSW 4424C MSW 4424CS L2 Gigabit Carrier Ethernet Switch ...
Страница 382: ......