SROS Command Line Interface Reference Guide
Loopback Interface Configuration Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
1039
ip address
<address> <mask>
[secondary]
Use the
ip address
command to define an IP address on the specified interface. Use the optional keyword
secondary
to define a secondary IP address. Use the
no
form of this command to remove a configured IP
address.
Syntax Description
<address>
Defines the IP address for the interface in dotted decimal notation (for example:
192.168.73.101).
<mask>
Specifies the subnet mask that corresponds to the listed IP address.
secondary
Optional. Configures a secondary IP address for the specified interface.
Default Values
By default, there are no assigned IP addresses.
Functional Notes
Use secondary IP addresses to allow dual subnets on a single interface (when you need more IP
addresses than the primary subnet can provide). When using secondary IP addresses, avoid routing loops
by verifying that all devices on the network segment are configured with secondary IP addresses on the
secondary subnet.
Usage Examples
The following example configures a secondary IP address of
192.22.72.101/30
:
ProCurve(config)#
interface loopback 1
ProCurve(config-loop 1)#
ip address 192.168.72.101 255.255.255.252 secondary
To view configured secondary IP address(es), use the
show running-config
command. Secondary IP
address information is not available through other
show
commands.