76
C
10: IP A
HAPTER
DDRESS
Displaying IP Address
IP Address
Configuration
Example
C
ONFIGURATION
Table 56 Configure whether the switch sends unreachable packets
Operation
Configure that the switch
sends an unreachable packet
to the sending end when the
switch receives an IP packet
whose TTL is less than or
equal to 1
After the above configuration, execute the display command in any view to
display the IP addresses configured on interfaces of the network device, and to
verify the effect of the configuration.
Table 57 Display and debug IP address
Operation
Display all hosts on the network and the
corresponding IP addresses
Display the configurations of a VLAN interface display ip interface vlan-interface vlan-id
Network requirements
Configure the IP address as 129.2.2.1 and subnet mask as 255.255.255.0 for the
VLAN interface 1 of the switch.
Network diagram
Figure 16 Network diagram for IP address configuration
Console cable
Console cable
PC
PC
Configuration procedure
# Enter VLAN interface 1.
[SW8800] interface vlan-interface 1
# Configure the IP address for VLAN interface 1.
[3Com-Vlan-interface1] ip address 129.2.2.1 255.255.255.0
Command
undo ip icmp-time-exceed
enable
Command
display ip host
Switch
Switch
Description
-