Command Reference Guide

SROS Command Line Interface Reference Guide Ethernet Interface Configuration Command Set
5991-2114 © Copyright 2005 Hewlett-Packard Development Company, L.P. 454
ip address <address> <mask> secondary
Use the ip address command to define an IP address on the specified interface (only one primary address
is allowed). Use the optional secondary keyword 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.22.73.101).
<mask> Specifies the subnet mask that corresponds to the listed IP address.
secondary Optional keyword used to configure secondary IP addresses for the specified
interface. Multiple secondary IP addresses may be assigned (no limit).
Default Values
By default, there are no assigned IP addresses.
Command Modes
(config-interface)# Interface Configuration Mode required (applies to all physical interfaces as well as
virtual interfaces)
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:
(config)#interface ethernet 0/1
(config-eth 0/1)#ip address 192.22.72.101 255.255.255.252 secondary