Cancelling an outbound telnet session – Brocade BigIron RX Series Configuration Guide User Manual

Page 203

Advertising
background image

BigIron RX Series Configuration Guide

125

53-1002484-04

Configuring an interface as source for all Telnet packets

5

Configuring an interface as source for all Telnet packets

You can designate the lowest-numbered IP address configured an interface as the source IP
address for all Telnet packets from the device. Identifying a single source IP address for Telnet
packets provides the following benefits:

If your Telnet server is configured to accept packets only from specific links or IP addresses,
you can simplify configuration of the Telnet server by configuring the device to always send the
Telnet packets from the same link or source address.

If you specify a loopback interface as the single source for Telnet packets, Telnet servers can
receive the packets regardless of the states of individual links. Thus, if a link to the Telnet
server becomes unavailable but the client or server can be reached through another link, the
client or server still receives the packets, and the packets still have the source IP address of
the loopback interface.

The software contains separate CLI commands for specifying the source interface for Telnet,
TACACS and TACACS+, and RADIUS packets. You can configure a source interface for one or more
of these types of packets.

The software uses the lowest-numbered IP address configured on the interface as the source IP
address for Telnet packets originated by the device.

To specify the lowest-numbered IP address configured on a virtual routing interface as the device’s
source for all Telnet packets, enter commands such as the following.

BigIron RX(config)# int loopback 2

BigIron RX(config-lbif-2)# ip address 10.0.0.2/24

BigIron RX(config-lbif-2)# exit

BigIron RX(config)# ip telnet source-interface loopback 2

The commands configure loopback interface 2, assign IP address 10.0.0.2/24 to it, then designate
it as the source for all Telnet packets from the device.

Syntax: ip telnet source-interface ethernet <portnum> | loopback <num> | ve <num>

The following commands configure an IP interface on an Ethernet port and designate the address
port as the source for all Telnet packets from the device.

BigIron RX(config)# interface ethernet 1/4

BigIron RX(config-if-e10000-1/4)# ip address 209.157.22.110/24

BigIron RX(config-if-e10000-1/4)# exit

BigIron RX(config)# ip telnet source-interface ethernet 1/4

Cancelling an outbound Telnet session

If you want to cancel a Telnet session from the console to a remote Telnet server (for example, if the
connection is frozen), you can terminate the Telnet session by doing the following.

1. At the console, press Ctrl-^ (Ctrl-Shift-6).

2. Press the X key to terminate the Telnet session.

Pressing Ctrl-^ twice in a row causes a single Ctrl-^ character to be sent to the Telnet server. After
you press Ctrl-^, pressing any key other than X or Ctrl-^ returns you to the Telnet session.

Advertising