4 ip route a.b.c.d/m (a.b.c.d|interface) – Asus GigaX3124 User Manual
Page 285

GigaX3124 Layer3 Switch CLI Command Reference
260
22.3 ip route A.B.C.D A.B.C.D
(A.B.C.D|INTERFACE) <1-255>
Syntax
ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE) <1-255>
Parameters
route Establish static routes
A.B.C.D IP destination prefix
.B.C.D IP destination prefix mask
A.B.C.D IP gateway address
INTERFACE IP gateway interface name
<1-255> Distance value for this route
Command Mode Global configuration mode
No/clear
no ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE)
Show
show ip route
show running-config
Default
The default distance value is 1
Description
This command sets the ip route in this system with distance
value for this route.
Examples
ASUS(config)# ip route 192.192.5.0 255.255.255.0
192.192.1.254 10
22.4 ip route A.B.C.D/M (A.B.C.D|INTERFACE)
Syntax
ip route A.B.C.D/M (A.B.C.D|INTERFACE)
Parameters
route Establish static routes
A.B.C.D/M IP destination prefix (e.g. 10.0.0.0/8)
A.B.C.D IP gateway address
INTERFACE IP gateway interface name
Command Mode Global configuration mode
No/clear
no ip route A.B.C.D/M (A.B.C.D|INTERFACE)
Show
show ip route
show ip route A.B.C.D/M