Use the set telnet command to
Add telnet IP address table entries
Remove telnet IP address table entries
Display telnet IP address table entries
Root privileges are required to execute the set telnet command.
Enter the set telnet as shown below to display the current
set telnet values for the device/terminal server:
set telnet
Enter the set telnet as shown below to add an entry to the telnet table:
set telnet ip=ip_addr mask=ip_mask
mode={none|crbin|telprnt}
Enter the set telnet as shown below to remove an entry from the telnet table:
set telnet [rmtelnetip=ip_addr] | [rmtelnetip=on
range={[index#-index#] |
[index1,index2,...]}]
|
Command Field |
Description |
|
ip |
Specifies the IP address to add to the telnet table. |
|
mask |
Specifies the value of the mask to use for the IP address entered. The default is 255.255.255.255. |
|
mode |
Specifies the telnet mode: none - This means that no special telnet mode is set. crbin - This sets a telnet binary connection, and adds carriage return characters to line feed characters. telprnt - This option is used for a telnet print connection. The default is none. |
|
range |
Specifies the range of index entries to remove. Index numbers may be specified as a sequence such as range=1,2,8,10 or as a range such as range=2-10. Note: Before removing telnet table entries it may be helpful to use set telnet without any parameters to display the existing telnet table entries and their corresponding index numbers. |
|
rmtelnetip |
Used to remove telnet table entries. rmtelnetip=ip_addr - remove a single IP address from the table. rmtelnetip=on range=range - remove the specified range of IP addresses. |
In this example, the set telnet command displays current telnet table entries.
set telnet
In this example, the set telnet command adds a telnet table entry.
set telnet ip=199.86.5.56 mask=(255.255.255.0)
mode=none
In this example, the set telnet command deletes a range of telnet table entries.
set telnet rmtelnetip=on range=1-14
set telnet rmtelnetip=199.86.5.56