Enterasys Networks XSR CLI Router User Manual


 
Other IP Commands
XSR CLI Reference Guide 5-151
Example
ThisexampleaddsapermanentARPentryfortheIPaddress130.2.3.1andsetsthetimeoutat5
hours(18,000seconds)asshowninFigure 54:
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
ThiscommandsetsaprimaryorsecondaryIPaddressonaninterface.SecondaryIPaddressesare
allowedonFastEthernetinterfacesonly.SettingtheIPaddressenablesandremovingitdisables
theinterface.Beforeasecondary IPaddresscanbeconfigured,theprimaryIPaddressshouldbe
configured,andbeforetheprimary
IPaddresscanberemoved,thesecondaryIPaddressesshould
beremoved.ThiscommandsupportsClasslessInterDomainRouting(CIDR).
Syntax
ip address {address mask | address&mask | negotiated}{secondary]
Syntax of the “no” Form
ThenoformofthiscommandremovesspecifiedIPaddresses:
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
IPaddressoftheinterface.
net-mask
NetworkmaskfortheconfiguredIPaddress.
address&
mask
Address/maskinformatA.B.C.D./m,whereA.B.C.D.istheaddress,andmis
thenumberofbitssetto1inthemask.
negotiated
IPaddressnegotiatedoverPPP.BRI,loopback,Fast/GigabitEthernetand
secondaryIPinterfacesarenotsupported.
secondary
AsecondaryIPaddress.Ifkeywordisomitted,theconfiguredaddressisthe
primaryIPaddress.Secondaryisrequiredtoaddorremovesuchanaddress.