华为和锐捷设备流统配置

华为:

<AR6121E-S>dis acl 3333

Advanced ACL 3333, 4 rules

Acl's step is 5

rule 5 permit icmp source 192.168.188.2 0 destination 192.168.88.88 0

rule 10 permit icmp source 192.168.88.88 0 destination 192.168.188.2 0

rule 15 permit udp source 14.23.154.114 0 source-port eq 1701 destination 14.145.146.57 0 (7 matches)

rule 20 permit udp source 14.145.146.57 0 destination 14.23.154.114 0 destination-port eq 1701 (7 matches)

int g0/0/8

traffic-filter inbound acl 3333

traffic-filter outbound acl 3333

AR6121E-S\]capture-packet interface g 0/0/8 acl 3333 destination terminal 锐捷: 注意:以下ip地址仅为举例,以现场实际ip地址为准 第一步:创建ACL ip access-list extended test-down-in 10 permit icmp host 104.52.56.14 host 172.26.131.30 20 permit icmp host 172.26.131.30 host 104.52.56.14 100 permit ip any any ! ip access-list extended test-down-out 10 permit icmp host 104.52.56.14 host 172.26.131.30 20 permit icmp host 172.26.131.30 host 104.52.56.14 100 permit ip any any ! ip access-list extended test-up-in 10 permit icmp host 104.52.56.14 host 172.26.131.30 20 permit icmp host 172.26.131.30 host 104.52.56.14 100 permit ip any any ! ip access-list extended test-up-out 10 permit icmp host 104.52.56.14 host 172.26.131.30 20 permit icmp host 172.26.131.30 host 104.52.56.14 100 permit ip any any ! 第二步:开启ACL计数 ! ip access-list counter test-up-in ! ip access-list counter test-up-out ! ip access-list counter test-down-out ! ip access-list counter test-down-in 第三步: 上下联口调用ACL: 上联口(连接路由器的接口) 比如连接的是g0/1(以具体连接的接口为准) int g0/1 ip access-group test-up-in in ip access-group test-up-out out 下连口(连接电脑的接口) ip access-group test-down-in in ip access-group test-down-out out 第四步: 查看计数:show access-lists 清除计数:clear counters 注意:若clear counters无法清除计数统计,则clear counters access-list xx(xx代表acl的名字)来清除

相关推荐
上海云盾安全满满1 小时前
高防IP线路质量重要吗
网络·网络协议·tcp/ip
hoududubaba2 小时前
ORAN共享小区的基本概念
网络·网络协议
山峰哥2 小时前
数据库工程核心:SQL调优让查询效率飙升的实战密码
网络·汇编·数据库·sql·编辑器
梁辰兴5 小时前
计算机网络基础:网络地址转换
网络·计算机网络·计算机·nat·计算机网络基础·梁辰兴·网络地址转换协议
Q16849645156 小时前
红帽Linux-进程、ssh、网络、软件包、文件系统
linux·运维·网络
tobias.b6 小时前
408真题解析-2009-39-网络-TCP拥塞控制
网络·网络协议·tcp/ip·计算机考研·408考研·408真题解析
数通工程师6 小时前
IPv4和IPv6 地址分配:从划分到工具全解析
网络·网络协议·tcp/ip·华为
小白电脑技术7 小时前
玩客云OneCloud插入内存卡之后,开机自动挂载教程
网络·电脑
南烟斋..7 小时前
嵌入式系统(51单片机)核心外设详解:UART通信与DS18B20温度采集
linux·运维·网络
e***98577 小时前
跨平台虚拟机网络故障排查指南
运维·网络