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
Содержание RG-S2600G-I Series
Страница 1: ...1 CLI Reference Guide RG S2600G I Series Switches RGOS 10 4 3b16...
Страница 5: ...5...
Страница 192: ...CLI ReferenceInterface Configuration Commands Interface Configuration Commands Platform Description...
Страница 452: ...CLI Reference DHCP Configuration Commands commands clear ip dhcp server statistics Delete the DHCP server statistics...
Страница 505: ...CLI Reference TCP Configuration Commands Related commands Command Description...
Страница 513: ...CLI Reference IPv4 REF Configuration Commands Platform description N A Command history Version Description...
Страница 514: ...IP Routing Configuration Commands 1 IP Routing Configuration Commands...
Страница 527: ...Multicast Configuration Commands 1 IGMP Snooping Configuration Commands 2 MLD Snooping Configuration Commands...
Страница 642: ...CLI Reference TACACS Configuration Commands host...
Страница 652: ...CLI Reference 802 1X Configuration Commands Ruijie config if end...
Страница 744: ...CLI Reference CPU Protection Configuration Commands Caution This command is not supported on S3760 series...
Страница 773: ...CLI Reference IPSource Guard Configuration Commands Platform description This command is supported on all switches...
Страница 776: ...CLI Reference ND Snooping Configuration Commands...
Страница 901: ...CLI Reference NFPP Configuration Commands...
Страница 902: ...ACL QOS Configuration Commands 1 ACL Configuration Commands 2 QoS Configuration Commands...
Страница 999: ...CLI Reference RLDP Configuration Command Command mode Privileged EXEC mode...
Страница 1004: ...CLI Reference DLDP Configuration Commands Ruijie config if FastEthernet 0 0 clear dldp 20 1 1 1 10 1 1 1...
Страница 1005: ...CLI Reference DLDP Configuration Commands...
Страница 1146: ...CLI Reference VSU Configuration Commands Examples Ruijie vsu conver to stack Related Commands Command Description N A N A...
Страница 1191: ...CLI Reference Guide RSPAN Configuration Commands Platform Description N A...
Страница 1192: ...CLI Reference Guide...