beautypg.com

Enabling or disabling telnet access, Allowing telnet access only to clients in a vlan, Suppressing the rejection message – Brocade Virtual ADX Administration Guide (Supporting ADX v03.1.00) User Manual

Page 20: Defining telnet timeout

background image

8

Brocade Virtual ADX Administration Guide

53-1003249-01

Configuring Telnet

1

The minutes variable specifies 1 – 10 minutes. The default is 2 minutes.

Enabling or disabling Telnet access

By default, Telnet access is enabled on the system.

To disable Telnet access to a Brocade Virtual ADX, enter the following command.

Virtual ADX(config)#no telnet server

Syntax: [no] telnet server

Allowing Telnet access only to clients in a VLAN

You can allow Telnet access only to clients in a specific VLAN.

The following command configures the device to allow Telnet management access only to clients
connected to ports within port-based VLAN 10. Clients connected to ports that are not in VLAN 10
are denied management access.

Virtual ADX(config)#telnet server enable vlan 10

Syntax: [no] telnet server enable vlan vlan-id

Suppressing the rejection message

You can suppress the rejection message the device sends in response to a denied Telnet client.

If you enable suppression of the connection rejection message, a denied Telnet client does not
receive a message from the device. Instead, the denied client simply does not gain access.

To suppress the connection rejection message sent by the device to a denied Telnet client, enter
the following command.

Virtual ADX(config)#telnet server suppress-reject-message

Syntax: [no] telnet server suppress-reject-message

Defining Telnet timeout

By default, Telnet sessions do not time out (0 minutes).

To define how long a Telnet session can remain idle before it is timed out, enter the following
command.

Virtual ADX(config)#telnet timeout 120

Syntax: [no] telnet timeout minutes

Redirecting debug and ptrace output to a Telnet session

By default, the Brocade Virtual ADX sends the output for both the debug and ptrace commands to
the console. However, the output for these commands do not appear on a Telnet session. To
redirect this output to a Telnet session, use the ptrace term command in the Telnet session.

Virtual ADX#ptrace term