-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Applying ACL rule causes BGP neighbor to go down #21183
Copy link
Copy link
Closed
sonic-net/sonic-mgmt
#16727Labels
BRCMChassis 🤖Modular chassis supportModular chassis supportIssue for 202405Triagedthis issue has been triagedthis issue has been triaged
Description
Description
We noticed that applying a specific ACL rules causes one specific BGP neighbor to go down (fc00::a) during ACL tests (specifically those with "IPV6" and "INGRESS" parameters). Removing it brings it back up.
admin@sonic:~$ show acl rule
...
DATA_INGRESS_IPV6_TEST RULE_15 9985 DROP DST_IPV6: 20c0:a800::9/128 {'asic0': 'Active', 'asic1': 'Active'}
IP_TYPE: IPV6ANY
...
admin@sonic:~$ show ipv6 bgp sum
...
Neighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName
----------- --- ----- --------- --------- -------- ----- ------ --------- -------------- --------------
...
fc00::a 4 65200 278 52 0 0 0 00:01:18 Connect ARISTA03T3
admin@sonic:~$ show ipv6 interface
Interface Master IPv6 address/mask Admin/Oper BGP Neighbor Neighbor IP
-------------- -------- ------------------------------------------- ------------ -------------- -------------
...
Ethernet64 fc00::9/126 up/up ARISTA03T3 fc00::a
Steps to reproduce the issue:
- Run any ACL tests with ipv6+ingress parameters e.g.
acl/test_acl.py::TestBasicAcl::test_ingress_unmatched_blocked[ipv6-ingress-downlink->uplink-default-no_vlan]with breakpoint after ACL rules are applied - After rule 15 is added, once BGP updates (~3mins), neighbor fc00::a will go down
- Removing the rule will bring it immediately back up
NOTE: BGP neighbor fc00::a will always go down when the rule is applied during ipv6+ingress test runs, however, only tests that fail is acl/test_acl.py::TestAclWithReboot...[ipv6-ingress...] as there are explicit BGP neighbor up checks.
Describe the results you received:
ACL rule 15 causes BGP neighbor fc00::a to go down when they are seeminly unrelated.
Describe the results you expected:
BGP neighbor fc00::a should stay up.
Output of show version:
SONiC Software Version: SONiC.20240510.16
BRCM SAI ver: [11.2.13.1], OCP SAI ver: [1.14.0], SDK ver: [sdk-6.5.30-SP4]
Output of show techsupport:
(paste your output here or download and attach the file here )
Additional information you deem important (e.g. issue happens only occasionally):
Rules applied can be found at sonic-mgmt-int/tests/acl/templates/acltb_v6_test_rules.j2
{
"acl": {
"acl-sets": {
"acl-set": {
"{{ acl_table_name }}": {
"acl-entries": {
"acl-entry": {
...
"15": {
"actions": {
"config": {
"forwarding-action": "DROP"
}
},
"config": {
"sequence-id": 15
},
"ip": {
"config": {
"destination-ip-address": "20c0:a800::9/128"
}
}
},
...
}
}
}
}
}
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BRCMChassis 🤖Modular chassis supportModular chassis supportIssue for 202405Triagedthis issue has been triagedthis issue has been triaged
Type
Projects
Status
Done