View Primary IP Addresses for all Router Interfaces
Perform the following procedure to display information about all primary IP interfaces configured on the device.
About this task
This command displays only primary IP interfaces. To view Secondary IP Interfaces, see Display All Configured IP Addresses.
Procedure
Example
Show the primary IP interfaces and addresses on the device:
Switch:1>show ip interface ========================================================================================== IP Interface - GlobalRouter ========================================================================================== INTERFACE IP NET ADMIN OPER VLAN BROUTER IPSEC IP ADDRESS MASK STATUS STATE ID PORT STATE NAME ------------------------------------------------------------------------------------------ Port1/2 192.0.2.1 255.255.255.0 enable up 20 true disable Vlan10 198.51.100.0 255.255.255.0 disable down 10 false disable All 2 out of 2 Total Num of IP interfaces displayed
Variable Definitions
Use the data in the following table to show ip interface command.
Variable |
Value |
---|---|
gigabitethernet |
Displays IP interface information for Gigabit Ethernet ports. |
vrf |
Displays interface information for a particular VRF. |
vrfids |
Displays interface information for particular VRF IDs. |