SNR S2989G-48TX-RPS — настройка и диагностика сетевых политик для портов [456/553]

Превью страниц Страница 456 / 553
SNR S2989G-24TX-POE [456/553] Copp configuration examples
S2989G-24TX Operation Manual
Chapter 8 Debugging and Diagnosis Configuration
8-9
drop
no drop
transmit
no transmit
Choose dropping or transmitting for the
classified flow. The no command cancels it.
4. Apply to the port
Command
Explanation
Port Configuration Mode
service-policy output <policy-map
name>
no service-policy output
<policy-map-name>
Apply a policy map to the egress of the port.
The no command deletes the policy map.
8.4.3
COPP Configuration Examples
PC1:192.168.1.1
mac:00-00-11-22-33-43
PC2:192.168.2.1
mac:00-00-11-22-33-44
Vlan1:192.168.1.3
Switch-3
Vlan2:192.168.2.3
Vlan1:192.168.1.1
Vlan2:192.168.2.1
ethernet1/0/1
Vlan2:192.168.2.2
Switch-1
Figure 8-1 COPP function
Switch-2
Example 1: Configure the COPP policy map on ethernet1/0/1 of Switch-1, limit the
packets in 192.168.1.0 as 10pps, and configure the burst threshold as 20pps. Drop all the
packets whose bandwidth exceeds the value.
Configuration steps:
Switch#config
Switch(config)#access-list 1 permit 192.168.1.0 0.0.0.255

Содержание

666

Изучите, как настраивать и диагностировать сетевые политики для портов, включая управление трафиком и примеры конфигурации. Оптимизируйте производительность сети.