Enterasys Networks XSR CLI Router User Manual


 
Other IP Commands
XSR CLI Reference Guide 5-163
Syntax of the “no” Form
ThenoformofthiscommandnegatesIPredirection:
no ip redirects
Default
Enabled
Mode
Globalconfiguration:XSR(config)#
Example
Inthefollowingexample,IPredirectionisdisabled:
XSR(config)#no ip redirects
ip route
ThiscommandconfiguresastaticIProute.
Syntax
ip route {A.B.C.D. mask} | {address&mask}{address |interface-type #}}[distance]}
Syntax of the “no” Form
Thiscommand’snoformremovesastaticroutefromtheroutingtable:
no ip route {A.B.C.D. mask}|{address&mask}{address |interface-type #}}[distance]}
Ifneithernexthop,nordistanceiscited,allstaticroutesidentifiedbythepair{prefix,mask}are
deleted.
Note: The XSR supports a maximum of 50 static routes with 64 MBytes of memory installed.
A.B.C.D.
TheIProuteprefixforthestaticroutedestination.
mask
Theprefixmaskforthestaticroutedestination.
address&
mask
Theforwardingrouter’sIPaddressandmask,expressedasA.B.C.D./Nwhere
A.B.C.D.istheaddressandNisthenumberofsetbitsinthemask..
address
Theforwardingrouter’sIPaddress.
interface-
type #
TheIPnetworkinterface:ATM,Dialer,Fast/GigabitEthernet,Loopback,Multilink,
null,orVPN.
number
Identifiesthecardandportnumber:<12>/<00> ,orthecard,portandsub
interfacenumber:<12>/<00>.<164>
distance
Administrativemetric(preference).Range:ATM(1to255),BRI(1to240),
Dialer(0to253),Fast/GigabitEthernet(1to240),Loopback(1to240),Multilink
(1240),andSerial(1to120).Onlystaticroutesidentifiedbythepair{prefix,
mask},andmatchingthisdistancearedeleted.