Configuring IP Addressing

IP Configuration

CLI: Configuring IP Address, Gateway, and Time-To-Live (TTL)
IP Commands Used in This Section

Page

 

 

show ip

8-7

ip address < mask-length>

8-8,8-9

ip address /< mask-bits>

8-8,8-9

ip default-gateway

8-10

ip ttl

8-11

 

 

Viewing the Current IP Configuration.Syntax: show ip

This 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 configured) the switch’s default gateway and Timep configuration.

(You can also use the show management command to display the IP addressing and time server IP addressing configured on the switch. Refer to figure

9-6on page 9-11.)

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

The Default IP

Configuration

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

8-7