HP 5500 Ei 5500 Si Switch Series Configuration Guide
Here you can view all the pages of manual HP 5500 Ei 5500 Si Switch Series Configuration Guide. The HP manuals for Printer are available online for free. You can easily download all the documents as PDF.
Page 21
9 Using the command history function The system can automatically save successfully executed commands to the command history buffer for the current user interface. You can view them and execute them again, or set the maximum number of commands that can be saved in the command history buffer. A command is saved to the command history buffer in the exact format as it was entered. For example, if you enter an incomplete command, the command saved in the command history buffer is also incomplete; if...
Page 22
10 Controlling the CLI output This section describes the CLI output control features that help you quickly identify the desired output. Pausing between screens of output If the output being displayed is more than will fit on one screen, the system automatically pauses after displaying a screen. By default, up to 24 lines can be displayed on a screen. To change the screen length, use the screen-length screen-length command. For more information about this command, see Fundamentals Command...
Page 23
11 Table 6 Special characters supported in a regular expression Character Meanin g Remarks ^string Starting sign. Matches a line that starts with string. For example, regular expr ession ^user matches a line beginning with user, not Auser. string$ Ending sign. Matches a line that ends with string. For example, regular expression user$ only matches a line ending with user, not userA. . Matches any single character, such as a single character, a special character, and a blank. For...
Page 24
12 Character Meaning Remarks [^] Matches a single character not contained within the brackets. For example, [^16A] means to match a string containing any character except 1, 6 or A, and the matching string can also contain 1, 6 or A, but cannot contain only these three characters. For example, [^16A] matches abc and m16, but not 1, 16, or 16A. \ matches word undo and string abcdo. \bcharacter2 Matches character1character2. character1 can be any character except number, letter or underline,...
Page 25
13 # Use | include Vlan in the display ip routing-table command to filter in route entries that contain Vlan. display ip routing-table | include Vlan Routing Tables: Public Destination/Mask Proto Pre Cost NextHop Interface 192.168.1.0/24 Direct 0 0 192.168.1.42 Vlan999 Configuring user privilege and command levels To avoid unauthorized access, the device defines the user privilege levels and command levels in Tabl e 7 . User privilege levels...
Page 26
14 For more information about user login authentication, see Logging in to the CLI. For more information a bout AAA and SSH, see Security Configuration Guide . Configuring a user privilege level for users by using the AAA module Step Command Remarks 1. Enter system view. system-view N/A 2. Enter user interface view. user-interface { first-num1 [ last-num1 ] | { aux | vty } first-num2 [ last-num2 ] } N/A 3. Specify the scheme authentication mode. authentication-mode scheme By...
Page 27
15 [Sysname-luser-test] authorization-attribute level 3 Configuring the user privilege level directly on a user interface To configure the user privilege level directly on a user interface that uses the scheme authentication mode: Step Command Remarks 1. Configure the authentication type for SSH users as publickey . For more information, see Security Configuration Guide . Required only for SSH users who use public-key authentication. 2. Enter system view. system-view N/A 3. Enter user...
Page 28
16 ping Ping function quit Exit from current command view rsh Establish one RSH connection ssh2 Establish a secure shell client connection super Set the current user priority level telnet Establish one TELNET connection tftp Open TFTP connection tracert Trace route function # Configure the device to perform no authentication for Telnet users, and to authorize authenticated Telnet users to use level-0 and level-1 commands. (Use no authentication mode...
Page 29
17 Switching the user privilege level Users can switch to a different user privilege level without logging out and terminating the current connection. After the privilege level switching, users can continue to manage the device without relogging in, but the commands they can execute have changed. For example, with the user privilege level 3, a user can configure system parameters. After switching to user privilege level 0, the user can execute only basic commands like ping and tracert and use a...
Page 30
18 Step Command Remarks 1. Enter system view. system-view N/A 2. Set the authentication mode for user privilege level switching. super authentication-mode { local | scheme } * Optional. By default, local-only authentication is used. 3. Configure the password for a user privilege level. super password [ level user-level ] { cipher | simple } password Required for loca l authentication. By default, a privilege level has no password. If no user privilege level is specified...