< Home

display geo-ip

Function

The display geo-ip command displays the location of an IP address.

Format

display geo-ip ip-address

Parameters

Parameter Description Value
ip-address Specifies the IP address whose location you need to query. The value is in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If the IP address is added to both a predefined and a user-defined region, the user-defined region is displayed.

Example

# Display the location of IP address 1.2.2.1.

<sysname> display geo-ip 1.2.2.1             
 IP ADDRESS      LOCATION                            
 --------------------------------------------------- 
 1.2.2.1         BeiJing                             
 ---------------------------------------------------  
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >