当前位置:网站首页>Switch and Router Technology - 32 - Named ACL
Switch and Router Technology - 32 - Named ACL
2022-08-11 04:55:00 【w Spicy little prince】
Named ACL:
No table number, use name as table number, directly use standard to identify standard ACL, and extended to identify extension
Delete ACL
1. Before deleting the access control list, you need to cancel it from the application interface
2. Whether it is a standard ACL or an extended ACL, no matter which ACL is deleted, all deletions are deleted, and cannot be deleted individually
And adding ACL is automatically back row, cannot be inserted in the middle

![]()
![]()
![]()
Named ACL benefits:
You can delete a single ACL in a table or insert an ACL at any position
Specific configuration
Router(config)#ip access-list ?extended Extended Access Liststandard Standard Access ListRouter(config)#ip access-list extended wn //The extended ACL is named wnRouter(config-ext-nacl)#deny ?ahp Authentication Header Protocoleigrp Cisco's EIGRP routing protocolesp Encapsulation Security Payloadgre Cisco's GRE tunnelingicmp Internet Control Message Protocolip Any Internet Protocolospf OSPF routing protocoltcp Transmission Control Protocoludp User Datagram ProtocolRouter(config-ext-nacl)#deny icmp ?A.B.C.D Source addressany Any source hosthost A single source hostRouter(config-ext-nacl)#deny icmp host 192.168.10.2 ?A.B.C.D Destination addressany Any destination hosthost A single destination hostRouter(config-ext-nacl)#deny icmp host 192.168.10.2 host 192.168.30.2Router(config-ext-nacl)#deny icmp host 192.168.20.2 host 192.168.30.2Router(config-ext-nacl)#deny udp host 192.168.20.2 host 192.168.30.2 eq 53Router(config-ext-nacl)#deny tcp host 192.168.10.2 host 192.168.30.2 eq 80Router(config-ext-nacl)#permit ip any anyRouter(config-ext-nacl)#exitRouter(config)#int g0/1Router(config-if)#Router(config-if)#ip access-group wn inRouter(config-if)#exitRouter(config)#Router(config)#int g0/1 //Apply to interfaceRouter(config-if)#ip access-group wn outRouter(config-if)#Remove ACL
Step 1: Check the ACL number
Show access-lists

Assume deletion of acl number 20
Enter extended ACL;then no directly
Router(config)#ip access-list extended wn
Router(config-ext-nacl)#no 20

Specify ACL number
Router(config-ext-nacl)#?<1-2147483647> Sequence NumberRouter(config-ext-nacl)#12 deny icmp 192.168.20.2 0.0.0.0 192.168.30.2 0.0.0.0deny icmp 192.168.20.2 0.0.0.0 192.168.30.2 0.0.0.0 is equivalent to deny icmp 192.168.20.2 92.168.30.2
The 0.0.0.0 here is the inverse mask of 255.255.255.255, because acl needs an inverse mask to identify the subnet we use for an IPThe mask is four 255
边栏推荐
- 交换机和路由器技术-24-OSPF单区域配置
- MQ框架应用比较
- 增加PRODUCT_BOOT_JARS及类 提供jar包给应用
- Add PRODUCT_BOOT_JARS and classes to provide jar packages to applications
- Switch and Router Technology - 28 - NSSA Areas for OSPF
- Layered Architecture & SOA Architecture
- zabbix构建企业级监控告警平台
- 【FPGA教程案例50】控制案例2——基于FPGA的PD控制器verilog实现
- form form submission database Chinese becomes a question mark
- Zabbix builds enterprise-level monitoring and alarm platform
猜你喜欢

To break the bottleneck of transactional work, the gentleman signs the electronic contract to release the "source power" of HR!

Do you understand how the Selenium automated testing framework works?

C语言题解:谁是凶手!

The principle, architecture, implementation, practice of "transfer" and "search", no need to be afraid of interviews

Switches and routers technology - 24 - configure OSPF single area

How IP-Guard prohibits running U disk programs

Network Skill Tree

交换机和路由器技术-22/23-OSPF动态路由协议/链路状态同步过程

【电商运营】社交媒体营销策略该如何制定?

对象的创建以及显示转换
随机推荐
Application layer protocol - DNS
如何给网页添加icon图标?
K8s Review Notes 7--K8S Implementation of Redis Standalone and Redis-cluster
How to switch Green Shield encryption to IP-Guard encryption smoothly
如何缓解压力、拒绝内耗【1】
Redis: Solve the problem of modifying the same key with distributed high concurrency
paddlepaddle implements CS_CE Loss and incorporates PaddleClas
交换机和路由器技术-29-OSPF虚链路
【FPGA教程案例49】控制案例1——基于FPGA的PID控制器verilog实现
Switch and Router Technology-31-Extended ACL
梅克尔工作室--OpenEuler培训笔记(1)
Embedded Sharing Collection 33
Switch and Router Technology - 28 - NSSA Areas for OSPF
[Note] Is the value of BatchSize the bigger the better?
在 关闭页面/卸载(unload)文档 之前向服务器发送请求
Events and scheduled tasks in Mysql
优化是一种习惯●出发点是“站在靠近临界“的地方
To break the bottleneck of transactional work, the gentleman signs the electronic contract to release the "source power" of HR!
项目实战第二十七讲:状态模式在重名品牌中的应用
延长经济保险(jeecgboot)