1.4 Input syntax for commands starting with the word "no"............................................................................14
Chapter 2: How to use the commands.................................................................15
2.1 Operation via console.................................................................................................................................15
2.1.1 Access from a console terminal...................................................................................................15
2.1.2 Access from a TELNET client....................................................................................................15
2.1.3 Access from an SSH client..........................................................................................................16
4.1.4 Allow login with special password..............................................................................................27
4.2 User account maintenance..........................................................................................................................28
4.2.1 Set user password........................................................................................................................28
4.2.2 Show login user information.......................................................................................................29
4.2.3 Set banner....................................................................................................................................30
4.4.3 Set SD card boot..........................................................................................................................36
4.4.4 Show the SD card boot setting information................................................................................36
4.5 Show unit information................................................................................................................................37
4.5.1 Show inventory information........................................................................................................37
4.5.2 Show operating information........................................................................................................37
4.5.3 Show currently-executing processes...........................................................................................38
4.5.4 Show technical support information............................................................................................38
4.5.5 Save technical support information.............................................................................................39
4.6 Time management......................................................................................................................................40
4.6.1 Set clock manually......................................................................................................................40
4.6.2 Set time zone...............................................................................................................................40
4.6.3 Show current time
4.6.4 Set NTP server.............................................................................................................................41
4.6.5 Synchronize time from NTP server (one-shot update)................................................................42
4.6.6 Synchronize time from NTP server (update interval).................................................................42
4.6.7 Show NTP server time synchronization settings.........................................................................42
5.2 Link aggregation.......................................................................................................................................123
5.3 Port authentication....................................................................................................................................133
5.3.27 Show RADIUS server setting information..............................................................................147
5.3.28 Settings for redirect destination URL following successful Web authentication....................147
5.3.29 Clear the authentication state...................................................................................................148
5.3.30 Setting the time for clearing the authentication state (system)................................................148
5.3.31 Setting the time for clearing the authentication state (interface).............................................148
5.3.32 Locate the file for customizing the Web authentication screen...............................................149
5.3.33 Delete the file for customizing the Web authentication screen...............................................150
5.4 Port security..............................................................................................................................................150
5.4.1 Set port security function...........................................................................................................150
5.4.2 Register permitted MAC addresses...........................................................................................151
5.4.3 Set operations used for security violations................................................................................151
5.4.4 Show port security information.................................................................................................151
7.9 Set DNS lookup function..........................................................................................................................205
7.10 Set DNS server list.................................................................................................................................206
7.11 Set default domain name........................................................................................................................206
7.12 Set search domain list.............................................................................................................................207
7.13 Show DNS client information................................................................................................................207
Chapter 8: IP multicast control.........................................................................209
8.1 IP multicast basic settings........................................................................................................................209
8.1.1 Set processing method for unknown multicast frames..............................................................209
9.2 QoS (Quality of Service)..........................................................................................................................226
•Unauthorized reproduction of this document in part or in whole is prohibited.
The contents of this document are subject to change without notice.
•
•Yamaha disclaims all responsibility for any damages caused by loss of data or other problems resulting from the use of this
product.
The warranty is limited to this physical product itself. Please be aware of these points.
•The information contained in this document has been carefully checked and is believed to be reliable. However, if you find
some of the contents to be missing or have questions regarding the contents, please contact us.
•Ethernet is a registered trademark of Fuji Xerox Corporation.
•Microsoft and Windows are registered trademarks of Microsoft Corporation USA in the United States and in other
countries.
Command Reference | How to read the command reference | 13
Chapter 1
How to read the command reference
1.1 Applicable firmware revision
This command reference applies to firmware Yamaha Intelligent L2 Switch SWR2311P of Rev.2.02.09.
For the latest firmware released after printing of this command reference, manuals, and items that differ, access the following
URL and see the information in the WWW server.
http://www.rtpro.yamaha.co.jp
1.2 How to read the command reference
This command reference describes the commands that you enter from the console of the Yamaha Intelligent L2 Switch
SWR2311P.
Each command is described by a combination of the following items.
Explains the command input syntax. Key input can use either
uppercase or lowercase characters.
Command names are shown in bold (Bold face).
[Syntax]
[Keywords]
[Parameters]
[Default setting]Indicates the factory-set state of the command.
[Input mode]Indicates the modes in which the command can be executed.
[Description]Explains the command.
[Notes]
[Examples]Provides specific examples of the command.
The parameter portion is shown in italic (Italic face).
Keywords are shown in normal characters.
Parameters that can be omitted are enclosed in square
brackets ( [ ] ).
Explains the type and significance of keywords that can be
specified for the command.
Explains the type and significance of parameters that can be
specified for the command.
Explains points that you should be aware of when using the
command.
1.3 Interface names
In the command input syntax, interface names are used to specify each interface of the switch.
The following interface names are handled by the SWR2311P.
Interface typePrefixDescriptionExamples
Used to specify a physical
LAN/SFP portport
VLAN interfacevlan
static logical interfacesa
LACP logical interfacepo
port. Specify "stack ID" + "."
+ "port number" after the port
number. * The SWR2311P is
fixed as stack ID=1.
Used to specify a VLAN.
Specify vlan followed by the
"VLAN ID".
Used to specify link
aggregation that combines
multiple LAN/SFP port.
Specify sa or po followed by
"logical interface ID".
When specifying LAN port
#1 on LAN port stack #1 :
port1.1
To specify VLAN #1:vlan1
o specify static logical
interface #1: sa1
To specify LACP logical
interface #2: po2
14 | Command Reference |
How to read the command reference
1.4 Input syntax for commands starting with the word "no"
Many commands also have a form in which the command input syntax starts with the word no. If you use a syntax that with
begins with the word no, the settings of that command are deleted and returned to the default value, unless explained otherwise.
Command Reference | How to use the commands | 15
Chapter 2
How to use the commands
The SWR2311P lets you perform command operations in the following two ways.
Type of operationMethod of operationDescription
Operation via console
Operation via a config file
This chapter explains how to use each method.
•Access from a console terminal
Access from a TELNET client
•
•Access from a SSH client
•File transfer via TFTP
•File transfer via GUI operation
•File copy via SD card
Issue commands one by one to
interactively make settings or perform
operations.
A file containing a set of necessary
commands (called a configuration or
"config" file) is used to specify multiple
settings, or to obtain multiple settings from
the SWR2311P, in a single operation.
2.1 Operation via console
2.1.1 Access from a console terminal
Use a USB cable or RJ-45/DB-9 console cable (YRC-RJ45) when making settings from a terminal that is connected to the
CONSOLE port of SWR2311P. For the USB cable connected to the mini-USB CONSOLE port, use a USB cable that supports
data communication between a USB Type A connector and a mini-USB Type B (5-pin) connector. Cables for recharging only
cannot be used. If you are using a computer as a console terminal (serial terminal), you'll need a terminal program to control the
computer's serial (COM) port. Set the communication settings of the console terminal as follows.
Setting itemValue
Baud rate9600bps
Data8-bit
Paritynone
Stop bit1-bit
Flow controlXon/Xoff
For settings related to the console terminal, use the line con command to move to line mode.
2.1.2 Access from a TELNET client
You can use a TELNET client on a computer to connect to the TELNET server of the SWR2311P and control it. In order to
make settings using TELNET, you must first set up a connection environment (IP network) and then make TELNET server
settings.
The IP address settings of the SWR2311P are as follows.
The default IPv4 address setting is ip address dhcp for VLAN #1.
•
•To change the IPv4 address, use the ip address command.
The TELNET server settings of the SWR2311P are as follows.
•With the default settings of the TELNET server function, it runs on the default port (TCP port 23) and allows access only
from VLAN #1 (vlan0.1).
•To change the reception port number, use the telnet-server command.
•Access to the TELNET server can be controlled in VLAN units, and can be specified by the telnet-server interface
command.
A virtual communication port by which a TELNET client connects is called a "virtual terminal (VTY: Virtual TYpewriter)
port." The maximum number of simultaneous TELNET client connections depends on the number of VTY ports of the
SWR2311P. The VTY ports of the SWR2311P are as follows.
•With the default VTY port settings, eight VTY ports (ID: 0--7) can be used.
•To check the number of VTY ports, use the show running-config | include line vty command.
•To change the number of VTY ports, use the line vty command. (maximum 8 (ID: 0--7))
16 | Command Reference |
To make VTY port settings, use the line vty command to specify the target VTY port, and then move to line mode. ID
management for virtual terminal ports is handled within the SWR2311P, but since login session and ID assignments depend on
the connection timing, you should normally make the same settings for all VTY ports.
How to use the commands
2.1.3 Access from an SSH client
You can use an SSH client on a computer to connect to the SSH server of the SWR2311P and control it. In order to make
settings using SSH, you must first set up a connection environment (IP network) and then make SSH server settings.
The IP address settings of the SWR2311P are as follows.
The default IPv4 address setting is ip address dhcp for VLAN #1.
•
•To change the IPv4 address, use the ip address command.
The following settings on the SWR2311P must be made beforehand when accessing from an SSH client.
•Generate a host key on the SSH server using the ssh-server host key generate command.
•Enable the SSH server functions using the ssh-server command.
•Register the user name and password using the username command.
The SSH server settings of the SWR2311P are as follows.
•Access to an SSH server can be controlled for each VLAN, and is set using the ssh-server interface command.
•Note that the following functions are not supported.
•SSH protocol version 1
•User authentication aside from password authentication (host response authentication, public key authentication, challengeresponse authentication, GSSAPI authentication)
•Port forwarding (X11/TCP forwarding)
•Gateway Ports (Port relay)
•Permitting blank passwords
A virtual communication port by which an SSH client connects is called a "virtual terminal (VTY: Virtual TYpewriter) port."
The maximum number of simultaneous SSH client connections depends on the number of VTY ports of the SWR2311P. The
VTY ports of the SWR2311P are as follows.
•With the default VTY port settings, eight VTY ports (ID: 0--7) can be used.
•To check the number of VTY ports, use the show running-config | include line vty command.
•To change the number of VTY ports, use the line vty command. (maximum 8 (ID: 0--7))
To make VTY port settings, use the line vty command to specify the target VTY port, and then move to line mode. ID
management for virtual terminal ports is handled within the SWR2311P, but since login session and ID assignments depend on
the connection timing, you should normally make the same settings for all VTY ports.
2.1.4 Console terminal/VTY settings
The SWR2311P lets you make the following settings for console terminals and VTY.
1. Timeout duration interpreted as no operation
2. Number of lines shown in one page of the terminal screen
Setting itemContent of setting
Specifies the time after which the login session is forcibly
ended when there has been no key input from the terminal.
Timeout duration interpreted as no operation
Number of lines shown in one page of the terminal screen
With the default setting, the session is forcibly disconnected
after ten minutes.
To make this setting, use the exec-timeout command of the
line mode; this takes effect from the next session.
Specifies the number of lines shown on one page of the
terminal screen.
This can be set as 0--512 lines/page, and the default setting is
24 lines/page.
When displaying in this state, 23 lines are displayed, then "--More---" is displayed and the system waits for key input.
There are two types of this setting, and they are applied to the
system starting with the upper type.
1) unprivileged EXEC mode terminal length command
2) global configuration mode service terminal-length
Command Reference | How to use the commands | 17
Setting itemContent of setting
command
Setting 1) is a function that temporarily applies to the user
who is using the terminal, and is applied as soon as the
command is executed.
Setting 2) applies starting with the next session.
2.2 Operation via configuration (config) files
A file containing a set of needed commands is called a configuration (config) file.
The settings that have been made on the SWR2311P can be read as a configuration file by a host on the LAN via TFTP. A
configuration file on the host can also be loaded into the SWR2311P to specify its settings.
A configuration file contains all the settings for the entire unit; it is not possible to partially read or write only the settings for a
specific area. The configuration file is a text file consisting of ASCII + line-return (CRLF or LF).
The commands and parameters in a configuration file must be in the correct syntax. If the syntax or content are incorrect, that
content is ignored and is not applied to operation.
2.2.1 Access from a TFTP client
In order to transfer a configuration file via TFTP, you must first set up a connection environment (IP network) and then make
TFTP server settings.
The IP address settings of the SWR2311P are as follows.
The default IPv4 address setting is ip address dhcp for VLAN #1.
•
•To change the IPv4 address, use the ip address command.
The TFTP server settings of the SWR2311P are as follows.
•With the default settings of the TFTP server function, it is running on the default port (UDP port 69) and does not allow
access from anywhere.
•The reception port number cannot be changed.
•Access to the TFTP server can be controlled in VLAN units, and can be specified by the tftp-server interface command.
Specify the VLAN ID for which access is allowed.
2.2.2 Reading/writing a configuration file
Reading/writing a configuration file is performed by executing a TFTP command from the host on the LAN. The following
configuration files are read or written.
•
Config file
Applicable config fileDescriptionRemarks
running-configSetting values for current operation
•If an administrator password is set on the SWR2311P, you must specify the administrator password after the remote path in
the format "/PASSWORD".
18 | Command Reference |
•If you PUT (write) with "config" specified as the remote path, the changes are added or overwritten to the current operating
settings. Settings that you do not add or change will remain as the current operating settings. Since the setting values are not
saved, you must use the write command etc. if you want to save them.
The encrypted password (password 8 or enable password 8 command format) is not applied to the settings even if it is
•
PUT to running-config via TFTP. And, users are not actually registered when making settings for users that include
encrypted passwords (username command).
2.3 Login
When the SWR2311P has finished starting up, a login screen is displayed.
If a user is configured, enter the user name and password. If a user is not configured, omit the user name by pressing the Enter
key, and enter the login password instead to log in as an unknown user.
When authentication is successful, the command prompt appears. Since no user password is specified with the default settings,
you will be able to log in without a password.
Login screen
•
Username:
Password:
•
Console screen following login
SWR2311P Rev.2.02.06 (Tue Mar 13 08:41:39 2018)
Copyright (c) 2018 Yamaha Corporation. All Rights Reserved.
How to use the commands
SWR2311P>
2.4 Command input mode
2.4.1 Command input mode basics
In order to change the settings of the SWR2311P or to reference the status, you must move to the appropriate command input
mode and then execute the command. Command input mode is divided into hierarchical levels as shown below, and the
commands that can be entered in each mode are different. By noting the prompt, the user can see which mode they are currently
in.
Command Reference | How to use the commands | 19
The basic commands related to moving between command input modes are described below. For commands that move from
global configuration mode mode to individual configuration mode, refer to "individual configuration mode."
•exit command
•logout command
•enable command
•disable command
•configure terminal command
•end command
2.4.2 individual configuration mode
individual configuration mode is the overall name for the mode in which you can make detailed settings for specific items such
as LAN/SFP port, VLAN interface, and QoS. To enter individual configuration mode, issue the command for transitioning to
the respective mode from global configuration mode.
On SWR2311P, individual configuration mode contains the following modes. Some of the modes within individual
configuration mode have a hierarchy. For example, policy map mode → policy map class mode.
he command prompt prefix indicates the host name. In the default state, the host name is the model name "SWR2311P". This
indication can be changed by using the hostname command to specify the host name. In cases where multiple SWR2311P units
are used, management will be easier if separate names are assigned to each switch.
2.4.4 Executing commands of a different input mode
Because the commands that can be used on the SWR2311P differ depending on the mode, you must transition to the mode in
which a command can be executed before you execute that command. The do command is provided as a way to avoid this
requirement.
By using the do command you can execute priviledged EXEC mode commands from any configuration mode. This allows you
to reference the current configuration or save settings from any configuration mode without having to transition to priviledged
EXEC mode.
However, since the completion function cannot be used with do, you must enter the command that follows either in its full
spelling or in its abbreviated form.
Entry in full spelling
•
SWR2311P(config)#do show running-config
•
Entry in abbreviated form
SWR2311P(config)#do sh ru
20 | Command Reference |
How to use the commands
2.5 Keyboard operations when using the console
2.5.1 Basic operations for console input
The SWR2311P allows the following operations in the command line.
Moving the cursor
•
Keyboard operationDescription and notes
→Move right one character
←Move left one character
Press Esc, then F
Press Esc, then B
•Deleting an input character
Keyboard operationDescription and notes
Press Esc, then D
•Other
Move right one word (move to the character following the
end of the word at the cursor location)
Move left one word (move to the first character of the word
at the cursor location)
Ctrl + AMove to the beginning of the line
Ctrl + EMove to the end of the line
Backspace
Ctrl + H
Ctrl + D
Ctrl + KDelete from the cursor position until the end of the line
Ctrl + UDelete all characters that are being entered
Delete the character at the left of the cursor
Delete the character at the cursor.
If this operation is performed when the command line is
empty, the result is the same as the exit command.
Delete from the cursor position until immediately before the
first space
Keyboard operationDescription and notes
Exchange the character at the cursor position with the
Ctrl + T
Ctrl + C
Ctrl + Z
preceding character.
If the cursor is at the end of the line, exchange the preceding
character with the character that precedes it.
In unprivileged EXEC mode and priviledged EXEC mode,
discard the command being entered and move to the next
line.
In individual configuration mode, discard the command line
being entered and move to priviledged EXEC mode.
Command processing that is currently being executed will
be stopped. (ex: ping command)
Move from individual configuration mode to priviledged
EXEC mode.
This is the same operation as the end command.
2.5.2 Command help
By entering '?' in the command line you can search for the available commands or parameters.
SWR2311P#show vlan ?
<1-4094> VLAN id
access-map Show VLAN Access Map
brief VLAN information for all bridges (static and dynamic)
filter Show VLAN Access Map Filter
private-vlan private-vlan information
Command Reference | How to use the commands | 21
SWR2311P#show vlan
2.5.3 Input command completion and keyword candidate list display
If you press the "Tab" key while entering a command in the console, the command name is completed. If you press the "Tab"
key after entering a keyword, a list of keyword candidates that can be entered next is shown. The same operation can also be
performed by pressing the "Ctrl + I" key.
Command name completion
•
SWR2311P#con "press the <Tab>key"
↓
SWR2311P#configure
•
Keyword candidate list display
SWR2311P(config)#vlan "press the <Tab> key"
access-map database filter
SWR2311P(config)#vlan
2.5.4 Entering command abbreviations
When you enter commands or parameters in abbreviated form, and the characters you entered can be recognized
unambiguously as a command or parameter, that command is executed.
Example of entering a command abbreviation (show running-config)
SWR2311P# sh run
2.5.5 Command history
By using the command history function, you can easily re-execute a command that you previously input, or partially modify a
previously input command and re-execute it. Command history is shown as a history that is common to all modes.
Operation is shown below.
Keyboard operationDescription and notes
↑
Ctrl + P
↓
Ctrl + N
Move backward through command history
Move forward through command history
2.6 Commands that start with the word "show"
2.6.1 Modifiers
Modifiers send the information produced by the show command through a filter, restricting the content that is shown in the
screen and making it easier for you to see the desired information.
The SWR2311P provides the following three modifiers for the show command.
ModifiersDescription
include
grep
exclude
Modifiers can be used only one at a time. You cannot specify more than one modifier.
(Example) Using show running-config to view information that includes VLAN #1 (vlan1).
(Example) Using show spanning-tree to view information that includes Role.
SWR2311P# show spanning-tree | include Role
% po1: Port Number 505 - Ifindex 4601 - Port Id 0x81f9 - Role Disabled - State
Output only the lines that include the specified character
string
Output only the lines that do not include the specified
character string
22 | Command Reference |
Discarding
% port1.1: Port Number 905 - Ifindex 5001 - Port Id 0x8389 - Role Disabled State Forwarding
% port1.2: Port Number 906 - Ifindex 5002 - Port Id 0x838a - Role Disabled State Forwarding
% port1.3: Port Number 907 - Ifindex 5003 - Port Id 0x838b - Role Disabled State Forwarding
% port1.4: Port Number 908 - Ifindex 5004 - Port Id 0x838c - Role Disabled State Forwarding
% port1.6: Port Number 910 - Ifindex 5006 - Port Id 0x838e - Role Disabled State Forwarding
% port1.7: Port Number 911 - Ifindex 5007 - Port Id 0x838f - Role Disabled State Forwarding
% port1.8: Port Number 912 - Ifindex 5008 - Port Id 0x8390 - Role Disabled State Forwarding
% port1.9: Port Number 913 - Ifindex 5009 - Port Id 0x8391 - Role Disabled State Forwarding
% port1.10: Port Number 914 - Ifindex 5010 - Port Id 0x8392 - Role Disabled State Forwarding
How to use the commands
Chapter 3
Configuration
3.1 Manage setting values
The SWR2311P uses the following configurations to manage its settings.
Command Reference | Configuration | 23
Types of configurationDescription
Running configuration (running-config)
Startup configuration (startup-config)
Default configuration (default-config)
The start-up flow for the SWR2311P system is as follows.
1. The setting value of the startup-config select command is referenced to determine the startup config that will be used.
If sd is selected by the startup-config select command, and an SD card is not inserted, startup config #0 is selected.
2. If the startup configuration that was selected exists, the data in question is deployed to RAM as a running configuration.
If the startup configuration file that was selected according to the setting values in the startup-config select command does
not exist in ROM, the default configuration is deployed to RAM.
If commands etc. are used to modify the settings while the SWR2311P is running, the modified settings are immediately
reflected in the running configuration. After modifying the running configuration, executing the write or copy command will
update the startup configuration. If you restart without saving the content that was specified or modified, the settings or
modifications are lost. Please be aware of this.
Setting values currently used for
operation. Managed in RAM.
These are the saved setting values. This
manages 5 configurations in ROM and 1
configuration on an SD card. The data in
ROM to be used is determined using the
startup-config select command.
The single configuration on the SD card
is managed in the "\swr2311p\startupconfig" folder.
Default setting values. Managed in
ROM.
User operations that can be
performed
Note / Save to startup configuration
Note / Delete / Copy
No operations possible
3.2 Default setting values
The default setting values for the SWR2311P are shown in the table below.
LLDP agentTransmit/Receive modetransmit and receive
•Settings for the default VLAN (vlan1)
IPv4 Address : DHCP cliant
•
•IGMP Snooping: Enable
•Querier : Disable
•Fast-Leave : Disable
•Check TTL : Enable
Flow control (IEEE 802.3x)disabled
Storm controldisabled
Power supply operationenabled
Power supply prioritylow
26 | Command Reference |
Maintenance and operation functions
Chapter 4
Maintenance and operation functions
4.1 Passwords
4.1.1 Set password for unnamed user
[Syntax]
password password
no password
[Parameter]
password:Login password for unnamed user
Single-byte alphanumeric characters, and symbols other than the single-byte characters '|', '>', and '?'
(32 characters or less)
The first character must be a single-byte alphanumeric character
[Initial value]
no password
[Input mode]
global configuration mode
[Description]
Sets the password for logging in as an unnamed user.
If this command is executed with the "no" syntax, the unnamed user password for logging is deleted.
[Note]
If the password was encrypted by the password-encryption command, it is shown in the configuration in the form "password
8 password."
The user cannot enter the password in this form when making configuration settings from the command line.
[Example]
Specify user1234 as the unnamed user password.
SWR2311P(config)#password user1234
Delete the unnamed user password.
SWR2311P(config)#no password
4.1.2 Set administrator password
[Syntax]
enable password password
no enable password
[Parameter]
password:Administrator password
Single-byte alphanumeric characters, and symbols other than the single-byte characters '|', '>', and '?'
(32 characters or less)
The first character must be a single-byte alphanumeric character
[Initial value]
no enable password
[Input mode]
global configuration mode
Command Reference | Maintenance and operation functions | 27
[Description]
Specifies the administrator password needed to enter priviledged EXEC mode.
If this command is executed with the "no" syntax, the administrator password is deleted.
[Note]
If the password was encrypted by the password-encryption command, it is shown in the configuration in the form "enable
password 8 password."
The user cannot enter the password in this form when making configuration settings from the command line.
[Example]
Specify admin1234 as the administrator password.
SWR2311P(config)#enable password admin1234
Delete the administrator password.
SWR2311P(config)#no enable password
4.1.3 Encrypt password
[Syntax]
password-encryption switch
no password-encryption
[Parameter]
switch:Set password encryption
Setting valueDescription
enableEncrypt
disableDon't encrypt
[Initial value]
password-encryption disable
[Input mode]
global configuration mode
[Description]
Enables password encryption.
If this is enabled, the password entered by the password command, the enable paassword command, and the username
command are saved in the configuration in an encrypted form.
If this command is executed with the "no" syntax, password encryption is disabled, and the password entered by the password
command, the enable paassword command, and the username command are saved in the configuration as plaintext.
[Note]
If password encryption is changed from disabled to enabled, previously-entered passwords are converted from plaintext to an
encrypted form; however if it is changed from enabled to disabled, previously-encrypted passwords in a configuration file do
not return to plaintext.
[Example]
Enables password encryption.
SWR2311P(config)#password-encryption enable
Disabled password encryption.
SWR2311P(config)#no password-encryption
4.1.4 Allow login with special password
[Syntax]
force-password switch
no force-password
28 | Command Reference |
[Parameter]
switch:Allow login by special password
[Initial value]
force-password enable
[Input mode]
global configuration mode
[Description]
Enable login with special password.
If this is enabled, only when logging in from a serial console, it is possible to log in using "w,lXlma" (lowercase W, comma,
lowercase L, uppercase X, and lowercase L, M, and A) instead of the specified user password.
If you login with the special password, you will be in priviledged EXEC mode.
If this command is executed with the "no" syntax, login with the special password is disabled.
word:Single-byte alphanumeric characters and single-byte symbols ( 256 characters or less)
[Initial value]
no banner motd
[Input mode]
global configuration mode
[Description]
Sets the banner that is displayed when logging in to the console.
[Example]
Set the banner display to "Hello World!".
Username:
Password:
SWR2311P Rev.2.02.06 (Tue Mar 13 08:41:39 2018)
Copyright (c) 2018 Yamaha Corporation. All Rights Reserved.
SWR2311P>enable
SWR2311P#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SWR2311P(config)#banner motd Hello World!
SWR2311P(config)#exit
SWR2311P#exit
Username:
Password:
Hello World!
SWR2311P>enable
SWR2311P#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SWR2311P(config)#no banner motd
SWR2311P(config)#exit
SWR2311P#exit
Username:
Password:
SWR2311P Rev.2.02.06 (Tue Mar 13 08:41:39 2018)
Copyright (c) 2018 Yamaha Corporation. All Rights Reserved.
Loading...
+ 236 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.