Manual
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 prex
.B.C.D IP destination prex mask
A.B.C.D IP gateway address
INTERFACE IP gateway interface name
<1-255> Distance value for this route
Command Mode Global conguration 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-cong
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(cong)# 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 prex (e.g. 10.0.0.0/8)
A.B.C.D IP gateway address
INTERFACE IP gateway interface name
Command Mode Global conguration 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