SNR S2989G-48TX-POE — настройка функций безопасности и управления трафиком на коммутаторе [393/553]

Превью страниц Страница 393 / 553
SNR S2989G-8TX-POE Руководство по настройке онлайн [393/553] 747271
S2989G-24TX Operation Manual
Chapter 6 Security Function Configuration
6-120
Bind a policy to the port:
switch(config)#in e 1/0/1
switch(config-if-ethernet1/0/1)#service-policy output 1
Example2:
On the egress of vlan10, change cos value as 4 for the packet with ipv6 dscp value of
7.
Create a class map:
switch(config)#class-map 1
switch(config-classmap-1)#match ipv6 dscp 7
switch(config-classmap-1)#exit
Create a policy map:
switch(config)#policy-map 1
switch(config-policymap-1)#class 1
switch(config-policymap-1-class-1)#set cos 4
switch(config-policymap-1-class-1)#exit
switch(config-policymap-1)#exit
Bind a policy to VLAN
switch(config)#service-policy output 1 vlan 10
Example 3:
In egress of port 1, limit the speed of packets. Set the bandwidth for packets to 1 Mb/s,
with the normal burst value of 1 MB, the max burst value of 4 MB, set dscp value of 1 as
10 for green packets, set dscp value of yellow packets as 9 and drop red packets.
Create a class map
switch(config)#class-map c1
switch(config-classmap-c1)#match ip dscp 1
switch(config-classmap-c1)#exit
Create a policy map
switch(config)#policy-map p1
switch(config-policymap-p1)#class c1
switch(config-policymap-p1-class-c1)#policy 1000 1000 4000 action
policied-dscp-exp-to-dscp-transmit violate-action drop
switch(config-policymap-p1-class-c1)#exit
switch(config-policymap-p1)#exit
Set Egress dscp remark mapping

Содержание

666

Узнайте, как настроить функции безопасности и управление трафиком на коммутаторе. Пошаговые инструкции по созданию классов и политик для управления трафиком.