debug get-global-ip

This command discovers and displays the device's public-facing IP address as seen by external internet services. The device queries the ident.me web service via an HTTP request to determine its externally visible IP address.

Syntax

MSBR:
debug get-global-ip source data [source-address] interface <Interface><Number>
Mediant 500Li, Mediant 800Ci, MP-5xx:
debug get-global-ip network-source <Interface Name>

Command

Description

source data [source-address] interface

Source interface, for example, gigabitethernet 0/0.

network-source <Interface Name>

Source interface, for example, gigabitethernet 0/0.

Command Mode

Basic and Privileged User

Example

The following outputs the exposed public IP address that's associated with interface "MyIfx":

debug get-global-ip network-source "MyIfx"