6 static route commands – ZyXEL Communications ZyXEL Dimension ES-2108 User Manual
Page 226

ES-2108 Series User’s Guide
226
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 route
-> [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
=
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
=
Specifies the network IP address of the final destination.
=
Specifies the subnet mask of this destination.
=
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
=
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
=
Specifies a descriptive name (up to 32 printable ASCII
characters) for identification purposes.
[inactive]
=
Deactivates a static route