SROS Command Line Interface Reference Guide

HDLC Command Set

 

 

ip address <address> <mask> secondary

Use the ip address command to define an IP address on the specified interface. 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 a secondary IP address for the specified

 

interface.

Default Values

By default, there are no assigned IP addresses.

Command Modes

(config-interface)#

Interface Configuration Mode

 

Valid interfaces include: Ethernet (eth 0/1), virtual PPP interfaces (ppp 1), virtual

 

HDLC interfaces (hdlc 1), virtual Frame Relay sub-interfaces (fr 1.20), tunnel

 

interfaces (tunnel 1), and VLAN interface (vlan 1).

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)#hdlc 1

(config-hdlc 1)#ip address 192.22.72.101 255.255.255.252 secondary

5991-2114

© Copyright 2005 Hewlett-Packard Development Company, L.P.

825

Page 825
Image 825
HP 7000 dl Router manual Copyright 2005 Hewlett-Packard Development Company, L.P 825