telnet client

Restricts Telnet access to a host with the specified IP address.
Syntax
telnet client { ipv4-address [ client-mac ] | any client-mac | ipv6 ipv6-address }
no telnet client { ipv4-address [ client-mac ] | any client-mac | ipv6 ipv6-address }
Command Default

Remote Telnet access is not restricted.

Parameters
ipv4-address
Allows Telnet access only to the host with the IPv4 address.
client-mac
The host MAC address.
any client-mac
Allows Telnet access to a host with any IP address but with the specified MAC address.
ipv6 ipv6-address
Allows Telnet access to a host with the specified IPv6 address.
Modes

Global configuration mode

Usage Guidelines

The syntax of this command and the description need to be verified. They differ from the security guide, which shows a mac address used in combination with an IPv6 address.

You can specify only one IP address with one command. However, you can enter the command ten times to specify up to ten IP addresses.

The no form of the command removes the restriction and allows Telnet access to all the clients.

Examples

The following example shows how to allow Telnet access only to the host with IP address 192.168.10.1 and MAC address 1111.2222.3333.

device(config)# telnet client 192.168.10.1 1111.2222.3333