F3215-HP Load Balancing Module Network Management Command Reference-6PW101

138
Field Descri
p
tion
Type
Type of domain name server:
S—A manually configured DNS server.
D—A DNS server obtained dynamically through DHCP.
IP Address IPv4 address of the DNS server.
Related commands
dns server
display ip host
Use display ip host to display the host names and corresponding IPv4 addresses in the static domain
name resolution table.
Syntax
display ip host [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see System Management Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the host names and corresponding IPv4 addresses in the static domain name resolution table.
<Sysname> display ip host
Host Age Flags Address
My 0 static 1.1.1.1
Aa 0 static 2.2.2.4
Table 32 Command output
Field Descri
p
tion
Host Host name.
Age
Time to live. The value of 0 means that the static mapping never ages out.
You can only manually remove the static mappings between host names and
IPv4 addresses.
Flags
Indicates the mapping type.
Static represents static IPv4 domain name resolution.