当前位置:网站首页>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
边栏推荐
- Switch and Router Technology - 36-Port Mirroring
- [Server installation mysql] Use mysql offline installation package to install mysql5.7 under centos7
- Word2021 中的图片保存后就变模糊了
- 交换机和路由器技术-21-RIP路由协议
- Redis deletes keys in batches according to regular rules
- ALSA音频架构 -- snd_pcm_open函数分析
- Switch and Router Technology - 22/23 - OSPF Dynamic Routing Protocol/Link State Synchronization Process
- zabbix构建企业级监控告警平台
- ERROR: Could not install packages due to an OSError: [Errno 2] 没有那个文件或目录: ‘/data/xxxx
- 【FPGA教程案例49】控制案例1——基于FPGA的PID控制器verilog实现
猜你喜欢

form form submission database Chinese becomes a question mark

Switches and routers technology - 26 - configure OSPF peripheral area

Application layer protocol - DNS

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

Object Creation and Display Transformation

如何将360全景图导出高清短视频分享到视频平台上?

论文笔记:Bag of Tricks for Long-Tailed Visual Recognition with Deep Convolutional Neural Networks

破解事务性工作瓶颈,君子签电子合同释放HR“源动力”!

How IP-Guard prohibits running U disk programs

交换机和路由器技术-21-RIP路由协议
随机推荐
【ImageNet】数据集1000个类的名称
Switch and Router Technology - 22/23 - OSPF Dynamic Routing Protocol/Link State Synchronization Process
02. Fold hidden text
Australia cyberspace security system construction
如何缓解压力、拒绝内耗【1】
-填涂颜色-
CAD2020 打开错误报告 e06d7363h Exception at 13644F69h
The shortest path out of the maze
Optimization is a kind of habit low starting point is the "standing near the critical"
项目实战第二十七讲:状态模式在重名品牌中的应用
剑指offer_抽象建模能力
Switches and routers technology - 26 - configure OSPF peripheral area
MQ框架应用比较
Three 】 【 yolov7 series of actual combat from 0 to build training data sets
form表单提交数据库中文变成问号
Self-research capability was recognized again, and Tencent Cloud Database was included in the Forrester Translytical report
Events and scheduled tasks in Mysql
交换机和路由器技术-24-OSPF单区域配置
1815. 得到新鲜甜甜圈的最多组数 状态压缩
走出迷宫的最短路径