
146
The following illustration shows an example how to setting CoPP to deny/permit control packets to switch.
4.4.1.
CoPP Configuration Examples
Figure 4-5:CoPP Configuration Topology
1. Create an extended ACL named test and configure rules for the ACL that deny ICMP, telnet and ssh
packets that matches the specified Source IP address (172.16.2.100/24).
(QCT) (Config)#ip access-list test
(QCT) (Config-ipv4-acl)#deny icmp 172.16.2.100 0.0.0.255 any
(QCT) (Config-ipv4-acl)#deny tcp 172.16.2.100 0.0.0.255 any eq 22
(QCT) (Config-ipv4-acl)#deny tcp 172.16.2.100 0.0.0.255 any eq telnet
2. Permit ICMP packets for the specified source IP address (172.16.1.100/24) and rate-limit is 1000kbps.
(QCT) (Config-ipv4-acl)#permit icmp 172.16.1.100 0.0.0.255 any rate-limit 1000 1
3. Permit any other packets.
(QCT) (Config-ipv4-acl)#permit every
(QCT) (Config-ipv4-acl)#exit
4. Binding ACL to control plane.
(QCT) (Config)#interface control-plane
(QCT) (if-control-plane)#ip access-group test
5. Verify the configuration.
Содержание QuantaMesh QNOS5
Страница 1: ...QuantaMesh Ethernet Switch Configuration Guide QNOS5 NOS Platform ...
Страница 209: ...209 Table 7 8 IPv6 Neighbor Discovery Settings ...
Страница 226: ...226 Table 8 2 L3 Multicast Defaults ...
Страница 254: ...254 Appendix A Term and Acronyms Table 9 5 Terms and Acronyms ...
Страница 255: ...255 Table 9 6 Terms and Acronyms Cont ...
Страница 256: ...256 Table 9 7 Terms and Acronyms Cont ...