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

GigaX2024B/M L2 Managed Switch CLI Manual
207
18.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 Configure terminal 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
show running-config
Default
Description
This command sets the ip route in this system
Examples
ASUS(config)#ip route 192.192.1.254/24
18.5 ip route A.B.C.D/M (A.B.C.D|INTERFACE)
<1-255>
Syntax
ip route A.B.C.D/M (A.B.C.D|INTERFACE) <1-255>
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
<1-255>
Distance value for this route
Command Mode Configure terminal mode
No/clear
no ip route A.B.C.D/M (A.B.C.D|INTERFACE) <1-255>
Show
show ip route
show running-config
Default
Description
This command sets the ip route in this system with distance