IP Addressing,

Access, and

Configuring

Interface

 

 

Configuring IP Addressing, Interface Access, and System Information

IP Configuration

Viewing the Current IP Configuration. The following command displays the IP addressing for each VLAN configured in the switch. If only the DEFAULT_VLAN exists, then its IP configuration applies to all ports in the switch. Where multiple VLANs are configured, the IP addressing is listed per VLAN. The display includes switch-wide packet time-to-live, and (if config- ured) the switch’s default gateway and Timep configuration.

Syntax: show ip

For example, in the factory-default configuration (no IP addressing assigned), the switch’s IP addressing appears as:

The Default IP Configuration on a Switch 2512 or 2524

Figure 5-2. Example of the Switch’s Default IP Addressing

With multiple VLANs and some other features configured, show ip provides additional information:

A Switch 2512 or 2524 with IP Addressing and VLANs Configured

Figure 5-3. Example of Show IP Listing with Non-Default IP Addressing Configured

(If DHCP/Bootp acquires an IP address and Subnet Mask for VLAN_2, they will appear in the appropriate columns.)

5-8