Chapter 34 System Remote Management

34.6 Telnet Commands

The following table describes the commands available for Telnet. You must use the configure terminal command to enter the configuration mode before you can use these commands.

Table 128 Command Summary: Telnet

COMMAND

DESCRIPTION

[no] ip telnet server

Allows Telnet access to the NXC CLI. The no

 

command disables Telnet access to the NXC

 

CLI.

 

 

[no] ip telnet server port <1..65535>

Sets the Telnet service port number. The no

 

command resets the Telnet service port number

 

back to the factory default (23).

 

 

ip telnet server rule {rule_numberappendinsert

Sets a service control rule for Telnet service.

rule_number} access-group {ALLaddress_object}

address_object: The name of the IP address

zone {ALLzone_object} action {acceptdeny}

(group) object. You may use 1-31 alphanumeric

 

characters, underscores(_), or dashes (-), but the

 

first character cannot be a number. This value is

 

case-sensitive.

 

zone_object: The name of the zone. Use up to

 

31 characters (a-zA-Z0-9_-). The name cannot

 

start with a number. This value is case-sensitive.

 

You can also use pre-defined zone names like

 

LAN and WLAN.

 

 

ip telnet server rule move rule_number to

Changes the index number of a service control

rule_number

rule.

no ip telnet server rule rule_number

Deletes a service control rule for Telnet service.

show ip telnet server status

Displays Telnet settings.

34.6.1 Telnet Commands Examples

This command sets a service control rule that allowed the computers with the IP addresses matching the specified address object to access the specified zone using Telnet service.

Router# configure terminal

Router(config)# ip telnet server rule 11 access-group RD zone LAN action accept

This command displays Telnet settings.

Router# configure terminal

 

Router(config)# show ip telnet server status

 

active

: yes

 

port

: 23

 

service control:

Action

No. Zone

Address

========================================================================

Router(config)#

218

 

NXC CLI Reference Guide