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

Access Control list (2)

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Knowledge combing named ACL

(1)Replace the list with the name.

(2)You can edit: Add a new rule at the specified position, delete the specified rule Sequence-Number determines the position of ACL statement in ACL list access-list-number protocol source IP address source-wildcard source IP address anti-mask destination IP address destination-wildcard destination IP address anti-mask operator operator eq = lt= less than gt= greater than le-less than or equal to ne= not equal to cmp Two messages echo= request echo reply= reply Create ACL

Router(config)# access-list access-list-number { permit |deny } protocol { source source-wildcard destination destination-wildcard } [ operator operator] Remove ACL

Router(config)# no access-list access-list-number Apply ACL to interface

Router(config-if)# ip access-group access-list-number {in |out} Unapply ACL on an interface

Router(config-if)# no ip access-group access-list-number {in |out} Create ACL

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

Router(config-std-nacl)# [ Sequence-Number ] { permit |deny } source [ source-wildcard ] configure extended named ACL

Router(config-ext-nacl)# [ Sequence-Number ] { permit |deny } protocol {source-wildcard destination destination-wildcard } [ operator operator] Apply ACL to interface

Router(config-if)# ip access-group access-list-name {in |out} Unapply ACL on an interface

Router(config-if)# no ip access-group access-list-name {in |out} Delete VLAN data

Switch privileged mode: del flash:vlan.dat Restart switch

reload Configure device username and password

Router(config)#username username password Password Enable

Router(config)#line vty 0 4

Router(config-line)#login local

Router(config-line)#access-class 1 in

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