ACL出口无法调用对象组
1、正常这样配置可以配进去:
2、加上这条之后就会告警,也未写明acl不支持(rule 2000 permit tcp source object-group xx destination xxxx destination-port eq xx):
%Jan 26 13:28:28:026 2024 xxx PFILTER/3/PFILTER_IF_UNK_ERR: -Slot=3; Failed to apply or refresh IPv6 ACL xxxx rule xxxx to the inbound direction of interface xx.
%Jan 26 13:28:28:132 2024 xxx PFILTER/3/PFILTER_IF_UNK_ERR: -Slot=2; Failed to apply or refresh IPv6 ACL xxxx rule xxxx to the inbound direction of interface xx.
%Jan 26 13:28:28:134 2024 xxx PFILTER/3/PFILTER_IF_UNK_ERR: -Slot=2; Failed to apply or refresh IPv6 ACL xxxx rule xxxx to the inbound direction of interface xx.
3、对象组信息,若单独配置,也可以配置进去:
4、在acl 3999 ru2000 的CMCC对象组里面是空的,可以成功调用,但是在对象组里加地址后也会报错,也怀疑是ipv6的地址问题。
1、probe视图下采集bcm slot 2 chip 2 diag/field/res:
(1)Acl超位宽了,最大支持320bit的匹配项,当前超过了320下发失败:
Chassis00 slot02 2024/01/26 13:28:27:879979 [LINE:2911-TASK:aclmgrd-FUNC:_bcm_dpp_field_group_verify_qset]:specified qset is too wide 324 for unit 2 stage 0, max 320
(2)超过64位的地址要占128bit,低于64位的地址只占64bit,再上端口、端口号段、TCP关键字等超过了320bit的位宽:
rule 2000 permit tcp source object-group x destination xxxx4 destination-port eq xx
rule 2001 permit tcp destination xxxx destination-port object-group xx
(3)建议把源地址或者目的地址的匹配掩码不要超过64位,可以减少位宽占用:
Resource DB 7 [Group 7]
Type = TCAM, Stage = ingress_pmf, Priority = 74, Key Size = 320, NOF CEs = 14
Key:
Second Key msb Key lsb Lost Bits Qual msb Qual lsb Qual Type
----------------------------------------------------------------------------
No 31 0 0 31 0 ipv6_sip_high
No 63 32 0 31 0 ipv6_dip_high
No 79 64 0 15 0 user_def_4
No 111 80 0 63 32 ipv6_dip_high
No 143 112 0 63 32 ipv6_sip_high
No 159 144 0 15 0 user_def_3
Yes 31 0 0 31 0 ipv6_dip_low
Yes 39 32 0 7 0 ipv6_next_prtcl
Yes 63 40 0 23 0 ipv6_l4ops
Yes 69 64 0 5 0 ipv4_tcp_ctl
Yes 88 80 0 8 0 src_pp_port
Yes 92 89 0 3 0 eth_tag_format
Yes 124 93 0 63 32 ipv6_dip_low
Yes 131 125 3 3 0 pfq1_next_protocol
2、各个匹配项占用的位宽如下,IPV6地址64位以下的占用64bit,64位以上的占用128bit
Type = TCAM, Stage = ingress_pmf, Priority = 74, Key Size = 320, NOF CEs = 14
Key:
Second Key msb Key lsb Lost Bits Qual msb Qual lsb Qual Type
----------------------------------------------------------------------------
No 31 0 0 31 0 ipv6_sip_high//ipv6源地址,32bit
No 63 32 0 31 0 ipv6_sip_low//ipv6源地址,32bit
No 79 64 0 15 0 user_def_4///目的端口号,16bit
No 111 80 0 63 32 ipv6_sip_low//ipv6源地址,32bit
No 143 112 0 63 32 ipv6_sip_high//ipv6源地址,32bit
No 159 144 0 15 0 user_def_3///源端口号,16bit
Yes 31 0 0 31 0 ipv6_dip_high//ipv6目的地址,32bit
Yes 39 32 0 7 0 ipv6_next_prtcl///TCP,8bit
Yes 63 40 0 23 0 ipv6_l4ops//range,24bit
Yes 69 64 0 5 0 ipv4_tcp_ctl//TCP关键字,6bit
Yes 88 80 0 8 0 src_pp_port//ipv6报文默认下发,9bit
Yes 92 89 0 3 0 eth_tag_format//ipv6报文默认下发,4bit
Yes 124 93 0 63 32 ipv6_dip_high//ipv6目的地址,,32bit
Yes 131 125 3 3 0 pfq1_next_protocol//ipv6报文默认下发,4bit
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作