linyonghang1@ru Publish time 2023-8-11 10:09:16

How to configure acl on ruijie switch?

Apply the ACL on the switch uplink port to block the specific user accessing the Internet:

Ruijie>en      

Ruijie#config ter

Ruijie(config)#ip access-list extended 100

Ruijie(config-ext-nacl)#deny ip 192.168.10.0 0.0.0.255 any//block 192.168.10.0 network access to the Internet

Ruijie(config-ext-nacl)#permit ip any any//allow other resources

Ruijie(config-ext-nacl)#exit

Ruijie(config)#interface g0/1

Ruijie(config-if-vlan 10)#ip access-group 100 out//Apply the ACL on the switch uplink port outdirection

Ruijie(config-if-vlan 20)#end      

Ruijie#write//Save the config

Pages: [1]
View full version: How to configure acl on ruijie switch?