telnet strict-management-vrf

Allows incoming Telnet connection requests only from the management VRF and not from the out-of-band (OOB) management port.
Syntax
telnet strict-management-vrf
no telnet strict-management-vrf
Command Default

When the management VRF is configured, incoming Telnet connection requests are allowed from the ports that belong to the management VRF and from the OOB management port.

Modes

Global configuration mode

Usage Guidelines

The telnet strict-management-vrf command is applicable only when the management VRF is configured. If a management VRF is not configured, configuring the telnet strict-management-vrf command displays an error message.

The telnet strict-management-vrf command does not prevent a connection initiated from the OOB management interface if the management interface VRF and the management VRF are the same. The user must configure either the management exclude all oob command or the management exclude telnet oob command.

For the Telnet server, changing the management VRF configuration or configuring the telnet strict-management-vrf command does not affect the existing Telnet connections. The changes are applied only to new incoming connection requests.

The telnet strict-management-vrf command and the management exclude commands are mutually exclusive. If the latter command is configured, outbound Telnet connections are not blocked.

The no form of the command enables the incoming Telnet connection requests from ports that belong to the management VRF and from the out-of-band management port.

Examples

The following example allows incoming Telnet connection requests from the management VRF only.

device(config)# telnet strict-management-vrf
History
Release version Command history
08.0.50 This command was introduced.