1. Configure os classificadores de trafego (traffig classifiers) no switch para classificar pacotes baseados em VLAN


[Switch] traffic classifier Cliente01

[Switch-classifier-Cliente01] if-match vlan-id 120

[Switch-classifier-Cliente01] quit



2. Configure traffic behaviors  no switch para limitar a velocidade dos pacotes e remarcar prioridades DSCP do pacote


[Switch] traffic behavior Cliente01

[Switch-behavior-Cliente01] car cir 358400 pir 358400

[Switch-behavior-Cliente01] statistic enable

[Switch-behavior-Cliente01] quit



3. Configure a politica de trafego no swithc, ligando traffic behaviors e traffic classifiers


[Switch] traffic policy Cliente01

[Switch-policy-Cliente01] classifier Cliente01 behavior Cliente01

[Switch-policy-Cliente01] quit



4. Aplicar a politica de trafego à interface do switch onde esta conectada a rede.


[Switch] interface gigaethernet 1/1/1

[Switch-gigaethernet1/1/1] traffic-policy Cliente01 inbound

[Switch-gigaethernet1/1/1] quit



OBS.: Caso precise apenas alterar velocidades (Downgrade ou Upgrade) do circuito:


1. Localize as o controle de banda (traffic behavior) do cliente:

[Switch] display traffic behavior user-defined

 User Defined Behavior Information:

    Behavior: Cliente01

      Committed Access Rate:

        CIR 358400 (Kbps), CBS 44800000 (Byte)  # -> CIR atual

        PIR 358400 (Kbps), PBS 44800000 (Byte)  # -> PIR atual

        Green Action   : pass

        Yellow Action  : pass

        Red Action     : discard

      Statistic: enable

    Behavior: SVC.10.39.1028

      Committed Access Rate:

        CIR 1228800 (Kbps), CBS 6400000 (Byte)

        PIR 1228800 (Kbps), PBS 6400000 (Byte)

        Green Action   : pass

        Yellow Action  : pass

        Red Action     : discard


Total behavior number is 2


2. Edite as configurações de velocidade (behavior) declarando a nova velocidade:

[Switch] traffic behavior Cliente01

[Switch-behavior-Cliente01] car cir 512000 pir 512000

[Switch-behavior-Cliente01] quit

 


# Não esqueça de sempre salvar ao finalizar as configurações