< Home

display ip host

Function

The display ip host command displays mappings between hosts and IP addresses.

Format

display ip host [ slot slot-id cpu cpu-id ]

Parameters

Parameter Description Value

slot-id

Specifies the slot ID.

Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

-

cpu-id

Specifies the CPU ID.

Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

-

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After configuring static DNS entries, you can run the display ip host command to view the mapping between hosts and IP addresses.

Example

# Display mappings between hosts and IP addresses.

<sysname> display ip host
Host                              Age        Flag   IP Address

exampletest                       0          Static 10.1.1.1

example                           0          Static 10.2.2.2

Total    :  2
Table 1 Description of the display ip host output of the command

Item

Description

Host

Host name.

Age

Aging time.

The value 0 indicates that the static DNS entry need not be aged.

Flag

Status of the domain name.

"Static" indicates the static domain name.

IP Address

IP address matching the host.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >