R2511-HP MSR Router Series Fundamentals Command Reference(V5)

59
vty: Specifies the VTY user interface.
first-num2: Specifies the relative number of the first user interface.
last-num2: Specifies the relative number of the last user interface. It cannot be smaller than first-num2.
Usage guidelines
If you use this command to enter a single user interface view, your configuration applies only to the user
interface.
If you use this command to enter multiple user interface views, your configuration applies to all the
specified user interfaces.
Examples
# Enter the view of user interface Console 0.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0]
# Enter the views of user interfaces VTY 0 to VTY 4.
<Sysname> system-view
[Sysname] user-interface vty 0 4
[Sysname-ui-vty0-4]
web captcha
Use web captcha to specify a fixed verification code for Web login.
Use undo web captcha to restore the default.
Syntax
web captcha verification-code
undo web captcha
Default
A Web user must enter the verification code indicated on the login page to log in.
Views
User view
Default command level
3: Manage level
Parameters
verification-code: Fixed verification code for Web login, a case-sensitive 4-character string.
Usage guidelines
You can configure the web captcha command multiple times, but only the most recent configuration takes
effect.
After you configure a fixed verification code for Web login, a Web user can use the code for login,
without caring about the verification code displayed on the login page. This feature is intended for test
environments where a script is usually used for Web function tests. Eliminating the requirement for
entering the verification code every time, this feature helps improve the test efficiency.