ICPDAS FSM-510G Cli Command Reference Manual

Operator Interface
1
FSM-510G series
10-Port Managed Industrial Ethernet Switch
Version Number: Issue: 1.0, Dec 2014
2
CONTENTS
1 SCOPE ................................................................................................................................................................... 9
1.1 S
COPE
................................................................................................................................................................... 9
1.2 A
UDIENCE
.............................................................................................................................................................. 9
1.3 PRE-
REQUIRED KNOWLEDGE
...................................................................................................................................... 9
1.4 A
CCESS TO HARDWARE INTERFACE
.............................................................................................................................. 9
1.5 R
ELATED DOCUMENTS
.............................................................................................................................................. 9
2 OPERATOR INTERFACE.................................................................................................................................11
2.1 I
NTRODUCTION
..................................................................................................................................................... 11
2.2 C
ONNECT INTERFACE
.............................................................................................................................................. 11
2.3 S
CREEN DESCRIPTION
............................................................................................................................................. 11
2.4 E
XECUTION MODES
............................................................................................................................................... 12
2.5 G
ETTING HELP
...................................................................................................................................................... 12
2.6 T
ERMINAL KEY FUNCTION
....................................................................................................................................... 13
2.7 N
OTATION CONVENTIONS
....................................................................................................................................... 13
3 COMMANDS DESCRIPTIONS........................................................................................................................ 16
3.1 I
NITIALIZE MODE COMMANDS
................................................................................................................................. 16
3.1.1 exit............................................................................................................................................................. 16
3.1.2 configure terminal..................................................................................................................................... 16
3.1.3 enable........................................................................................................................................................ 16
3.1.4 Show terminal............................................................................................................................................ 16
3.1.5 Show history.............................................................................................................................................. 16
3.1.6 Show clock................................................................................................................................................. 16
3.1.7 Show clock detail....................................................................................................................................... 16
3.2 E
NABLE MODE COMMANDS
.................................................................................................................................... 17
3.2.1 configure terminal..................................................................................................................................... 17
3.2.2 disable....................................................................................................................................................... 17
3.2.3 show ntp status .......................................................................................................................................... 17
3.2.4 show users................................................................................................................................................. 17
3.2.5 show running-cfg....................................................................................................................................... 17
3.2.6 show running-config interface................................................................................................................... 17
3.2.7 show version.............................................................................................................................................. 17
3.2.8 show clock................................................................................................................................................. 17
3.2.9 show version.............................................................................................................................................. 17
3.2.10 show system inventory............................................................................................................................... 17
3.2.11 show mac address table aging-time........................................................................................................... 18
3.2.12 show mac address table............................................................................................................................. 18
3.2.13 show mac address table interface.............................................................................................................. 19
3.2.14 show mac address vlan <vlanid>.............................................................................................................. 19
3.2.15 show fdb static table.................................................................................................................................. 19
3.2.16 show fdbstatic interface gigabit <portNo>............................................................................................... 19
3.2.17 show fdbstatic vlan <vlanid>.................................................................................................................... 19
3.2.18 show interface port < port_type_list > ..................................................................................................... 19
3.2.19 show interface port <portNo> statistics ................................................................................................... 20
3.2.20 show spanning-tree.................................................................................................................................... 20
3.2.21 show vlan................................................................................................................................................... 20
3.2.22 show vlan ID ............................................................................................................................................. 20
3.2.23 show vlan name......................................................................................................................................... 20
3.2.24 show qos-queue-mapping.......................................................................................................................... 20
3.2.25 show interface ports <portNo> priority ................................................................................................... 20
Operator Interface
3
3.2.26 show qos.................................................................................................................................................... 21
3.2.27 show queue-shaper.................................................................................................................................... 21
3.2.28 show port-shaper....................................................................................................................................... 21
3.2.29 show pvlan isolation [ interface <port_type> [ <port_type_list> ] ]....................................................... 21
3.2.30 show interface gigabit <portNo> port-isolation....................................................................................... 21
3.2.31 show interface gigabit <portNo> storm-control....................................................................................... 21
3.2.32 show qos storm {unknown-uc|unknown-mc|broadcast}............................................................................ 21
3.2.33 show port-mirror....................................................................................................................................... 22
3.2.34 show ring-protect ...................................................................................................................................... 22
3.2.35 show interface gigabit <portNo>.............................................................................................................. 22
3.2.36 show ext-tpid ............................................................................................................................................. 22
3.2.37 show interface vlan.................................................................................................................................... 22
3.2.38 show interface vlan <vlanid> ................................................................................................................... 22
3.2.39 show protocol-vlan.................................................................................................................................... 22
3.2.40 show interface gigabit <portNo> vlan...................................................................................................... 23
3.2.41 show vlan-trans ......................................................................................................................................... 23
3.2.42 show multicast-fdb..................................................................................................................................... 23
3.2.43 show dot1x................................................................................................................................................. 23
3.2.44 show dot1x status ...................................................................................................................................... 23
3.2.45 show radius-server [ statistics ] ................................................................................................................ 23
3.2.46 show rfc2544 profile [ <word32> ] .......................................................................................................... 23
3.3 C
ONFIGURE MODE COMMANDS
............................................................................................................................... 24
3.3.1 interface gigabit <portNo>....................................................................................................................... 24
3.3.2 interface vlan <vlanid> ............................................................................................................................ 24
3.3.3 access-list.................................................................................................................................................. 24
3.3.4 profile sch.................................................................................................................................................. 24
3.3.5 ntp server <1-5> ip-address <ip>............................................................................................................ 24
3.3.6 clock timezone ........................................................................................................................................... 24
3.3.7 clock summer-time set [start-time] [end-time].......................................................................................... 25
3.3.8 account add <username> ......................................................................................................................... 25
3.3.9 account delete <username>...................................................................................................................... 25
3.3.10 syslog {enable|disable} ............................................................................................................................. 25
3.3.11 Configuration save and replace ................................................................................................................ 25
3.3.12 clearipigmp snoopingstatistics.................................................................................................................. 26
3.3.13 clear logging ............................................................................................................................................. 26
3.3.14 clear mac address-table ............................................................................................................................ 26
3.3.15 delete......................................................................................................................................................... 26
3.3.16 dir.............................................................................................................................................................. 26
3.3.17 do............................................................................................................................................................... 26
3.3.18 duplex........................................................................................................................................................ 26
3.3.19 editing........................................................................................................................................................ 27
3.3.20 flowcontrol ................................................................................................................................................ 27
3.3.21 frame-sizes................................................................................................................................................. 27
3.3.22 green-etherneteee...................................................................................................................................... 27
3.3.23 green-etherneteee optimize-for-power....................................................................................................... 27
3.3.24 green-etherneteee urgent-queues............................................................................................................... 27
3.3.25 help............................................................................................................................................................ 28
3.3.26 iparp inspection......................................................................................................................................... 28
3.3.27 iparp inspection translate.......................................................................................................................... 28
3.3.28 iparp inspection trust ................................................................................................................................ 28
3.3.29 iparp inspection vlan................................................................................................................................. 28
3.3.30 ipdns proxy................................................................................................................................................ 28
3.3.31 ip http secure-redirect................................................................................................................................ 28
3.3.32 ip http secure-server.................................................................................................................................. 28
3.3.33 ip source binding interface........................................................................................................................ 29
3.3.34 ipssh .......................................................................................................................................................... 29
3.3.35 ipmc profile ............................................................................................................................................... 29
3.3.36 ipmc range................................................................................................................................................. 29
3.3.37 vlan <vlanid>............................................................................................................................................ 29
3.3.38 vlan <vlanid> <name>............................................................................................................................. 29
3.3.39 vlan disable <vlanid>............................................................................................................................... 30
4
3.3.40 aging <time> ............................................................................................................................................ 30
3.3.41 jumboframe {enable|disable} .................................................................................................................... 30
3.3.42 jumboframe mtu <value>.......................................................................................................................... 30
3.3.43 media-type................................................................................................................................................. 30
3.3.44 monitor destination interface .................................................................................................................... 30
3.3.45 speed.......................................................................................................................................................... 31
3.3.46 tacacs-server host...................................................................................................................................... 31
3.3.47 tacacs-server key....................................................................................................................................... 31
3.3.48 tacacs-server timeout ................................................................................................................................ 31
3.3.49 traps .......................................................................................................................................................... 31
3.3.50 upnp........................................................................................................................................................... 32
3.3.51 upnp advertising-duration......................................................................................................................... 32
3.3.52 upnp ttl ...................................................................................................................................................... 32
3.3.53 flow-control {enable|disble}...................................................................................................................... 33
3.3.54 speed.......................................................................................................................................................... 33
3.3.55 port {enable/disable}................................................................................................................................. 33
3.4 VLAN M
ODE COMMANDS
...................................................................................................................................... 33
3.4.1 vlan............................................................................................................................................................ 33
3.4.2 vlan ethertype s-custom-port..................................................................................................................... 33
3.4.3 vlan protocol ............................................................................................................................................. 33
3.4.4 vlan-trunking............................................................................................................................................. 34
3.4.5 switchport access vlan............................................................................................................................... 34
3.4.6 switchport forbidden vlan.......................................................................................................................... 34
3.4.7 switchport hybrid acceptable-frame-type.................................................................................................. 34
3.4.8 switchport hybrid allowed vlan ................................................................................................................. 34
3.4.9 switchport hybrid egress-tag..................................................................................................................... 35
3.4.10 switchport hybrid ingress-filtering............................................................................................................ 35
3.4.11 switchport mode ........................................................................................................................................ 35
3.4.12 switchport trunk allowed vlan ................................................................................................................... 35
3.4.13 switchport vlan protocol group ................................................................................................................. 35
3.5 I
NTERFACE
VLAN M
ODE COMMANDS
....................................................................................................................... 36
3.5.1 interface..................................................................................................................................................... 36
3.5.2 interface vlan............................................................................................................................................. 36
3.5.3 ip address .................................................................................................................................................. 36
3.5.4 ip name-server........................................................................................................................................... 36
3.5.5 ipdhcp relay............................................................................................................................................... 36
3.5.6 ipdhcp relay information option................................................................................................................ 36
3.5.7 ipdhcp retry interface vlan ........................................................................................................................ 36
3.5.8 ipdhcp snooping ........................................................................................................................................ 37
3.5.9 ipv6 address............................................................................................................................................... 37
3.5.10 ipv6mtu...................................................................................................................................................... 37
3.6 R
ING GROUP MODE COMMANDS
............................................................................................................................. 38
3.6.1 ring-protect {enable|disable} .................................................................................................................... 38
3.6.2 ring-protect {node1|node2} <portNo> ..................................................................................................... 38
3.6.3 ring-protect role {master| slave}............................................................................................................... 38
3.6.4 ring-protect <ring-id>.............................................................................................................................. 38
3.6.5 ring-protect {enable|disable} .................................................................................................................... 38
3.6.6 ring-protect {node1|node2} <portNo> ..................................................................................................... 38
3.6.7 ring-guardtime <time> ............................................................................................................................. 38
3.6.8 ring-group <number>............................................................................................................................... 39
3.7 S
PANNING TREE
.................................................................................................................................................... 39
3.7.1 spanning-tree............................................................................................................................................. 39
3.7.2 spanning-tree aggregation ........................................................................................................................ 39
3.7.3 spanning-tree auto-edge............................................................................................................................ 39
3.7.4 spanning-tree auto-edge............................................................................................................................ 39
3.7.5 spanning-tree bpdu-guard......................................................................................................................... 39
3.7.6 spanning-tree edge.................................................................................................................................... 39
3.7.7 spanning-tree edge bpdu-filter .................................................................................................................. 39
3.7.8 spanning-tree mode................................................................................................................................... 40
3.7.9 spanning-tree mst cost............................................................................................................................... 40
3.7.10 spanning-tree mst port-priority ................................................................................................................. 40
Operator Interface
5
3.7.11 spanning-tree mst priority......................................................................................................................... 40
3.7.12 spanning-tree mst vlan .............................................................................................................................. 40
3.7.13 spanning-tree mst forward-time ................................................................................................................ 41
3.7.14 spanning-tree mst max-age........................................................................................................................ 41
3.7.15 spanning-tree mst max-hops...................................................................................................................... 41
3.7.16 spanning-tree mst name............................................................................................................................. 41
3.8
SFLOW CONFIGURE COMMAND
................................................................................................................................ 41
3.8.1 sflow .......................................................................................................................................................... 41
3.8.2 sflow agent-ip............................................................................................................................................ 41
3.8.3 sflow collector-address.............................................................................................................................. 42
3.8.4 sflow collector-address [ receiver <range_list> ] [ <word> ]................................................................. 42
3.8.5 sflow max-datagram-size........................................................................................................................... 42
3.8.6 sflow max-sampling-size ........................................................................................................................... 42
3.8.7 sflow sampling-rate................................................................................................................................... 42
3.8.8 sflow timeout ............................................................................................................................................. 42
3.9 SNMP C
ONFIGURE COMMAND
............................................................................................................................... 43
3.9.1 snmp-server............................................................................................................................................... 43
3.9.2 snmp-server access.................................................................................................................................... 43
3.9.3 snmp-server community v2c ...................................................................................................................... 43
3.9.4 snmp-server community v3........................................................................................................................ 43
3.9.5 snmp-server host ....................................................................................................................................... 43
3.9.6 snmp-server host traps .............................................................................................................................. 43
3.9.7 snmp-server trap ....................................................................................................................................... 44
3.9.8 snmp-server user ....................................................................................................................................... 44
3.9.9 snmp-server version .................................................................................................................................. 44
3.9.10 snmp-server view....................................................................................................................................... 44
3.9.11 SNMP trap receive ipv6 host..................................................................................................................... 44
3.9.12 SNMP trap receive ipv4 host..................................................................................................................... 44
3.10 Q
OS FUNCTION COMMAND
..................................................................................................................................... 45
3.10.1 qos cos....................................................................................................................................................... 45
3.10.2 qos dscp-classify........................................................................................................................................ 45
3.10.3 qos dscp-remark........................................................................................................................................ 45
3.10.4 qos dscp-translate ..................................................................................................................................... 45
3.10.5 qos map cos-dscp ...................................................................................................................................... 45
3.10.6 qos map cos-dscp ...................................................................................................................................... 45
3.10.7 qos map dscp-egress-translation............................................................................................................... 46
3.10.8 qos map dscp-ingress-translation.............................................................................................................. 46
3.10.9 qos policer................................................................................................................................................. 47
3.10.10 qos wrr ...................................................................................................................................................... 47
3.10.11 qos queue-shaper....................................................................................................................................... 47
3.10.12 qos queue-policer...................................................................................................................................... 47
3.10.13 qos shaper <unit>..................................................................................................................................... 47
3.11 IGMP F
UNCTIONAL COMMANDS
............................................................................................................................. 48
3.11.1 ip igmp host-proxy [ leave-proxy ]............................................................................................................ 48
3.11.2 ip igmp snooping....................................................................................................................................... 48
3.11.3 ip igmp snooping immediate-leave............................................................................................................ 48
3.11.4 ip igmp snooping last-member-query-interval .......................................................................................... 48
3.11.5 ip igmp snooping max-groups ................................................................................................................... 48
3.11.6 ip igmp snooping mrouter ......................................................................................................................... 48
3.11.7 ip igmp snooping querier .......................................................................................................................... 48
3.11.8 ip igmp snooping query-interval ............................................................................................................... 48
3.11.9 ip igmp snooping vlan ............................................................................................................................... 49
3.11.10 ip igmp unknown-flooding......................................................................................................................... 49
3.11.11 clear ip igmp snooping statistics ............................................................................................................... 49
3.12 MVR F
UNCTIONAL COMMANDS
.............................................................................................................................. 49
3.12.1 mvr ............................................................................................................................................................ 49
3.12.2 mvr immediate-leave ................................................................................................................................. 49
3.12.3 mvr name channel ..................................................................................................................................... 49
3.12.4 mvr frame priority..................................................................................................................................... 49
3.12.5 mvr name <word16> frame tagged .......................................................................................................... 49
3.12.6 mvr name <word16> igmp-address <ipv4_ucast>................................................................................... 50
6
3.12.7 mvr name <word16> last-member-query-interval <0-31744> ................................................................ 50
3.12.8 mvr name <word16> mode....................................................................................................................... 50
3.12.9 mvr name <word16> type......................................................................................................................... 50
3.12.10 mvr vlan..................................................................................................................................................... 50
3.12.11 mvr vlan <vlan_list> channel ................................................................................................................... 50
3.12.12 mvr vlan <vlan_list> frame priority ......................................................................................................... 50
3.12.13 mvr vlan <vlan_list> frame tagged........................................................................................................... 51
3.12.14 mvr vlan <vlan_list> igmp-address .......................................................................................................... 51
3.12.15 mvr vlan <vlan_list> mode....................................................................................................................... 51
3.12.16 mvr vlan <vlan_list> type......................................................................................................................... 51
3.13 MLD F
UNCTIONAL COMMANDS
............................................................................................................................... 51
3.13.1 ipv6mld host-proxy.................................................................................................................................... 51
3.13.2 ipv6mld snooping ...................................................................................................................................... 51
3.13.3 ipv6mld snooping compatibility ................................................................................................................ 51
3.13.4 ipv6mld snooping immediate-leave ........................................................................................................... 52
3.13.5 ipv6mld snooping last-member-query-interval.......................................................................................... 52
3.13.6 ipv6mld snooping max-groups .................................................................................................................. 52
3.13.7 ipv6mld snooping mrouter......................................................................................................................... 52
3.13.8 ipv6mld snooping query-interval............................................................................................................... 52
3.13.9 ipv6mld snooping query-max-response-time............................................................................................. 52
3.13.10 ipv6mld snooping vlan .............................................................................................................................. 52
3.13.11 ipv6mld unknown-flooding........................................................................................................................ 52
3.14 A
UTHENTICATE MODE COMMANDS
.......................................................................................................................... 53
3.14.1 radius-server attribute 4............................................................................................................................ 53
3.14.2 radius-server attribute 95.......................................................................................................................... 53
3.14.3 radius-server deadtime.............................................................................................................................. 53
3.14.4 radius-server host [ auth-port] [ acct-port ] [ timeout ] [ retransmit ] [ key]....................................... 53
3.14.5 tacacs-server deadtime <1-1440> ............................................................................................................ 53
3.14.6 tacacs-server host [ auth-port] [ timeout ] [ key] ..................................................................................... 53
3.14.7 tacacs-server deadtime <1-1440> ............................................................................................................ 54
3.14.8 tacacs-server deadtime <1-1440> ............................................................................................................ 54
3.14.9 tacacs-server deadtime <1-1440> ............................................................................................................ 54
3.14.10 dot1x feature.............................................................................................................................................. 54
3.14.11 dot1x guest-vlan ........................................................................................................................................ 54
3.14.12 dot1x initialize........................................................................................................................................... 54
3.14.13 dot1x port-control...................................................................................................................................... 54
3.14.14 dot1x radius-vlan....................................................................................................................................... 55
3.14.15 show radius-server [ statistics ] ................................................................................................................ 55
3.15 L
OOP-PROTECTION CONFIGURE COMMANDS
............................................................................................................... 55
3.15.1 loop-protect............................................................................................................................................... 55
3.15.2 loop-protect action.................................................................................................................................... 55
3.15.3 loop-protect shutdown-time....................................................................................................................... 55
3.15.4 loop-protect transmit-time......................................................................................................................... 55
3.15.5 loop-protect tx-mode ................................................................................................................................. 56
3.16 LLDP C
ONFIGURE COMMANDS
................................................................................................................................ 56
3.16.1 lldp holdtime.............................................................................................................................................. 56
3.16.2 lldp receive................................................................................................................................................ 56
3.16.3 lldp reinit <1-10> ..................................................................................................................................... 56
3.16.4 lldp timer <5-32768>................................................................................................................................ 56
3.16.5 lldp tlv-select............................................................................................................................................. 56
3.16.6 lldp transmission-delay ............................................................................................................................. 57
3.16.7 lldp transmit .............................................................................................................................................. 57
3.17 RFC2544 T
ESTING CONFIGURE COMMANDS
.............................................................................................................. 57
3.17.1 rfc2544 profile <word32>......................................................................................................................... 57
3.17.2 rfc2544 rename profile.............................................................................................................................. 57
3.17.3 rfc2544 save <word32> <word>.............................................................................................................. 57
3.17.4 rfc2544 start <word32> profile <word32> [ desc <line128> ]............................................................... 57
3.17.5 rfc2544 stop <word32> ............................................................................................................................ 58
3.17.6 show rfc2544 profile [ <word32> ] .......................................................................................................... 58
3.18 GVRP C
ONFIGURE COMMANDS
............................................................................................................................... 58
3.18.1 gvrp ........................................................................................................................................................... 58
Operator Interface
7
3.18.2 gvrpjoin request vlan................................................................................................................................. 58
3.18.3 gvrpleave request vlan............................................................................................................................... 58
3.18.4 gvrp max-vlans.......................................................................................................................................... 58
3.18.5 gvrp time { [ join-time <1-20> ] [ leave-time <60-300> ] [ leave-all-time <1000-50>]........................ 58
3.19 V
OICE
VLAN C
ONFIGURE COMMANDS
...................................................................................................................... 59
3.19.1 voice vlan .................................................................................................................................................. 59
3.19.2 voice vlan aging-time ................................................................................................................................ 59
3.19.3 voice vlan class ......................................................................................................................................... 59
3.19.4 voice vlan oui ............................................................................................................................................ 59
3.19.5 voice vlan vid............................................................................................................................................. 59
[LIST OF TABLES]
Table 2-1 List of Execution Modes................................................................................................................ 12
Table 2-2 List of Terminal Keys..................................................................................................................... 13
[LIST OF FIGURES]
Figure 2-1 Screen Description ...................................................................................................................... 12
8
1. Scope
1.1 Scope
1.2 Audience
1.3 Pre-required Knowledge
1.4 Access to Hardware Interface
1.5 Related Documents
Operator Interface
9
1
Scope
1.1 Scope
This user guide describes the commands and parameters of the Command Line Interface (CLI) as implemented in the current version of FSM-510G series software. These commands are used to set-up, administer and maintain the system.
1.2 Audience
The guide is intended for Operating personnel (sometimes called craft persons).
1.3 Pre-required Knowledge
The reader must be familiar with the:
Basic operations of FSM-510G series (see the HW Installation Guide). Security and activity monitoring constraints that limit how a command is implemented.
1.4 Access to Hardware Interface
Access to the hardware interface is by a terminal (or computer with terminal emulation software). Requirements for the terminal are:
RS-232 ASCII port Selectable transmission baud rate Full alphanumeric capability Selectable odd/even or no parity check
1.5 Related Documents
You may want to refer to the following related documents: FSM-510G series Quick Installation Guide
10
2. Operator Interface
2.1 Introduction
2.2 Connect Interface
2.3 Authorization Level
2.4 Screen Description
2.5 Execution Modes
2.6 Getting Help
2.7 Terminal Key Function
2.8 Notation Conventions
Operator Interface
11
2
Operator Interface
2.1 Introduction
Access to the Switch is protected by a logon security system. You can log on to the switch with the user name and password. After three failed logon attempts, the system refuses further attempts.
After you log on, the system monitors the interface for periods of inactivity. If the interface is inactive for too long, you are automatically logged off.
The CLI initial user name is (admin) and none password (). You should change the password as soon as possible, because the initial password is known to anyone who reads this manual. You can also change the user name or add additional user names. Use the “account add” command to enter a new user identification, password and authorization level.
2.2 Connect Interface
Interface Parameter
Console
Baud rate: 115200bps, Data bit: 8, Parity: None,
Stop bit: 1 Telnet Port 23 SSH Port 22 (In Windows, you can run terminal emulator such as PuTTY)
2.3 Screen Description
1. Connecting to FSM-510G Ethernet port(RJ45 Ethernet port)
2. Key-in the command under Telnet: telnet 192.0.2.1
3. Login with default account and password.
Username: admin Password: (none)
12
Figure 2-1 Screen Description
2.4 Execution Modes
The CLI contains several execution modes. Users will see different set of commands under different execution modes. Table 2-1 lists all the execution modes and their purposes. When users enter a certain execution mode, the corresponding mode prompt will be displayed automatically on the screen. The mode prompts of all the execution modes are also listed in Table 2-1.
Table 2-1 List of Execution Modes
Mode Access Level Prompt
Init Mode Guest > Enable Mode Guest # Config Mode Guest (conf)# Alarm Profile Config Mode Engineer (alarm-profile-conf)# Gigabit Interface Config Mode Engineer (gigabit-intf-conf)# ACL Profile Config Mode Engineer (acl-profile-conf)# scheduler Profile Config Mode Engineer (sch-profile-conf)# Vlan Interface Config Mode Engineer (vlan-intf-conf)# IGMP MVR Profile Config Mode Engineer (igmp-mvr-profile-conf)# IGMP ACL Profile Config Mode Engineer (igmp-acl-profile-conf)# Ring Group Config Mode Engineer (ring-group-conf)# Trunk Group Config Mode Engineer (trunk-group-conf)#
2.5 Getting help
The user can get help by entering a question mark ‘?’ at each position in the command. The displayed result depends on the execution mode and previous input.
192.0.2.1
Operator Interface
13
2.6 Terminal Key Function
Following is the list of all the terminal keys and their function.
Table 2-2 List of Terminal Keys
ENTER CTRL-M
Run a CLI config script TAB
CTRL-I
Tab completion.
If tab is pressed after a non-whitespace character, complete the word
before the Tab.
If tab is pressed after a whitespace character, complete the next word.
?
Display available commands
If ? is pressed after a non-whitespace character, show possible
choices for this word.
If ? is pressed after a whitespace character, show possible choice
s for
the next word. <Up Arrow> CTRL-P
Up history <Down Arrow>
CTRL-N
Down history Home
CTRL-A
Move the cursor to the beginning of the input line End
CTRL-E
Move the cursor to the end of the input line <Left Arrow>
CTRL-B
Move the cursor backward <Right Arrow>
CTRL-F
Move the cursor forward BACKSPACE
CTRL-H
Erase the character before the cursor
2.7 Notation Conventions
The notation conventions for the parameter syntax of each CLI command are as follows:
Parameters enclosed in [ ] are optional. Parameter values are separated by a vertical bar “|” only when one of the specified
values can be used.
Parameter values are enclosed in { } when you must use one of the values specified.
14
Commands Descriptions
15
3. Commands Descriptions
3.1 Initialize Mode Commands
3.2 Enable Mode Commands
3.3 Configure Mode Commands
3.4 VLAN Mode Commands
3.5 Interface VLAN Mode Commands
3.6 Ring Group Mode Commands
3.7 Spanning Tree Configure Commands
3.8 sFlow Configure Command
3.9 SNMP Configure Command
3.10 Qos Function Command
3.11 IGMP Functional Commands
3.12 MVR Functional Commands
3.13 MLD Functional Commands
3.14 Authenticate Mode Commands
3.15 Loop-Protection Configure commands
3.16 LLDP Configure commands
3.17 RFC2544 Testing Configure Commands
3.18 GVRP Configure Commands
3.19 Voice VLAN Configure Commands
16
3
Commands Descriptions
3.1 Initialize Mode Commands
The commands in this section (except ‘enable’ command) can be executed under all command modes. These commands are global commands.
3.1.1 exit
Description
Exit current mode and quit CLI.
Syntax
exit
Parameter
None
3.1.2 configure terminal
Description
Enter configuration mode.
Syntax
configure terminal
Parameter
None
3.1.3 enable
Description
Enter enable mode.
Syntax
enable
Parameter
None
3.1.4 Show terminal
Description
Show CLI environment variables
Syntax
show terminal
Parameter
None
3.1.5 Show history
Description
Show command history (Note: commands issued in one execution mode only appear in history of that execution mode)
Syntax
show history
Parameter
None
3.1.6 Show clock
Description
Show current time
Syntax
show clock [detail]
Parameter
None
3.1.7 Show clock detail
Description
Show detailed information
Syntax
show clock detail
Parameter
None
Commands Descriptions
17
3.2 Enable Mode Commands
All the “show - -” commands in this section can also be executed under any other command mode except Initialize Mode.
3.2.1 configure terminal
Description
Enter configuration mode.
Syntax
configure
Parameter
None
3.2.2 disable
Description
Enter init mode.
Syntax
disable
Parameter
None
3.2.3 show ntp status
Description
Show SNTP information.
Syntax
show sntp
Parameter
None
3.2.4 show users
Description
Show account list.
Syntax
show account
Parameter
None
3.2.5 show running-cfg
Description
Show running configuration.
Syntax
show running-cfg
Parameter
None
3.2.6 show running-config interface
Description
Show default running configuration.
Syntax
show running-config interface vlan <vlan_list> [ all-defaults]
Parameter
None
3.2.7 show version
Description
Show firmware hardware and software status update status.
Syntax
show version
Parameter
None
3.2.8 show clock
Description
Show current time.
Syntax
Show clock
Parameter
None
3.2.9 show version
Description
Show version information.
Syntax
show version
Parameter
None
3.2.10 show system inventory
Description
Show system inventory.
Syntax
show system inventory
18
Parameter
None
3.2.11 show mac address table aging-time
Description
Show aging time for MAC learning table (system-wide).
Syntax
show aging time
Parameter
None
3.2.12 show mac address table
Description
Show MAC learning table.
Syntax
show mac address-table [ conf | static | aging-time | { { learning | count }
[ interface <port_type> [ <port_type_list> ] ] } | { address <mac_addr> [ vlan <vlan_id> ] } | vlan <vlan_id> | interface <port_type> [ <port_type_list> ] ]
Parameter
None
Loading...
+ 42 hidden pages