HP (Hewlett-Packard) 2510G Switch User Manual


 
8-7
Configuring IP Addressing
IP Configuration
CLI: Configuring IP Address, Gateway, and Time-To-
Live (TTL)
IP Commands Used in This Section
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:
Figure 8-2. Example of the Switch’s Default IP Addressing
With multiple VLANs and some other features configured, show ip provides
additional information:
show ip page 8-7
vlan <vlan-id> ip
address
page 8-8
ip default-gateway page 8-11
ip ttl page 8-11