148
IP-COM(config-ip-nacl)# rule 2 rate-limit 64 ip src-ip 192.168.10.1 src-ip-mask any dst-ip any
Note:
Add rule 2, and set RX rate of packets with the source IP address of 192.168.10.1 to 64kbps
Note:
Deny: Deny packets matching rule passing;
IP: Specify protocol type;
Src-ip: Specify source IP address;
Dst-ip: Specify destination IP address.
Source port and destination port are configurable only when you specify TCP and UDP as the protocol type.
IP-COM(config-mac-nacl)#rule <1-100> bind-with timerange <1-100>
Note:
Configure IP ACL rule binding with time range
Delete ACL
IP-COM(config)# no access-list 125
Note:
Delete MAC based ACL: 125
IP-COM(config)# no access-list 1
Note:
Delete IP based ACL: 1
Delete an ACL rule
IP-COM(config)# mac access-list 125
IP-COM(config-mac-nacl)# no rule 1
Note:
Delete rule 1from ACL 125
IP-COM(config)# mac access-list 1
IP-COM(config-ip-nacl)#no rule 2
Note:
Delete rule 2 from ACL 1
Add port binding
IP-COM(config)# mac access-list 125
IP-COM(config-mac-nacl)# bind-to interface range gigabitethernet 0/1
Note:
Enter ACL 125 and bind it to port 1
IP-COM(config)# ip access-list extended 1
IP-COM(config-ip-nacl)# bind-to interface range gigabitethernet 0/1-24
Note:
Enter ACL 1, and bind it to ports 1-24
Delete port binding
Содержание G3224P
Страница 1: ......