ip telnet source-interface
ip telnet source-interface
{
ethernet
stack/slot/port
|
loopback
loopback-num
|
management
mgmt-num
|
ve
ve-num
}
no ip telnet source-interface
{
ethernet
stack/slot/port
|
loopback
loopback-num
|
management
mgmt-num
|
ve
ve-num
}
The default is the lowest-numbered IP address configured on the port through which the packet is sent.
- ethernet stack/slot/port
- Configures the device source IP address for all Telnet packets as the IP address of the specified Ethernet interface.
- loopback loopback-num
- Configures the device source IP address for all Telnet packets as the IP address of the specified loopback interface.
- mangement mgmt-num
- Configures the device source IP address for all Telnet packets as the IP address of the specified management interface.
Global configuration mode
You can configure the Layer 3 switch to always use the lowest-numbered IP address on a specific Ethernet, loopback, or virtual interface as the source addresses for these packets. When configured, the Layer 3 switch uses the same IP address as the source for all packets of the specified type, regardless of the ports that actually sends the packets.
If your server is configured to accept packets only from specific IP addresses, you can use this configuration to simplify configuration of the server by configuring the device to always send the packets from the same link or source address.
If you specify a loopback interface as the single source for specified packets, servers can receive the packets regardless of the states of individual links. Thus, if a link to the 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
no form of the command resets the source address of the packet as the lowest-numbered
IP address on the interface that sends the packet.