
ES-2108 Series User’s Guide
224 Chapter 32 Configuration Mode Commands
where
An example is shown next.
• Set the queueing method to WRR.
• Set the weights for queues 1 to 4 with the values 10, 8, 6 and 4 respectively.
32.6 Static Route Commands
You can create and configure static routes on the switch by using the ip route command.
Syntax:
ip route <ip> <mask> <next-hop-ip>
ip route <ip> <mask> <next-hop-ip> [metric <metric>][name <name>]
-> [inactive]
where
An example is shown next.
spq
= Sets the queuing method to SPQ (Strictly Priority Queuing).
wrr
= Sets the queuing method to WRR (Weighted Round Robin).
wrr <wt1> <wt2>
<wt3> <wt4>
= Sets the weights for the queues 1 to 4. Weight can be from 1-
15.
sysname(config)# wrr
sysname(config)# wrr 10 8 6 4
<ip>
= Specifies the network IP address of the final destination.
<mask>
= Specifies the subnet mask of this destination.
<next-hop-ip>
= Specifies the IP address of the gateway. The gateway is an
immediate neighbor of your switch that will forward the
packet to the destination. The gateway must be a router on
the same segment as your switch.
[metric <metric>]
= The metric represents the “cost” of transmission for routing
purposes. IP routing uses hop count as the measurement of
cost, with a minimum of 1 for directly connected networks.
Enter a number that approximates the cost for this link. The
number need not be precise, but it must be between 1 and
15. In practice, 2 or 3 is usually a good number.
[name <name>]
= Specifies a descriptive name (up to 32 printable ASCII
characters) for identification purposes.
[inactive]
= Deactivates a static route