mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
quick-start: remove QoS chapter
QoS is explained in a dedicated chapter and should not below to a real VyOS quick-start guide as it's an advanced topic.
This commit is contained in:
parent
a306589c50
commit
a6653cbb0e
@ -167,34 +167,6 @@ Commit changes, save the configuration, and exit configuration mode:
|
||||
vyos@vyos$
|
||||
|
||||
|
||||
QoS
|
||||
###
|
||||
|
||||
One common use of :ref:`qos` is to limit bandwidth for an interface. In
|
||||
the example below we limit bandwidth for our internal/LAN connection to 200
|
||||
Mbit/s download and our outside/WAN connection to 50 Mbit/s upload:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
set traffic-policy shaper WAN-OUT bandwidth '50Mbit'
|
||||
set traffic-policy shaper WAN-OUT default bandwidth '50%'
|
||||
set traffic-policy shaper WAN-OUT default ceiling '100%'
|
||||
set traffic-policy shaper WAN-OUT default queue-type 'fair-queue'
|
||||
|
||||
set traffic-policy shaper LAN-OUT bandwidth '200Mbit'
|
||||
set traffic-policy shaper LAN-OUT default bandwidth '50%'
|
||||
set traffic-policy shaper LAN-OUT default ceiling '100%'
|
||||
set traffic-policy shaper LAN-OUT default queue-type 'fair-queue'
|
||||
|
||||
Once defined, a traffic policy needs to be applied to each interface using the
|
||||
interface-level traffic-policy directive:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
set interfaces ethernet eth0 traffic-policy out 'WAN-OUT'
|
||||
set interfaces ethernet eth1 traffic-policy out 'LAN-OUT'
|
||||
|
||||
|
||||
Security Hardening
|
||||
##################
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user