Example
This example adds a permanent ARP entry for the IP address 130.2.3.1 and sets the timeout at 5
hours (18,000 seconds) as shown in Figure
XSR(config)#arp 130.2.3.1 0003.4712.7a99
XSR(config)#arp-timeout 18000
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]
address
net-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]
Figure 5-4
Host 1
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.
IP address of the interface.
Network mask for the configured IP address.
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.
IP address negotiated over PPP. BRI, loopback, Fast/ GigabitEthernet and
secondary IP interfaces are not supported.
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.
5‐4:
ARP Timeout Example
130.2.3.0/24
130.2.3.1
130.2.3.3
Other IP Commands
130.2.3.2
Host 2
Router 1
XSR CLI Reference Guide 5-151