Enable Remote Access Services
About this task
Enable the remote access service to provide multiple methods of remote access.
File Transfer Protocol (FTP), Trivial File Transfer Protocol (TFTP) and Telnet server support both IPv4 and IPv6 addresses, with no difference in functionality or configuration.
Procedure
Example
Enable the access service for Telnet:
Switch:1>enable Switch:1#configure terminal Switch:1(config)#boot config flags telnetd
Variable Definitions
The following table defines parameters for the boot config flags command.
Variable |
Value |
---|---|
advanced-feature-bandwidth-reservation [low | vim] Note:
Exception: vim is only supported on 5520 Series. |
Enables the switch to support advanced features by reserving ports as loopback ports. When disabled, you can use all ports on the switch, but advanced features do not work. The default varies depending on the platform:
If you change this parameter, you must restart the switch. |
block-snmp |
Activates or disables Simple Network Management Protocol management. The default value is false (disabled), which permits SNMP access. |
debug-config [console] | [file] |
Enables you to debug the configuration file during loading configuration at system boot up. The default is disabled. You do not have to restart the switch after you enable debug-config, unless you want to immediately debug the configuration. After you enable debug-config and save the configuration, the debug output either displays on the console or logs to an output file the next time the switch reboots. The options are:
|
debugmode |
Enables a TRACE on any port by prompting the selection on the console during boot up. This allows the user start trace for debugging earlier on specified port. Works on console connection only. The default is disabled. Important:
Do not change this parameter unless directed by technical support. |
dvr-leaf-mode |
Enables an SPB node to be configured as a DvR Leaf. A node that has this flag set cannot be configured as a DvR Controller. The boot flag is disabled by default. |
enhancedsecure-mode {jitc | non-jitc} |
Enables enhanced secure mode in either the Joint Interoperability Test Command (JITC) or non-JITC sub-modes. Note:
As a best practice, enable the enhanced secure mode in the non-JITC sub-mode, because the JITC sub-mode is more restrictive and prevents the use of some CLI commands that are commonly used for troubleshooting. When you enable enhanced secure mode in either the JITC or non-JITC sub-modes, the switch provides role-based access levels, stronger password requirements, and stronger rules on password length, password complexity, password change intervals, password reuse, and password maximum age use. |
factorydefaults |
Specifies whether the switch uses the factory default settings at startup. The default value is disabled. This flag is automatically reset to the default setting after the CPU restarts. If you change this parameter, you must restart the switch. Note:
The factorydefaults flag deletes the runtime, primary and backup configuration files, local password files, authentication keys, and certificates. After a factory default, you must change the password on first login. |
flow-control-mode |
Enables or disables flow control globally. When disabled, the system does not generate nor configure the transmission of flow control messages. The system always honors received flow control messages regardless of the flow control mode status. You must enable this mode before you configure an interface to send pause frames. The default is disabled. |
ftpd |
Activates or disables the FTP server on the switch. The default value is disabled. To enable FTP, ensure that the tftpd flag is disabled. |
hsecure |
Activates or disables High Secure mode. The hsecure command provides the following password behavior:
The default value is disabled. If you enable High Secure mode, you must restart the switch to enforce secure passwords. If you operate the switch in High Secure mode, the switch prompts a password change if you enter invalid-length passwords. |
ipv6-egress-filter |
Enables IPv6 egress filters. The default is disabled. If you change this parameter, you must restart the switch. For 5320 Series and 5420 Series platforms, the boot config flags ipv6-egress-filter and boot config flags macsec commands are mutually exclusive. |
ipv6–mode |
Enables IPv6 mode on the switch. |
logging |
Activates or disable system logging. The default value is enabled. The system names log files according to the following:
The system generates multiple sequence numbers for the same chassis and same slot if the system reaches the maximum log file size. |
macsec Note:
Exception: only required for 5320 Series and 5420 Series. |
Enables Media Access Control Security (MACsec) globally. The boot config flags ipv6-egress-filter and boot config flags macsec commands are mutually exclusive. |
nni-mstp |
Enables MSTP and VLAN configuration on NNI ports. The default is disabled. Note:
Spanning Tree is disabled on all NNIs. You cannot add an SPBM NNI port or MLT port to any non SPBM B-VLAN. You cannot add additional C-VLANs to a brouter port. |
reboot |
Activates or disables automatic reboot on a fatal error. The default value is activated. Important:
Do not change this parameter unless directed by technical support. |
spanning-tree-mode <mstp|rstp> |
Specifies the Multiple Spanning Tree Protocol or Rapid Spanning Tree Protocol mode. If you do not specify a protocol, the switch uses the default mode. The default mode is mstp. If you change the spanning tree mode, you must save the current configuration and restart the switch. |
spbm-config-mode |
Enables you to configure SPB and IS-IS, but you cannot configure PIM and IGMP either globally or on an interface. Use the no operator so that you can configure PIM and IGMP. The boot flag is enabled by default. To set this flag to the default value, use the default operator with the command. |
spbm-node-scaling Note:
Exception: Only supported on 5320 Series and 5420 Series. |
Increases the number of supported SPB nodes per area that the switch supports. This flag is disabled by default. Important:
If you enable this boot config flag, it impacts the following features:
For more information about scaling numbers, see Fabric Engine Release Notes. |
sshd |
Activates or disables the SSHv2 server service. The default value is disabled. |
syslog-rfc5424-format |
Controls the format of the syslog output and logging. By default, the switch uses the RFC5424 format. If the RFC based format is disabled, the older format is used. |
telnetd |
Activates or disables the Telnet server service. The default is disabled. |
tftpd |
Activates or disables Trivial File Transfer Protocol server service. The default value is disabled. |
trace-logging |
Activates or disables the creation of trace logs. The default value is disabled. Important:
Do not change this parameter unless directed by technical support. |
urpf-mode |
Enables Unicast Reverse Path Forwarding (uRPF) globally. You must enable uRPF globally before you configure it on a port or VLAN. The default is disabled. |
verify-config |
Activates syntax checking of the configuration file. The default is enabled.
As a best practice, disable the verify-config flag. |
vrf-scaling |
Increases the maximum number of VRFs and Layer 3 VSNs that the switch supports. This flag is disabled by default. Important:
If you enable both this flag and the spbmconfig-mode flag, the switch reduces the number of configurable VLANs. For more information about maximum scaling numbers, see Fabric Engine Release Notes. |