show ip interface

Shows the IP configuration for an interface.

Syntax

Command Parameters

<1-4059>

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

vrf WORD<1-16>
Specifies the name of the VRF.
vrfids WORD <0-512>
Specifies the VRF ID in the range of 0 to 512.

Default

None

Command Mode

User EXEC

Command Output

The show ip interface command displays the following information:

Output field

Description

INTERFACE

Indicates the slot and port for the management port.

IP ADDRESS

Indicates the IP address for the management port.

NET MASK

Indicates a subnet mask of an IP address.

BCASTADDR FORMAT

Indicates the broadcast address format for the management port.

REASM MAXSIZE

Indicates the size of the largest IP packet that can be reassembled from IP fragmented packets received on the management port.

VLAN ID

Indicates the VLAN ID of the management port.

BROUTER PORT

Indicates whether the management port is a brouter port or a routeable VLAN.

IPSEC STATE

Indicates whether the IPsec policy is enabled on the interface.

IP NAME

Indicates the IP name given to the IP address.

Example

The following example displays the command output.

Switch:1>show ip interface
==========================================================================================
                          IP Interface - GlobalRouter
==========================================================================================
INTERFACE  IP        NET            BCASTADDR  REASM    VLAN  BROUTER  IPSEC    IP
           ADDRESS   MASK           FORMAT     MAXSIZE  ID    PORT     STATE    NAME
------------------------------------------------------------------------------------------
Clip1      1.2.3.4   255.255.0.0    ones       1500     --    false    disable  testing123
Clip2      2.3.4.5   255.255.255.0  ones       1500     --    false    disable  testing451

All 2 out of 2 Total Num of IP interfaces displayed