telnet server port

Use this command to set the port number on which the telnet server listens for connections. The default port on which the telnet server listens is 23.

You can only give this command when the telnet server is disabled. See the feature telnet command.

Use the no form of this command to set the default port number (23).

Command Syntax

Copy
telnet server (port <1024-65535>) (vrf (NAME|management)|)
no telnet server port (vrf (NAME|management)|)

Parameters

<1024-65535>

Port number

management

Virtual Routing and Forwarding name

vrf management

Defines the management VRFClosed Virtual Routing and Forwarding instance.

vrf NAME

Specify the user-defined VRF instance name.

Default

23

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 1.3.Added VRF NAME parameter in OcNOS version 6.5.3.

Examples

Copy
#configure terminal
(config)#telnet server port 1157 vrf management