华为和锐捷设备流统配置

华为:

<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的名字)来清除

相关推荐
吃橘子的猴4 分钟前
BGP实验
网络·智能路由器
m0_549314865 分钟前
二、IGMP
网络·网络协议·组播·icmp·igmp·multicast
purrrew6 分钟前
【Java ee初阶】http(1)
网络·网络协议·http
小李不想说话25 分钟前
HTTPS 加密原理
java·网络·网络协议·学习·安全·http·https
无锡耐特森1 小时前
能源数字化转型关键引擎:Profinet转Modbus TCP网关驱动设备协同升级
网络·tcp/ip·能源
搬码临时工1 小时前
如何更改远程桌面连接的默认端口?附外网访问内网计算机方法
服务器·网络·远程工作·访问公司内网
北冥SP2 小时前
OkHttp连接池
网络·okhttp
是大强2 小时前
ssl 中 key 和pem 和crt是什么关系
网络·网络协议·ssl
-qOVOp-2 小时前
zst-2001 上午题-历年真题 计算机网络(16个内容)
网络·计算机网络·算法
Johny_Zhao3 小时前
VMware workstation 部署微软MDT系统
网络·人工智能·信息安全·微软·云计算·系统运维·mdt