H3C Technologies H3C S12500 Series Switches User Manual

Page 7

Advertising
background image

i

Contents

Using the CLI ································································································································································ 1

 

Logging in to the CLI ························································································································································· 1

 

Command conventions ····················································································································································· 1

 

Using the undo form of a command ······························································································································· 2

 

CLI views ············································································································································································ 2

 

Entering system view ················································································································································ 3

 

Returning to the upper-level view ···························································································································· 3

 

Returning to user view from any view ···················································································································· 3

 

Accessing the CLI online help ·········································································································································· 4

 

Entering a command ························································································································································· 5

 

Editing a command line ··········································································································································· 5

 

Entering a STRING type value for an argument···································································································· 5

 

Abbreviating commands·········································································································································· 6

 

Configuring and using command keyword aliases ······························································································ 6

 

Configuring and using hotkeys ······························································································································· 6

 

Enabling redisplaying entered-but-not-submitted commands ··············································································· 8

 

Understanding command-line errors ······························································································································· 8

 

Using the command history function ······························································································································· 9

 

Viewing history commands ····································································································································· 9

 

Setting the command history buffer size for user interfaces ················································································ 9

 

Controlling the CLI output ·············································································································································· 10

 

Pausing between screens of output ····················································································································· 10

 

Filtering the output from a display command ····································································································· 10

 

Configuring user privilege and command levels ········································································································ 13

 

Configuring a user privilege level ······················································································································· 14

 

Switching the user privilege level ························································································································ 17

 

Changing the level of a command ······················································································································ 20

 

Saving the running configuration ································································································································· 20

 

Displaying and maintaining CLI ··································································································································· 20

 

Logging in to the CLI ·················································································································································· 21

 

Login methods ································································································································································· 21

 

Logging in through the console or AUX port ··············································································································· 22

 

Logging in through Telnet ·············································································································································· 25

 

Telnetting to the switch ·········································································································································· 26

 

Telnetting from the switch to another device ······································································································ 27

 

Logging in through SSH ················································································································································ 28

 

Logging in to the switch from an SSH client ······································································································· 29

 

Using the switch as an SSH client to log in to the SSH server ········································································· 31

 

Modem dial-in through the AUX port ··························································································································· 31

 

Logging in to the Web interface ······························································································································· 35

 

Configuring HTTP login ················································································································································· 35

 

Configuring HTTPS login ··············································································································································· 36

 

Configuring source IP-based Web login control ········································································································· 39

 

Configuring source IP-based Web login control ································································································ 39

 

Logging off online Web users ······························································································································ 39

 

Source IP-based Web login control configuration example ············································································· 40

 

Displaying and maintaining Web login ······················································································································ 40

 

HTTP login example ······················································································································································· 40

 

Advertising