Ruijie>en
Ruijie#config ter
Ruijie(config)#access-list 100 permit ip192.168.1.0 0.0.0.255 any ------> Define the data flows on network segmentcompany a. If you want to match all the traffic, you can set it to permit ipany any
Ruijie(config)# class-map companya
Ruijie(config-cmap)# match access-group 100
Ruijie(config-cmap)#exit
Ruijie(config)# policy-map companya
Ruijie(config-pmap)#class companya
Ruijie(config-pmap-c)#police 10000 1024exceed-action drop
Ruijie(config-pmap-c)#exit
Ruijie(config-pmap)#exit
Ruijie(config)# interface gigabitEthernet 1/1
Ruijie(config-if-GigabitEthernet1/1)#service-policy input companya
Ruijie(config)#interface gigabitEthernet 1/1------> Enter the interface
Ruijie(config-if-GigabitEthernet 1/1)#rate-limitinput 10000 1024
Ruijie(config-if-GigabitEthernet 1/1)#rate-limitoutput 10000 1024
Ruijie(config)#interface gigabitEthernet 1/2------> Enter the interface
Ruijie(config-if-GigabitEthernet 1/2)#rate-limitinput 8000 1024
Ruijie(config-if-GigabitEthernet 1/2)#rate-limitoutput 8000 1024
Ruijie(config)#interface gigabitEthernet 1/3------> Enter the interface
Ruijie(config-if-GigabitEthernet 1/3)#rate-limitoutput 20000 2048
Ruijie(config-if-GigabitEthernet 1/3)#rate-limitoutput 20000 2048
Welcome to Ruijie Community (https://community.ruijienetworks.com/) | Powered by Discuz! X3.2 |