ES-2024 Series User’s Guide
229 Chapter 32 Configuration Mode Commands
Syntax:
spq
wrr
wrr <wt1><wt2> ... <wt4>
where
An example is shown next.
• Set the queueing method to SPQ.
32.8 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
spq
= Sets the queuing method to SPQ (Strictly Priority Queuing).
wrr
= Sets the queuing method to WRR (Weighted Round Robin).
wrr <wt1><wt2> ...
<wt4>
= You may want to configure weights for specific queues on
the switch if you use WRR..
sysname(config)# spq
<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.