GigaX2024B/M L2 Managed Switch CLI Manual
Command Mode Configure terminal mode
No/clear
Show
Default
Description
Examples
18.3 i p r o u t e A . B . C . D A . B . C . D
(A.B.C.D|INTERFACE) <1-255>
Syntax
Parameters
Command Mode Configure terminal mode
No/clear
Show
Default
Description
Examples
206
A.B.C.D
A.B.C.D
INTERFACE
no ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE)
show ip route
show ip route A.B.C.D
show running-config
This command sets the ip route in this system
ASUS(config)#ip route 192.192.1.254 255.255.255.0
ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE) <1-255>
route
A.B.C.D
A.B.C.D
A.B.C.D
INTERFACE
<1-255>
no ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE) <1-255>
show ip route
show running-config
This command sets the ip route in this system with distance
value for this route.
ASUS(config)#ip route 192.192.1.254 255.255.255 10
IP destination prefix mask
IP gateway address
IP gateway interface name
Establish static routes
IP destination prefix
IP destination prefix mask
IP gateway address
IP gateway interface name
Distance value for this route