CLI Reference
IP Routing Configuration Commands
weight of the static route is 1. To view the static route of non default
weight, execute the
show ip route weight
command. The parameter
weight is used to enable WCMP. When there are load-balanced
routes to the destination, the device assigns data flows by their
weights. The higher the weight of a route is, the more data flows the
route carries. WCMP limit is generally 32 for routers. However,
WCMP limit varies by switch models for their chipsets support
different weights. When the sum of the weights of load balanced
routes is beyond this weight limit, the excessive ones will not take
effect.
Enablement/disablement shows the state of the static route.
Disablement means the static route is not used for forwarding. The
forwarding table used the permanent route until administrator deletes
it.
When you configure the static route on an Ethernet interface, do not
set the next hop as an interface, for example, ip route 0.0.0.0 0.0.0.0
Fastethernet 0/0. In this case, the switch may consider that all
unknown destination networks are directly connected to the
Fastethernet 0/0. So it sends an ARP request to every destination
host, which occupies many CPU and memory resources. It is not
recommended to set the static route to an Ethernet interface.
The S2600-I series products support up to 32 IPv4 static
routes.
The IPv4 static route supports only the default route with the
mask being 0, and the host route with the mask being 32.
Examples
The following example configures a default route whose next hop is
192.168.12.1.
Ruijie(config)# ip route 0.0.0.0 0.0.0.0 192.168.12.1
If the static route has not a specific interface, data flows may be sent
thought other interface in case of interface failure. The following
example configures that data flows are sent through fastehternet 0/0
to the destination network of 172.16.100.0/24.
ip route 172.16.199.0 255.255.255.0 fastethernet 0/0 192.168.12.1
Related
commands
N/A
Summary of Contents for RG-S2600G-I Series
Page 1: ...1 CLI Reference Guide RG S2600G I Series Switches RGOS 10 4 3b16...
Page 5: ...5...
Page 505: ...CLI Reference TCP Configuration Commands Related commands Command Description...
Page 514: ...IP Routing Configuration Commands 1 IP Routing Configuration Commands...
Page 642: ...CLI Reference TACACS Configuration Commands host...
Page 652: ...CLI Reference 802 1X Configuration Commands Ruijie config if end...
Page 776: ...CLI Reference ND Snooping Configuration Commands...
Page 901: ...CLI Reference NFPP Configuration Commands...
Page 902: ...ACL QOS Configuration Commands 1 ACL Configuration Commands 2 QoS Configuration Commands...
Page 999: ...CLI Reference RLDP Configuration Command Command mode Privileged EXEC mode...
Page 1005: ...CLI Reference DLDP Configuration Commands...
Page 1191: ...CLI Reference Guide RSPAN Configuration Commands Platform Description N A...
Page 1192: ...CLI Reference Guide...