No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display ip pool

display ip pool

Function

The display ip pool command displays the configurations of an address pool.

Format

display ip pool

display ip pool interface interface-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ]

display ip pool name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used [ user-type { dhcp | pppoe | l2tp | ipsec | ssl-vpn | ppp } ] ]

Parameters

Parameter Description Value
interface interface-pool-name Displays the configuration of the specified interface address pool.
NOTE:

An interface address pool is specified using the type and number of an interface without spaces between them.

The interface address pool must exist on the device.
name ip-pool-name Displays the configuration of the specified global address pool. The global address pool must exist on the device.
start-ip-address [ end-ip-address ]

Displays the IP addresses within the range specified by the start IP address in the address pool.

If end-ip-address is set, the end IP address is also specified.

The value is in dotted decimal notation.
all Displays all IP addresses in the address pool. -
conflict

Displays the conflicting IP addresses in the address pool. (If an IP address that the DHCP server prepares to allocate to a user exists on the network, the IP address will be added to the conflict list. This problem occurs when a static IP address is configured or an active/standby switchover occurs in a VRRP group if the range of IP addresses in the address pools on the master and backup devices overlap.)

-
expired Displays the expired and idle IP addresses in the address pool. -
used [ user-type { dhcp | pppoe | l2tp | ipsec | ssl-vpn | ppp } ]
Display the IP addresses used in the address pool by the specific type of users.
  • Select dhcp, to specify the users who obtain IP addresses by DHCP.
  • Select pppoe, to specify the users who obtain IP addresses by PPPoE dial-up.
  • Select l2tp, to specify the L2TP users.
  • Select ipsec, to specify the IPSec users.
  • Select ssl-vpn, to specify the SSL VPN users.
  • Select ppp, to specify the PPP users.
-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ip pool command to view information about a configured address pool and IP addresses in the address pool, including the address pool name, lease, lock status, and status of IP addresses in the address pool.

Example

# Display information about conflicting IP addresses in the address pool huawei.

<Huawei> display ip pool name huawei conflict                                               
  Pool-name        : huawei                                                        
  Pool-No          : 1                                                          
  Lease            : 1 Days 0 Hours 0 Minutes                                   
  Domain-name      : -                                                          
  Option-code      : 60                                                         
    Option-subcode : --                                                         
    Option-type    : cipher                                                     
    Option-value   : %^%#5g)NPN1M,$M;pQ-lT\P>Al6QN4#ldIVVjD69XlCN%^%#           
  DNS-server0      : -                                                          
  NBNS-server0     : -                                                          
  Netbios-type     : -                                                          
  Position         : Local           
  Status           : Unlocked              
  Gateway-0        : -                                                          
  Network          : 192.168.0.0                                                   
  Mask             : 255.255.255.0                                              
  Bootfile         : 43534                                                      
  Logging          : Enable                                                     
  Conflicted address recycle interval: 1 Days 0 Hours 0 Minutes                 
  Address Statistic: Total       :254       Used        :1                      
                     Idle        :252       Expired     :2                       
                     Conflict    :1         Disabled    :0                      
                                                                                
 -------------------------------------------------------------------------------
  Network section                                                               
         Start           End       Total    Used Idle(Expired) Conflict Disabled
 -------------------------------------------------------------------------------
     192.168.0.1   192.168.0.254     254       1        252(2)       1     0    
 -------------------------------------------------------------------------------
 Client-ID format as follows:                                                   
   DHCP  : mac-address                 PPPoE   : mac-address                    
   IPSec : user-id/portnumber/vrf      PPP     : interface index                
   L2TP  : cpu-slot/session-id         SSL-VPN : user-id/session-id             
 -------------------------------------------------------------------------------
  Index              IP             Client-ID    Type       Left   Status       
 -------------------------------------------------------------------------------
    109   192.168.0.110                     -       -          -   Conflict     
 -------------------------------------------------------------------------------
Table 6-56  Description of the display ip pool command output

Item

Description

Pool-name

Name of an IP address pool.

To configure the IP address pool name, run the ip pool (system view) command.

Pool-No Index of the IP address pool.
Lease

Lease of the IP address pool.

To configure the lease of the IP address pool, run the lease command.

Domain-name

Name of a domain.

To configure the domain name, run the domain-name command.

Option-code

Value of a customized option.

To configure the value, run the option command.

Option-subcode

Value of a customized sub-option.

To configure the value, run the option command.

Option-type
Type of a customized option code:
  • ascii: indicates that the customized option code is an ASCII character string.
  • hex: indicates that the customized option code is a hexadecimal string.
  • cipher: indicates that the customized option code is a ciphertext character string.

To configure the type, run the option command.

Option-value

Content of a customized option.

To configure the content, run the option command.

DNS-server0

Address of the DNS server. Currently, an IP address pool can be configured with up to eight DNS servers. The value 0 indicates the first DNS server address and the value 1 indicates the second DNS server address.

To configure the DNS server address, run the dns-list command.

NBNS-server0

Address of the NetBIOS server. Currently, an address pool can be configured with up to eight NetBIOS server addresses. The value 0 indicates the first NetBIOS server address.

To configure the NetBIOS server address, run the nbns-list command.

Netbios-type

NetBIOS type.

To configure the NetBIOS type, run the netbios-type command.

Position Location of the IP address pool.
Status ( First )

Status of the address pool.

To configure the address pool status, run the lock (IP address pool view) command.

Gateway-0

Gateway address. Currently, a maximum of eight gateway addresses can be configured in an IP address pool. The value 0 indicates the first gateway address.

To configure the gateway address, run the gateway-list command.

Network Network segment of the address pool.
Mask

Subnet mask of the address pool.

To configure the subnet mask of the address pool, run the network (IP address pool view) command.

Bootfile

Name of the startup configuration file configured for the DHCP client.

To configure the name, run the bootfile command.

Logging
Status of the logging function when the DHCP server allocates IP addresses.
  • Enable
  • Disable

To configure the status of the logging function, run the logging or dhcp server logging command.

Conflicted address recycle interval

The interval for the automatic reclaim of conflicting IP addresses in the address pool.

To configure the status of the logging function, run the conflict auto-recycle interval day day [ hour hour [ minute minute ] ] command.

Address Statistic Statistics about IP addresses in the address pool.
Start Start IP address of the IP address pool.
End End IP address of the IP address pool.
Total

Total number of IP addresses in the address pool.

Total = Used + Idle(Expired) + Conflict + Disable

Used Number of used IP addresses in the address pool.
Idle(Expired) Number of idle(expired) IP addresses in the address pool.
Conflict Number of conflicting IP addresses in the address pool.
Disabled Number of disabled IP addresses in the address pool.
Client-ID format as follows
Client ID format:
  • DHCP: mac-address. The client ID format of DHCP users is a MAC address.
  • PPPoE: mac-address. The client ID format of PPPoE users is a MAC address.
  • IPSec: user-id/portnumber/vrf. The client ID format of IPSec users is a user ID, port number, or VPN index.
  • PPP: interface index. The client ID format of PPP users is an interface index.
  • L2TP: cpu-slot/session-id. The client ID format of L2TP users is a CPU ID-slot ID or session ID.
  • SSL-VPN: user-id/session-id. The client ID format of SSL-VPN users is a user ID or session ID.
Index Index.
IP IP address.
Client-ID DHCP client ID.
Type DHCP client type. The types include DHCP, PPPoE, IPSec, PPP, L2TP, and SSL-VPN.
Left Remaining lease of an IP address.

When the result of the calculation formula ([Lease - Left]/Lease) is 50% or 87.5%, the DHCP client sends a DHCP Request message to the DHCP server to renew the lease. If the renewal succeeds, the value of the Left field is recounted. If the renewal fails, the DHCP client requests an IP address again and the status of its original IP address is set to Expired.

Status ( Second )

Status of an IP address:

  • Used: indicates that the IP address is used.
  • Idle: indicates that the IP address is idle.
  • Expired: indicates that the lease of the IP address expires and the IP address is idle.
  • Conflict: indicates that the IP address conflicts with another IP address on the network.
  • Disable: indicates that the IP address cannot be used.
  • Static-bind: indicates that the IP address is bound to a MAC address.
  • Static-bind used: indicates that the IP address is bound to a MAC address and used.
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 211676

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next