Manual
GigaX3124 Layer3 Switch CLI Command Reference
259
22 IPRouteConguration:
22.1 ip forwarding
Syntax ip forwarding
Parameters forwarding Enable IP forwarding
Command Mode Global conguration 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(cong)# 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 prex
A.B.C.D IP destination prex mask
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 A.B.C.D (A.B.C.D|INTERFACE)
Show show ip route
show running-cong
Default
Description This command sets the static ip route in this system
Examples ASUS(cong)# ip route 192.192.5.0 255.255.255.0 vlan2
ASUS(cong)# ip route 192.192.5.0 255.255.255.0
192.192.1.254