Niveo Professional N10GSM16 Owner's manual

Category
Network switches
Type
Owner's manual
Commands for Basic Switch Configuration Content
1
Content
CHAPTER 1 COMMANDS FOR BASIC SWITCH
CONFIGURATION....................................................................................1
1.1 COMMANDS FOR BASIC CONFIGURATION......................................................1
1.1.1 authentication line...............................................................................................1
1.1.2 banner..................................................................................................................... 2
1.1.3 boot img..................................................................................................................2
1.1.4 boot startup-config..............................................................................................2
1.1.5 clock set................................................................................................................. 3
1.1.6 config...................................................................................................................... 3
1.1.7 debug ssh-server.................................................................................................3
1.1.8 disable.....................................................................................................................4
1.1.9 enable......................................................................................................................4
1.1.10 enable password................................................................................................4
1.1.11 end......................................................................................................................... 5
1.1.12 exec-timeout....................................................................................................... 5
1.1.13 exit......................................................................................................................... 6
1.1.14 help........................................................................................................................ 6
1.1.15 hostname............................................................................................................. 7
1.1.16 ip host................................................................................................................... 7
1.1.17 ipv6 host...............................................................................................................7
1.1.18 ip http server.......................................................................................................8
1.1.19 language...............................................................................................................8
1.1.20 login.......................................................................................................................8
1.1.21 password............................................................................................................. 9
1.1.22 privilege................................................................................................................9
1.1.23 reload.................................................................................................................. 10
1.1.24 service password-encryption...................................................................... 10
1.1.25 service terminal-length.................................................................................. 11
1.1.26 sysContact.........................................................................................................11
1.1.27 sysLocation.......................................................................................................11
1.1.28 set default..........................................................................................................12
1.1.29 setup................................................................................................................... 12
Commands for Basic Switch Configuration Content
2
1.1.30 show clock........................................................................................................ 12
1.1.31 show cpu usage...............................................................................................12
1.1.32 show cpu utilization....................................................................................... 13
1.1.33 show memory usage...................................................................................... 13
1.1.34 show privilege.................................................................................................. 14
1.1.35 show privilege mode LINE............................................................................14
1.1.36 show tcam usage............................................................................................ 14
1.1.37 show temperature........................................................................................... 14
1.1.38 show tech-support..........................................................................................15
1.1.39 show version.................................................................................................... 15
1.1.40 username........................................................................................................... 15
1.1.41 web-auth privilege <1-15>.............................................................................16
1.1.42 web language................................................................................................... 17
1.1.43 web server-port................................................................................................17
1.1.44 write.....................................................................................................................17
1.1.45 write running-config....................................................................................... 17
1.2 COMMANDS FOR TELNET.............................................................................. 18
1.2.1 aaa authorization config-commands........................................................... 18
1.2.2 accounting exec.................................................................................................18
1.2.3 accounting command.......................................................................................19
1.2.4 authentication enable.......................................................................................20
1.2.5 authentication ip access-class......................................................................20
1.2.6 authentication ipv6 access-class................................................................. 21
1.2.7 authentication line login..................................................................................21
1.2.8 authentication securityip.................................................................................22
1.2.9 authentication securityipv6............................................................................ 22
1.2.10 authorization.....................................................................................................23
1.2.11 authorization line vty command..................................................................24
1.2.12 clear line vty <0-31>........................................................................................24
1.2.13 crypto key clear rsa........................................................................................ 25
1.2.14 terminal length................................................................................................. 25
1.2.15 terminal monitor.............................................................................................. 25
1.2.16 telnet................................................................................................................... 25
1.2.17 telnet server enable........................................................................................ 26
1.2.18 telnet-server max-connection......................................................................26
1.2.19 ssh-server authentication-retries............................................................... 27
1.2.20 ssh-server enable............................................................................................27
1.2.21 ssh-server host-key create rsa....................................................................27
Commands for Basic Switch Configuration Content
3
1.2.22 ssh-server max-connection..........................................................................28
1.2.23 ssh-server timeout.......................................................................................... 28
1.2.24 show crypto key.............................................................................................. 29
1.2.25 show ssh-server.............................................................................................. 29
1.2.26 show telnet login............................................................................................. 29
1.2.27 show users........................................................................................................29
1.2.28 who...................................................................................................................... 30
1.3 COMMANDS FOR CONFIGURING SWITCH IP.................................................30
1.3.1 interface vlan...................................................................................................... 30
1.3.2 interface ethernet 0........................................................................................... 31
1.3.3 ip address............................................................................................................ 31
1.3.4 ipv6 address........................................................................................................32
1.3.5 ip bootp-client enable.......................................................................................32
1.3.6 ip dhcp-client enable........................................................................................ 33
1.4 COMMANDS FOR SNMP............................................................................... 33
1.4.1 debug snmp mib................................................................................................ 33
1.4.2 debug snmp kernel........................................................................................... 33
1.4.3 rmon enable........................................................................................................ 34
1.4.4 show private-mib oid........................................................................................34
1.4.5 show snmp.......................................................................................................... 34
1.4.6 show snmp engineid........................................................................................ 36
1.4.7 show snmp group..............................................................................................36
1.4.8 show snmp mib..................................................................................................36
1.4.9 show snmp status............................................................................................. 37
1.4.10 show snmp user.............................................................................................. 37
1.4.11 show snmp view.............................................................................................. 38
1.4.12 snmp-server community............................................................................... 38
1.4.13 snmp-server enable........................................................................................39
1.4.14 snmp-server enable traps.............................................................................40
1.4.15 snmp-server engineid.................................................................................... 40
1.4.16 snmp-server group......................................................................................... 40
1.4.17 snmp-server host............................................................................................ 41
1.4.18 snmp-server securityip..................................................................................42
1.4.19 snmp-server securityip..................................................................................43
1.4.20 snmp-server trap-source.............................................................................. 43
1.4.21 snmp-server user............................................................................................ 43
1.4.22 snmp-server view............................................................................................44
1.4.23 switchport updown notification enable.................................................... 45
Commands for Basic Switch Configuration Content
4
1.5 COMMANDS FOR SWITCH UPGRADE............................................................ 46
1.5.1 copyFTP....................................................................................................... 46
1.5.2 copyTFTP.....................................................................................................47
1.5.3 ftp-dir.....................................................................................................................48
1.5.4 ftp-server enable................................................................................................49
1.5.5 ftp-server timeout.............................................................................................. 49
1.5.6 ip ftp...................................................................................................................... 49
1.5.7 show ftp................................................................................................................50
1.5.8 show tftp.............................................................................................................. 50
1.5.9 tftp-server enable.............................................................................................. 50
1.5.10 tftp-server retransmission-number............................................................51
1.5.11 tftp-server transmission-timeout................................................................ 51
1.6 COMMANDS FOR BOOT CONFIGURATION.................................................... 51
1.6.1 baudrate............................................................................................................... 51
1.6.2 boot img............................................................................................................... 52
1.6.3 boot startup-config........................................................................................... 52
1.6.4 clearconfig...........................................................................................................53
1.6.5 copy.......................................................................................................................53
1.6.6 delete.....................................................................................................................53
1.6.7 dir........................................................................................................................... 53
1.6.8 help........................................................................................................................ 54
1.6.9 load........................................................................................................................ 55
1.6.10 nobootpassword..............................................................................................55
1.6.11 ping......................................................................................................................55
1.6.12 reboot................................................................................................................. 55
1.6.13 saveconfig......................................................................................................... 56
1.6.14 setbootpassword.............................................................................................56
1.6.15 setconfig............................................................................................................ 56
1.6.16 show....................................................................................................................57
1.6.17 showconfig........................................................................................................57
1.6.18 write.....................................................................................................................58
1.6.19 xmodem............................................................................................................. 58
CHAPTER 2 FILE SYSTEM COMMANDS..........................................1
2.1 CD..................................................................................................................... 1
2.2 COPY.................................................................................................................1
2.3 DELETE..............................................................................................................2
2.4 DIR.................................................................................................................... 2
Commands for Basic Switch Configuration Content
5
2.5 FORMAT............................................................................................................ 3
2.6 MKDIR............................................................................................................... 3
2.7 MOUNT.............................................................................................................. 3
2.8 PWD.................................................................................................................. 4
2.9 RENAME............................................................................................................ 4
2.10 RMDIR............................................................................................................. 5
2.11 UNMOUNT........................................................................................................5
CHAPTER 3 COMMANDS FOR CLUSTER........................................1
3.1 CLEAR CLUSTER NODES.................................................................................. 1
3.2 CLUSTER AUTO-ADD......................................................................................... 1
3.3 CLUSTER COMMANDER.................................................................................... 2
3.4 CLUSTER IP-POOL.............................................................................................2
3.5 CLUSTER KEEPALIVE INTERVAL....................................................................... 3
3.6 CLUSTER KEEPALIVE LOSS-COUNT..................................................................3
3.7 CLUSTER MEMBER............................................................................................4
3.8 CLUSTER MEMBER AUTO-TO-USER.................................................................. 5
3.9 CLUSTER RESET MEMBER................................................................................ 5
3.10 CLUSTER RUN.................................................................................................6
3.11 CLUSTER UPDATE MEMBER............................................................................6
3.12 DEBUG CLUSTER............................................................................................ 7
3.13 DEBUG CLUSTER PACKETS............................................................................ 7
3.14 SHOW CLUSTER..............................................................................................8
3.15 SHOW CLUSTER MEMBERS............................................................................ 9
3.16 SHOW CLUSTER CANDIDATES........................................................................ 9
3.17 SHOW CLUSTER TOPOLOGY.........................................................................10
3.18 RCOMMAND COMMANDER........................................................................... 12
3.19 RCOMMAND MEMBER...................................................................................12
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-1
Chapter 1 Commands for Basic Switch
Configuration
1.1 Commands for Basic Configuration
1.1.1 authentication line
Command: authentication line {console | vty | web} login {local | radius | tacacs}
no authentication line {console | vty | web} login
Function: Configure VTY (login with Telnet and SSH), Web and Console, so as to select
the priority of the authentication mode for the login user. The no form command restores
the default authentication mode.
Default: No configuration is enabled for the console login method by default. Local
authentication is enabled for the VTY and Web login method by default.
Command Mode: Global Mode.
Usage Guide: The authentication method for Console, VTY and Web login can be
configured respectively. And authentication method can be any one or combination of
Local, RADIUS and TACACS. When login method is configuration in combination, the
preference goes from left to right. If the users have passed the authentication method,
authentication method of lower preferences will be ignored. To be mentioned, the user can
login as long as a authentication method is passed. AAA function and RADIUS server
should be configured before the RADIUS authentication can be used.
The authentication line console login command is exclusive with the login
command. The authentication line console login command configures the switch to use
the Console login method. And the login command makes the Console login to use the
passwords configured by the password command for authentication.
If local authentication is configured while no local users are configured, users will be
able to login the switch via the Console method.
Example: Configure the Telnet and ssh login method to Local and RADIUS authentication
method.
Switch(config)# authentication line vty login local radius
Relative Command: aaa enable, radius-server authentication host, tacacs-server
authentication host, tacacs-server key
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-2
1.1.2 banner
Command: banner motd <LINE>
no banner motd
Function: This command is used to configure the information displayed when the login
authentication of a telnet or console user is successful, the no command configures that
the information is not displayed when the authentication is successful.
Parameters: <LINE>: The information displayed when the authentication is successful,
length limit from 1 to 100 characters.
Default: Do not show the information when the authentication is successful.
Command mode: Global mode.
Example:
Switch(config)#banner motd Welcome
1.1.3 boot img
Command: boot img <img-file-url> {primary | backup}
Function: Configure the first and second img files used in the next boot of the switch.
Parameters: primary means to configure the first IMG file, backup means to configure the
second IMG file, <img-file-url> is the full path of the booting IMG file, the format of which is
as follows:
1. The file path comprises of three parts: device prefix used as the root directory (flash:/),
sub-directory, and the file name. No space is allowed in each part or between two parts.
2. The suffix of all file names should be .img.
3. The length of the full file path should not be longer than 128 characters, while the file
name can not be longer than 80 characters.
Command Mode: Admin Mode.
Default: The factory original configuration only specifies the first booting IMG file, it is
nos.img file in the FLASH, without the second booting IMG file.
Usage Guide: The first and second img files can only use .img files stored in switch.
Example: Set flash:/nos.img as the second booting IMG file used in the next booting of
the switch.
Switch#boot img flash:/nos.img backup
1.1.4 boot startup-config
Command: boot startup-config {NULL | <file-url> }
Function: Configure the CFG file used in the next booting of the switch.
Parameters: The NULL keyword means to use the factory original configuration as the
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-3
next booting configuration. Setting the CFG file used in the next booting as NULL equals
to implementing set default and write commands. <file-url>is the full path of CFG file
used in the next booting. The format of which is as follows:
1. The file path comprises of three parts: device prefix used as the root directory (flash:/),
sub-directory, and the file name. No space is allowed in each part or between two parts.
2. The suffix of all file names should be .cfg.
3. The length of the full file path should not be longer than 128 characters, while the file
name can not be longer than 80 characters.
Command Mode: Admin Mode.
Default Settings: None.
Usage Guide: Configure the CFG file used in the next booting can only use .cfg files
stored in the switch.
Example: Set flash:/ startup.cfg as the CFG file used in the next booting of the switch.
Switch# boot startup-config flash:/ startup.cfg
1.1.5 clock set
Command: clock set <HH:MM:SS> <YYYY.MM.DD>
Function: Set system date and time.
Parameter: <HH:MM:SS>is the current time, and the valid scope for HH is 0 to 23, MM
and SS 0 to 59; <YYYY.MM.DD> is the current year, month and date, and the valid scope
for YYYY is 1970~2038, MON meaning month, and DD between 1 to 31.
Command mode: Admin Mode.
Default: upon first time start-up, it is defaulted to 2006.1.1 0: 0: 0.
Usage guide: The switch cannot continue timing with power off, hence the current date
and time must be first set at environments where exact time is required.
Example: To set the switch current date and time to 2002.8.1 23: 0: 0:
Switch#clock set 23:0:0 2002.8.1
Relative Command: show clock
1.1.6 config
Command: config [terminal]
Function: Enter Global Mode from Admin Mode.
Parameter: [terminal] indicates terminal configuration.
Command mode: Admin Mode
Example:
Switch#config
1.1.7 debug ssh-server
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-4
Command: debug ssh-server
no debug ssh-server
Function: Display SSH server debugging information; the no debug ssh-server
command stops displaying SSH server debugging information.
Default: This function is disabled by default.
Command mode: Admin Mode.
1.1.8 disable
Command: disable
Function: Disable admin mode.
Parameter: None.
Default: None.
Command mode: Admin Mode.
Usage Guide: None.
Example:
Switch#disable
Switch>
1.1.9 enable
Command: enable [<1-15>]
Function: Use enable command to enter Admin Mode from User Mode, or change the
privilege level of the users.
Command mode: User Mode/ Admin Mode.
Default: None.
Usage Guide: To prevent unauthorized access of non-admin user, user authentication is
required (i.e. Admin user password is required) when entering Admin Mode from User
Mode. If the correct Admin user password is entered, Admin Mode access is granted; if 3
consecutive entry of Admin user password are all wrong, it remains in the User Mode.
When the user’s privilege is changed from the low level to the high level, it needs to
authenticate the password of the corresponding level, or else it will not authenticate the
password. Set the Admin user password under Global Mode with enable password
command.
Example:
Switch>enable
Switch#
1.1.10 enable password
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-5
Command: enable password [level <1-15>] [0 | 7] <password>
no enable password [level <1-15>]
Function: Configure the password used for enter Admin Mode from the User Mode,
The “no enable password command deletes this password.
Parameter: level <1-15>is used to specify the privilege level, the default level is 15.
<password>is the password for the user. If input option 0 on password setting, the
password is not encrypted; if input option 7, the password is encrypted.
Command mode: Global Mode
Default: This password is empty by system default
Usage Guide: Configure this password to prevent unauthorized entering Admin Mode. It
is recommended to set the password at the initial switch configuration. Also, it is
recommended to exit Admin Mode with exit” command when the administrator needs to
leave the terminal for a long time.
Example: Configure the command for general users to enter the admin mode by rule as
test.
Switch(config)#enable password 0 test
1.1.11 end
Command: end
Function: Quit current mode and return to Admin mode when not at User Mode/ Admin
Mode.
Command mode: Except User Mode/ Admin Mode
Example: Quit VLAN mode and return to Admin mode.
Switch(config-vlan1)#end
Switch#
1.1.12 exec-timeout
Command: exec-timeout <minutes> [<seconds>]
no exec-timeout
Function: Configure the timeout of exiting admin mode. The “no exec-timeout
command restores the default value.
Parameters: <minute> is the time value shown in minute and ranges between 0~35791.
<seconds> is the time value shown in seconds and ranges between 0~59.
Command mode: Global mode
Default: Default timeout is 10 minutes.
Usage guide: To secure the switch, as well to prevent malicious actions from
unauthorized user, the time will be count from the last configuration the admin had made,
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-6
and the system will exit the admin mode at due time. It is required to enter admin code
and password to enter the admin mode again. The timeout timer will be disabled when the
timeout is set to 0.
Example: Set the admin mode timeout value to 6 minutes.
Switch(config)#exec-timeout 6
Set the admin mode timeout value to 5 minutes, 30 seconds.
Switch(config)#exec-timeout 5 30
1.1.13 exit
Command: exit
Function: Quit current mode and return to its previous mode.
Command mode: All Modes
Usage Guide: This command is to quit current mode and return to its previous mode.
Example: Quit global mode to its previous mode
Switch#exit
Switch#
1.1.14 help
Command: help
Function: Output brief description of the command interpreter help system.
Command mode: All configuration modes.
Usage Guide: An instant online help provided by the switch. Help command displays
information about the whole help system, including complete help and partial help. The
user can type in ‘?’ any time to get online help.
Example:
switch(config)#help
CLI provides advanced help feature. When you need help,
anytime at the command line please press '?'.
If nothing matches, the help list will be empty and you must backup
until entering a '?' shows the available options.
Two styles of help are provided:
1. Full help is available when you are ready to enter a
command argument (e.g. 'show ?') and describes each possible
argument.
2. Partial help is provided when an abbreviated argument is entered
and you want to know what arguments match the input
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-7
(e.g. 'show ve?'.)
1.1.15 hostname
Command: hostname <hostname>
no hostname
Function: Set the prompt in the switch command line interface. The no operation cancels
the configuration.
Parameter: <hostname> is the string for the prompt, up to 64 characters are allowed.
Command mode: Global Mode
Default: The default prompt is relative with the switch.
Usage Guide: With this command, the user can set the CLI prompt of the switch
according to their own requirements.
Example: Set the prompt to “Test”.
Switch(config)#hostname Test
Test(config)#
1.1.16 ip host
Command: ip host <hostname> <ip_addr>
no ip host {<hostname>|all}
Function: Set the mapping relationship between the host and IP address; the “no ip host”
parameter of this command will delete the mapping.
Parameter: <hostname> is the host name, up to 64 characters are allowed; <ip_addr> is
the corresponding IP address for the host name, takes a dot decimal format; all is all of
the host name.
Command mode: Global Mode
Usage Guide: Set the association between host and IP address, which can be used in
commands like “ping <host>“.
Example: Set IP address of a host with the hostname of “beijing” to 200.121.1.1.
Switch(config)#ip host beijing 200.121.1.1
Command related: telnet, ping, traceroute
1.1.17 ipv6 host
Command: ipv6 host <hostname> <ipv6_addr>
no ipv6 host { <hostname> | all}
Function: Configure the mapping relationship between the IPv6 address and the host;
the no command deletes this mapping relationship.
Parameter: <hostname> is the name of the host, containing max 64 characters;
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-8
<ipv6_addr> is the IPv6 address corresponding to the host name. all is all the host
address.
Command Mode: Global Mode
Usage Guide: Configure a fixed corresponding relationship between the host and the
IPv6 address, applicable in commands such as traceroute6 <host>, etc.
Example: Set the IPv6 address of the host named beijing to 2001:1:2:3::1.
Switch(config)#ipv6 host beijing 2001:1:2:3::1
Command related: ping6, traceroute6
1.1.18 ip http server
Command: ip http server
no ip http server
Function: Enable Web configuration; the no ip http server” command disables Web
configuration
Command mode: Global mode
Default: Enable.
Usage guide: Web configuration is for supplying an interface configured with HTTP for
the user, which is straight and visual, easy to understand.
Example: Enable Web Server function and enable Web configurations.
Switch(config)#ip http server
1.1.19 language
Command: language {chinese | english}
Function: Set the language for displaying the help information.
Parameter: chinese for Chinese display; english for English display.
Command mode: Admin and Config Mode.
Default: The default setting is English display.
Usage Guide: Switch provides help information in two languages, the user can select the
language according to their preference. After the system restart, the help information
display will revert to English.
1.1.20 login
Command: login
no login
Function: login enable password authentication, no login command cancels the login
configuration.
Command mode: Global mode
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-9
Default: No login by default
Usage guide: By using this command, users have to enter the password set by password
command to enter normal user mode with console; no login cancels this restriction.
Example: Enable password
Switch(config)#login
1.1.21 password
Command: password [0 | 7] <password>
no password
Function: Configure the password used for enter normal user mode on the console. The
no password” command deletes this password.
Parameter: password is the password for the user. If input option 0 on password setting,
the password is not encrypted; if input option 7, the password is encrypted.
Command mode: Global mode
Default: This password is empty by system default
Usage guide: When both this password and login command are configured, users have
to enter the password set by password command to enter normal user mode on console.
Example:
Switch(config)#password 0 test
Switch(config)#login
1.1.22 privilege
Command: privilege mode level <1-15> LINE
no privilege mode level <1-15> LINE
Function: Configure the level for the specified command, the no command restores the
original level of the command.
Parameters: mode: register mode of the command, ‘Tab’ or ‘?’ is able to show all register
modes
<1-15> is the level, its range between 1 and 15
LINE: the command needs to be configured, it supports the command
abbreviation
Command Mode: Global mode
Usage Guide: This function cannot change the command itself. LINE must be the whole
command format, the command with the abbreviation format must be analyzed
successfully. For half-baked command, false command about writing and command that
abbreviation cannot be analyzed successfully, the configuration is failure. For changing
the command line with the parameter, it should fill in the parameter which is able to be
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-10
selected discretionarily according to the required format. However, level of the no
command is able to be set optionally and it does not affect the result. When using no
command, LINE must be the configured command line. If the command line with the
parameter, the parameter must be matched with the configured command. (After
configure the privilege of enable command, please add command authencation line
console login local and configure corresponding privilege username password to ensure
users can enter privilege mode again. If console link in usual user mode after complete
configuration through other login way, please input exit or quit again, it will prompt user to
input user name password to enter privilege mode.)
Example: Change the level of show ip route command to level 5.
Switch(config)#privilege exec level 5 show ip route
Change the level of peer A.B.C.D command to level 6.
Switch(config)#privilege router-msdp level 6 peer 1.2.3.4
Restore the original level for show ip route command.
Switch(config)#no privilege exec level 5 show ip route
Restore the original level for peer A.B.C.D command.
Switch(config)#no privilege router-msdp level 6 peer 1.2.3.4
1.1.23 reload
Command: reload
Function: Warm reset the switch.
Command mode: Admin Mode.
Usage Guide: The user can use this command to restart the switch without power off.
1.1.24 service password-encryption
Command: service password-encryption
no service password-encryption
Function: Encrypt system password. The “no service password-encryption” command
cancels the encryption.
Command mode: Global Mode
Default: No service password-encryption by system default
Usage guide: The current unencrypted passwords as well as the coming passwords
configured by password, enable password, ip ftp and username command will be
encrypted by executed this command. no service password-encryption cancels this
function however encrypted passwords remain unchanged.
Example: Encrypt system passwords
Switch(config)#service password-encryption
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-11
1.1.25 service terminal-length
Command: service terminal-length <0-512>
no service terminal-length
Function: Configure the columns of characters displayed in each screen on terminal (vty).
The “no service terminal-length” command cancels the screen shifting operation.
Parameter: Columns of characters displayed on each screen of vty, ranging between
0-512.
Command mode: Global Mode
Usage guide: Configure the columns of characters displayed on each screen of the
terminal. The columns of characters displayed on each screen on the telent.ssh client and
the Console will be following this configuration.
Example: Set the number of vty threads to 20.
Switch(config)#service terminal-length 20
1.1.26 sysContact
Command: sysContact <LINE>
no sysContact
Function: Set the factory contact mode, the “no sysContact” command reset the switch
to factory settings.
Parameter: <LINE> is the prompt character string, range from 0 to 255 characters.
Command mode: Global Mode
Default: The factory settings.
Usage guide: The user can set the factory contact mode bases the fact instance.
Example: Set the factory contact mode to test.
Switch(config)#sysContact test
1.1.27 sysLocation
Command: sysLocation <LINE>
no sysLocation
Function: Set the factory address, the “no sysLocation” command reset the switch to
factory settings.
Parameter: <LINE> is the prompt character string, range from 0 to 255 characters.
Command mode: Global Mode
Default: The factory settings.
Usage guide: The user can set the factory address bases the fact instance.
Example: Set the factory address to test.
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-12
Switch(config)#sysLocation test
1.1.28 set default
Command: set default
Function: Reset the switch to factory settings.
Command mode: Admin Mode.
Usage Guide: Reset the switch to factory settings. That is to say, all configurations made
by the user to the switch will disappear. When the switch is restarted, the prompt will be
the same as when the switch was powered on for the first time.
Note: After the command, “write command must be executed to save the operation. The
switch will reset to factory settings after restart.
Example:
Switch#set default
Are you sure? [Y/N] = y
Switch#write
Switch#reload
1.1.29 setup
Command: setup
Function: Enter the Setup Mode of the switch.
Command mode: Admin Mode.
Usage Guide: Switch provides a Setup Mode, in which the user can configure IP
addresses, etc.
1.1.30 show clock
Command: show clock
Function: Display the current system clock.
Command mode: Admin and Configuration Mode.
Usage Guide: If the system clock is inaccurate, user can adjust the time by examining the
system date and clock.
Example:
Switch#show clock
Current time is TUE AUG 22 110001 2002
Command related: clock set
1.1.31 show cpu usage
Command: show cpu usage [<slotno>]
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-13
Function: Show CPU usage rate.
Command mode: Admin and configuration mode.
Usage Guide: Check the current usage of CPU resource by show cpu usage command.
Only the chassis switch uses slotno parameter which is used to show the CPU usage
rate of the card on specified slot, if there is no parameter, the default is current card.
Example: Show the current usage rate of CPU.
Switch#show cpu usage
Last 5 second CPU IDLE: 87%
Last 30 second CPU IDLE: 89%
Last 5 minute CPU IDLE: 89%
From running CPU IDLE: 89%
1.1.32 show cpu utilization
Command: show cpu utilization
Function: Show the current CPU utilization rate.
Parameter: None.
Default: None.
Command mode: Admin mode.
Usage Guide: This command is used to show CPU utilization rate in the past 5 seconds,
30 seconds and 5 minutes.
Example: Show CPU utilization rate.
Switch#show cpu utilization
Last 5 second CPU USAGE: 9%
Last 30 second CPU USAGE: 11%
Last 5 minute CPU USAGE: 11%
From running CPU USAGE: 11%
1.1.33 show memory usage
Command: show memory usage [<slotno>]
Function: Show memory usage rate.
Command mode: Admin and configuration mode.
Usage Guide: Check the current usage of memory resource by show memory usage
command. Only the chassis switch uses slotno parameter which is used to show the
memory usage rate of card on the specified slot, if there is no parameter, the default is
current card.
Example: Show the current usage rate of the memory.
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-14
Switch#show memory usage
The memory total 128 MB, free 58914872 bytes, usage is 56.10%
1.1.34 show privilege
Command: show privilege
Function: Show privilege of the current users.
Parameter: None.
Command Mode: All configuration modes
Example: Show privilege of the current user.
Switch(Config)#show privilege
Current privilege level is 15
1.1.35 show privilege mode LINE
Command: show privilege mode LINE
Function: Show the level of the specified command.
Parameters: mode: register mode of the command, ‘Tab’ or ‘?’ is able to show all register
modes
LINE: the command needs to be configured, it supports the command
abbreviation
Command Mode: Admin and configuration mode
Usage Guide: LINE must be the whole command format, the abbreviation format is used
to the command which can be analyzed successfully. For half-baked command, false
command about writing and command that abbreviation cannot be analyzed successfully,
the level of them cannot be shown.
Example: Show the level of privilege command.
Switch(config)#show privilege exec show ip route
The command : show ip route
Privilege is : 15
1.1.36 show tcam usage
This command is not supported by the switch.
1.1.37 show temperature
Command: show temperature
Function: Display the current temputerature of the switch CPU.
Command mode: All mode.
Usage Guide: This command is used to monitor the temperature of the switch CPU.
Commands for Basic Switch Configuration Chapter 1 Commands for Basic
Switch Configuration
Chapter 1-15
Example: Display the current temperature of the switch CPU.
Switch# show temperature
Temperature: 39C/102F
1.1.38 show tech-support
Command: show tech-support [no-more]
Function: Display the operational information and the task status of the switch. The
technique specialist use this command to diagnose whether the switch operate normally.
Parameter: no-more: Display the operational information and the task status of the
switch directly, do not connect the user by “more”.
Command mode: Admin and Configuration Mode.
Usage Guide: This command is used to collect the relative information when the switch
operation is malfunctioned.
Example:
Switch#show tech-support
1.1.39 show version
Command: show version
Function: Display the version information of the switch.
Command mode: Admin and Configuration Mode.
Usage Guide: This command is used to show the version of the switch, it includes the
hardware version and the software version information.
Example:
Switch#show version.
1.1.40 username
Command: username <username> [privilege <privilege>] [password [0 | 7]
<password>]
no username <username>
Function: Configure local login username and password along with its privilege level.
Parameter: <username>is the username, its range should not exceed 32 characters.
<privilege>is the maximum privilege level of the commands that the user is able to
execute, its value is limited between 1 and 15, and 1 by default. <password>is the
password for the user. If input option 0 on password setting, the password is not encrypted;
if input option 7, the password is encrypted (Use 32 bits password encrypted by MD5).
Command Mode: Global Mode.
Usage Guide: There are two available choices for the preferences of the registered
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476
  • Page 477 477
  • Page 478 478
  • Page 479 479
  • Page 480 480
  • Page 481 481
  • Page 482 482
  • Page 483 483
  • Page 484 484
  • Page 485 485
  • Page 486 486
  • Page 487 487
  • Page 488 488
  • Page 489 489
  • Page 490 490
  • Page 491 491
  • Page 492 492
  • Page 493 493
  • Page 494 494
  • Page 495 495
  • Page 496 496
  • Page 497 497
  • Page 498 498
  • Page 499 499
  • Page 500 500
  • Page 501 501
  • Page 502 502
  • Page 503 503
  • Page 504 504
  • Page 505 505
  • Page 506 506
  • Page 507 507
  • Page 508 508
  • Page 509 509
  • Page 510 510
  • Page 511 511
  • Page 512 512
  • Page 513 513
  • Page 514 514
  • Page 515 515
  • Page 516 516
  • Page 517 517
  • Page 518 518
  • Page 519 519
  • Page 520 520
  • Page 521 521
  • Page 522 522
  • Page 523 523
  • Page 524 524
  • Page 525 525
  • Page 526 526
  • Page 527 527
  • Page 528 528
  • Page 529 529
  • Page 530 530
  • Page 531 531
  • Page 532 532
  • Page 533 533
  • Page 534 534
  • Page 535 535
  • Page 536 536
  • Page 537 537
  • Page 538 538
  • Page 539 539
  • Page 540 540
  • Page 541 541
  • Page 542 542
  • Page 543 543
  • Page 544 544
  • Page 545 545
  • Page 546 546
  • Page 547 547
  • Page 548 548
  • Page 549 549
  • Page 550 550
  • Page 551 551
  • Page 552 552
  • Page 553 553
  • Page 554 554
  • Page 555 555
  • Page 556 556
  • Page 557 557
  • Page 558 558
  • Page 559 559
  • Page 560 560
  • Page 561 561
  • Page 562 562
  • Page 563 563
  • Page 564 564
  • Page 565 565
  • Page 566 566
  • Page 567 567
  • Page 568 568
  • Page 569 569
  • Page 570 570
  • Page 571 571
  • Page 572 572
  • Page 573 573
  • Page 574 574
  • Page 575 575
  • Page 576 576
  • Page 577 577
  • Page 578 578
  • Page 579 579
  • Page 580 580
  • Page 581 581
  • Page 582 582
  • Page 583 583
  • Page 584 584
  • Page 585 585
  • Page 586 586
  • Page 587 587
  • Page 588 588
  • Page 589 589
  • Page 590 590
  • Page 591 591
  • Page 592 592
  • Page 593 593
  • Page 594 594
  • Page 595 595
  • Page 596 596
  • Page 597 597
  • Page 598 598
  • Page 599 599
  • Page 600 600
  • Page 601 601
  • Page 602 602
  • Page 603 603
  • Page 604 604
  • Page 605 605
  • Page 606 606
  • Page 607 607
  • Page 608 608
  • Page 609 609
  • Page 610 610
  • Page 611 611
  • Page 612 612
  • Page 613 613
  • Page 614 614
  • Page 615 615
  • Page 616 616
  • Page 617 617
  • Page 618 618
  • Page 619 619
  • Page 620 620
  • Page 621 621
  • Page 622 622
  • Page 623 623
  • Page 624 624
  • Page 625 625
  • Page 626 626
  • Page 627 627
  • Page 628 628
  • Page 629 629
  • Page 630 630
  • Page 631 631
  • Page 632 632
  • Page 633 633
  • Page 634 634
  • Page 635 635
  • Page 636 636
  • Page 637 637
  • Page 638 638
  • Page 639 639
  • Page 640 640
  • Page 641 641
  • Page 642 642
  • Page 643 643
  • Page 644 644
  • Page 645 645
  • Page 646 646
  • Page 647 647
  • Page 648 648
  • Page 649 649
  • Page 650 650
  • Page 651 651
  • Page 652 652
  • Page 653 653
  • Page 654 654
  • Page 655 655
  • Page 656 656
  • Page 657 657
  • Page 658 658
  • Page 659 659
  • Page 660 660
  • Page 661 661
  • Page 662 662
  • Page 663 663
  • Page 664 664
  • Page 665 665
  • Page 666 666
  • Page 667 667
  • Page 668 668
  • Page 669 669
  • Page 670 670
  • Page 671 671
  • Page 672 672
  • Page 673 673
  • Page 674 674
  • Page 675 675
  • Page 676 676
  • Page 677 677
  • Page 678 678
  • Page 679 679
  • Page 680 680
  • Page 681 681
  • Page 682 682
  • Page 683 683
  • Page 684 684
  • Page 685 685
  • Page 686 686
  • Page 687 687
  • Page 688 688
  • Page 689 689
  • Page 690 690
  • Page 691 691
  • Page 692 692
  • Page 693 693
  • Page 694 694
  • Page 695 695
  • Page 696 696
  • Page 697 697
  • Page 698 698
  • Page 699 699
  • Page 700 700
  • Page 701 701
  • Page 702 702
  • Page 703 703
  • Page 704 704
  • Page 705 705
  • Page 706 706
  • Page 707 707
  • Page 708 708
  • Page 709 709
  • Page 710 710
  • Page 711 711
  • Page 712 712
  • Page 713 713
  • Page 714 714
  • Page 715 715
  • Page 716 716
  • Page 717 717
  • Page 718 718
  • Page 719 719
  • Page 720 720
  • Page 721 721
  • Page 722 722
  • Page 723 723
  • Page 724 724
  • Page 725 725
  • Page 726 726
  • Page 727 727
  • Page 728 728
  • Page 729 729
  • Page 730 730
  • Page 731 731
  • Page 732 732
  • Page 733 733
  • Page 734 734
  • Page 735 735
  • Page 736 736
  • Page 737 737
  • Page 738 738
  • Page 739 739
  • Page 740 740
  • Page 741 741
  • Page 742 742
  • Page 743 743
  • Page 744 744
  • Page 745 745
  • Page 746 746
  • Page 747 747
  • Page 748 748
  • Page 749 749

Niveo Professional N10GSM16 Owner's manual

Category
Network switches
Type
Owner's manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI