Ip route – Enterasys Networks X-Pedition XSR CLI User Manual
Page 239
Other IP Commands
XSR CLI Reference Guide 5-163
Syntax of the “no” Form
The no form of this command negates IP redirection:
no ip redirects
Default
Enabled
Mode
Global configuration:
XSR(config)#
Example
In the following example, IP redirection is disabled:
XSR(config)#no ip redirects
ip route
This command configures a static IP route.
Syntax
ip route {A.B.C.D. mask} | {address&mask}{address |interface-type #}}[distance]}
Syntax of the “no” Form
This command’s no form removes a static route from the routing table:
no ip route {A.B.C.D. mask}|{address&mask}{address |interface-type #}}[distance]}
If neither next hop, nor distance is cited, all static routes identified by the pair {prefix, mask} are
deleted.
Note: The XSR supports a maximum of 50 static routes with 64 MBytes of memory installed.
A.B.C.D.
The IP route prefix for the static route destination.
mask
The prefix mask for the static route destination.
address&
mask
The forwarding router’s IP address and mask, expressed as A.B.C.D./N where
A.B.C.D. is the address and N is the number of set bits in the mask..
address
The forwarding router’s IP address.
interface-
type #
The IP network interface: ATM, Dialer, Fast/GigabitEthernet, Loopback, Multilink,
null, or VPN.
number
Identifies the card and port number: <1‐2>/<0‐0>, or the card, port and sub‐
interface number: <1‐2>/<0‐0>.<1‐64>
distance
Administrative metric (preference). Range: ATM (1 to255), BRI (1 to 240),
Dialer (0 to 253), Fast/GigabitEthernet (1 to 240), Loopback (1 to 240), Multilink
(1‐240), and Serial (1 to 120). Only static routes identified by the pair {prefix,
mask}, and matching this distance are deleted.