H3C S3100-52P Operation Manual
Hide thumbs Also See for S3100-52P:

Advertisement

Operation Manual - CLI
H3C S3100-52P Ethernet Switch
Chapter 1 CLI Configuration ........................................................................................................ 1-1
1.1 Introduction to the CLI ....................................................................................................... 1-1
1.2 Command Hierarchy.......................................................................................................... 1-2
1.2.1 Command Level and User Privilege Level.............................................................. 1-2
1.2.2 Modifying the Command Level................................................................................ 1-3
1.2.3 Switching User Level............................................................................................... 1-4
1.3 CLI Views........................................................................................................................... 1-8
1.4 CLI Features .................................................................................................................... 1-12
1.4.1 Online Help............................................................................................................ 1-12
1.4.2 Terminal Display.................................................................................................... 1-13
1.4.3 Command History.................................................................................................. 1-14
1.4.4 Error Prompts ........................................................................................................ 1-15
1.4.5 Command Edit....................................................................................................... 1-15

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S3100-52P and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S3100-52P

  • Page 1: Table Of Contents

    Operation Manual – CLI H3C S3100-52P Ethernet Switch Table of Contents Table of Contents Chapter 1 CLI Configuration ......................1-1 1.1 Introduction to the CLI ....................... 1-1 1.2 Command Hierarchy......................1-2 1.2.1 Command Level and User Privilege Level.............. 1-2 1.2.2 Modifying the Command Level................1-3 1.2.3 Switching User Level....................
  • Page 2: Chapter 1 Cli Configuration

    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.
  • Page 3: Command Hierarchy

    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.
  • Page 4: Modifying The Command Level

    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.
  • Page 5: Switching User Level

    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.
  • Page 9: Cli Views

    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...
  • Page 13: Cli Features

    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.
  • Page 14: Terminal Display

    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.
  • Page 15: Command History

    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.
  • Page 16: Error Prompts

    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;...

Table of Contents