22 ip route configuration, 1 ip forwarding, 2 ip route a.b.c.d a.b.c.d (a.b.c.d|interface) – Asus GigaX3124 User Manual
Page 284

GigaX3124 Layer3 Switch CLI Command Reference
259
22 IP Route Configuration:
22.1 ip forwarding
Syntax
ip forwarding
Parameters
forwarding Enable IP forwarding
Command Mode Global configuration mode
No/clear
no ip forwarding
Show
show ip forwarding
Default
IP forwarding is default on
Description
This command will turn on IP forwarding function
Examples
ASUS(config)# ip forwarding
22.2 ip route A.B.C.D A.B.C.D
(A.B.C.D|INTERFACE)
Syntax
ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE)
Parameters
route Establish static routes
A.B.C.D IP destination prefix
A.B.C.D IP destination prefix mask
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 A.B.C.D (A.B.C.D|INTERFACE)
Show
show ip route
show running-config
Default
Description
This command sets the static ip route in this system
Examples
ASUS(config)# ip route 192.192.5.0 255.255.255.0 vlan2
ASUS(config)# ip route 192.192.5.0 255.255.255.0
192.192.1.254