Configuring IP Addressing

IP Configuration

CLI: Configuring IP Address, Gateway, and Time-To- Live (TTL)

IP Commands Used in This Section

Page

show ip

7-7

show ip secondary

7-10

ip address /< mask-length mask-bits >

7-8

ip address /< mask-length mask-bits> secondary

7-9

ip default-gateway

7-11

ip ttl

7-11

 

 

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 5300XL

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

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

7-7