Other ip commands, Other ip commands -151, Other ip commands ip address – Enterasys Networks X-Pedition XSR CLI User Manual

Page 227

Advertising
background image

Other IP Commands

XSR CLI Reference Guide 5-151

Example

This example adds a permanent ARP entry for the IP address 130.2.3.1 and sets the timeout at 
hours
 (18,000 seconds) as shown in 

Figure 5‐4

:

XSR(config)#arp 130.2.3.1 0003.4712.7a99
XSR(config)#arp-timeout 18000

Figure 5-4 ARP Timeout Example

Other IP Commands

ip address

This command sets a primary or secondary IP address on an interface. Secondary IP addresses are 
allowed on FastEthernet interfaces only. Setting the IP address enables and removing it disables 
the interface. Before a secondary IP address can be configured, the primary IP address should be 
configured, and before the primary IP address can be removed, the secondary IP addresses should 
be removed. This command supports Classless Inter‐Domain Routing (CIDR).

Syntax

ip address {address mask | address&mask | negotiated}{secondary]

Syntax of the “no” Form

The no form of this command removes specified IP addresses:

no ip address {address mask | address&mask | negotiated}{secondary]

Router 1

Host 1

130.2.3.0/24

130.2.3.2

130.2.3.3

130.2.3.1

Host 2

Note: When you are routing using the Open Shortest Path First (OSPF) algorithm, be sure that all
secondary addresses on an interface fall into the same OSPF area as the primary addresses.

address

IP address of the interface.

net-mask

Network mask for the configured IP address.

address&
mask

Address/mask in format A.B.C.D./m, where A.B.C.D. is the address, and m is 
the number of bits set to 1 in the mask.

negotiated

IP address negotiated over PPP. BRI, loopback, Fast/ GigabitEthernet and 
secondary IP interfaces are not supported.

secondary

A secondary IP address. If keyword is omitted, the configured address is the 
primary IP address. Secondary is required to add or remove such an address.

Advertising