Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

ACL named access Control list

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Named access control list configuration

Create ACL

Router (config) # ip access-list {standard | extended} access-list-name

Configure standard named ACL

Routing (config-std-nacl) # [Sequence-Number] {permit | deny} source [source-wildcard]

Configure extended named ACL

Router (config-ext-nacl) # [Sequence-Number] {permit | deny} protol {source source-wildcard destination destinationd wildcard}

[operator operan]

Standard named ACL application instance

Routing (config) # ip access-list standard ab

Routing (config-std-nacl) # permit host 192.168.1.1

Routing (config-std-nacl) # deny any

/ / only traffic from host 192.168.1.1 Universe 24 is allowed to pass

View ACL configuration information

Show access-lists

Routing (config) # 15 permit host 192.168.2.1 / add ACL statement with sequence number 15 delete the entire group ACL Routing (config) # no ip access-list {standard | extended} accsee-list-name delete a single ACL statement no Sequence-Number / / sequence number no permit host 192.168.1.1 in the group

Example

The topology is shown above

Experimental requirements: hosts in the vlan10 can access the pc4,vlan10, other hosts in the pc4,vlan10 cannot access the pc4, hosts in other network segments can access the pc4.

Experimental procedure

1 configure four PCs according to the topology diagram

2 configure switch R1

3 configure layer 3 switch R2

4 test whether the three PCs are connected to pc4

5 interworking of the whole network, making ACL access list on layer 3 switching

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report