CLI and a set of configuration commands for the convenience of the user to configure and manage the switch. The CLI on S3100-52P Ethernet switches provides the following features, and so has good manageability and operability. Hierarchical command protection: After users of different levels log in, they can only use commands at their own, or lower, levels.
1.2 Command Hierarchy 1.2.1 Command Level and User Privilege Level I. Command level The S3100-52P Ethernet switches use hierarchical command protection for command lines, so as to inhibit users at lower levels from using higher-level commands to configure the switches.
Operation Manual – CLI H3C S3100-52P Ethernet Switch Chapter 1 CLI Configuration Note: If a user logs in using AAA authentication, the user privilege level depends on the configuration of the AAA scheme. For details, refer to AAA Operation. 1.2.2 Modifying the Command Level I.
Operation Manual – CLI H3C S3100-52P Ethernet Switch Chapter 1 CLI Configuration [Sysname] command-privilege level view shell tftp 192.168.0.1 bootrom.btm After the above configuration, general Telnet users can use the tftp get command to download file bootrom.btm and other files from TFTP server 192.168.0.1 and other TFTP servers.
Page 6
Operation Manual – CLI H3C S3100-52P Ethernet Switch Chapter 1 CLI Configuration To do… Use the command… Remarks super Super password authentication-mode authentication super-password super HWTACACS authentication-mode authentication scheme Optional Super password By default, Specify the authentication preferred super super...
Page 7
Operation Manual – CLI H3C S3100-52P Ethernet Switch Chapter 1 CLI Configuration Follow these steps to set a password for use level switching: To do… Use the command… Remarks Enter system view system-view — Required super password [ level Set the super password...
Page 8
Operation Manual – CLI H3C S3100-52P Ethernet Switch Chapter 1 CLI Configuration Use the To do… Remarks command… Required Switch to a specified user super [ level ] level Execute this command in user view. Note: If no user level is specified in the super password command or the super command, level 3 is used by default.
Table 1-1 lists the CLI views provided by S3100-52P Ethernet switches, operations that can be performed in different CLI views and the commands used to enter specific CLI views.
Page 10
Operation Manual – CLI H3C S3100-52P Ethernet Switch Chapter 1 CLI Configuration Available Prompt View Enter method Quit method operation example 100 Mbps Execute the Execute the Ethernet port quit command interface view: to return to ethernet system view. command in [Sysname-Eth system view.
Page 11
Operation Manual – CLI H3C S3100-52P Ethernet Switch Chapter 1 CLI Configuration Available Prompt View Enter method Quit method operation example Configure FTP Execute the FTP client client [ftp] ftp command view parameters in user view. Execute the Configure SFTP client...
Page 12
Operation Manual – CLI H3C S3100-52P Ethernet Switch Chapter 1 CLI Configuration Available Prompt View Enter method Quit method operation example Define rules Execute the for an layer 2 [Sysname-acl- Layer 2 ACL acl number ACL (with ID ethernetframe view...
Operation Manual – CLI H3C S3100-52P Ethernet Switch Chapter 1 CLI Configuration Available Prompt View Enter method Quit method operation example Execute the Execute the vlan-vpn vid quit command command in to return to Ethernet port Ethernet port Configure [Sysname-Eth view.
Operation Manual – CLI H3C S3100-52P Ethernet Switch Chapter 1 CLI Configuration If the question mark “?” is at a keyword position in the command, all available keywords at the position and their descriptions will be displayed on your terminal.
Operation Manual – CLI H3C S3100-52P Ethernet Switch Chapter 1 CLI Configuration Table 1-2 Display-related operations Operation Function Stop the display output and execution of Press <Ctrl+C> the command. Press any character except <Space>, <Enter>, /, +, and - when the display Stop the display output.
Operation Manual – CLI H3C S3100-52P Ethernet Switch Chapter 1 CLI Configuration 1.4.4 Error Prompts If a command passes the syntax check, it will be successfully executed; otherwise, an error message will be displayed. Table 1-3 lists the common error messages.
Page 17
Operation Manual – CLI H3C S3100-52P Ethernet Switch Chapter 1 CLI Configuration Press… To… Use the partial online help. That is, when you input an incomplete keyword and press <Tab>, if the input parameter uniquely identifies a complete keyword, the system substitutes the complete keyword for the input parameter;...
Need help?
Do you have a question about the S3100-52P and is the answer not in the manual?
Questions and answers