3com 8807 Reference Guide

Page of 1099
IP Address Configuration Commands
103
Parameter
hostname: Name of the host. It is a character string that consists of 1 to 20 
characters, including letters, numbers, "_", or ",", and it must contain at least one 
letter.
ip-address: Host IP address (the corresponding IP address to the host name) in 
dotted decimal notation.
Description
Use the ip host command to configure the host name and the host IP address.
Use the undo ip host command to cancel the host name and the host IP address.
By default, host name and corresponding IP address are null.
Related command: display ip host.
Example
# Set Lanswtich1’s IP address to be 10.110.0.1.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] ip host Lanswitch1 10.110.0.1 
ip icmp-time-exceed 
enable
Syntax
ip icmp-time-exceed enable
undo ip icmp-time-exceed enable
View
System view
Parameter
None
Description
Use the ip icmp-time-exceed enable command to enable the switch to send the 
ICMP message "time exceeded" to the network management system when the 
switch receives an IP packet whose TTL is less than or equal to 1, thus preventing 
the switch from keeping sending unreachable packets to the sending end.
Use the undo ip icmp-time-exceed enable command to remove the 
configuration. As a result, the switch sends an unreachable packet to the sending 
end.
By default, the switch sends the ICMP message "time exceeded" to the network 
management system
Example
# Configure that the switch sends the ICMP message "time exceeded" to the 
network management system when the switch receives an IP packet whose TTL is 
less than or equal to 1.