Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BABEL no redistribute command doesn't work #18501

Open
2 tasks done
Shbinging opened this issue Mar 26, 2025 · 0 comments · May be fixed by #18531
Open
2 tasks done

BABEL no redistribute command doesn't work #18501

Shbinging opened this issue Mar 26, 2025 · 0 comments · May be fixed by #18531
Labels
triage Needs further investigation

Comments

@Shbinging
Copy link
Contributor

Shbinging commented Mar 26, 2025

Description

Description

int r1-eth0
    ip address 8.8.0.0/20

router babel
    network r1-eth0
    redistribute ipv4 connected

router babel
   no redistribute ipv4 connected

r1's routing table

8.8.0.0/20 (exported)

8.8.0.0/20 should be deleted.

This causes we can't remove one interface's ip from BABEL advertisment. For example

int r1-eth0
  ip address 8.8.8.0/20
  ip address 9.9.9.0/20
router babel
  no redistribute ipv4 connected

int r1-eth0
  no ip address 9.9.9.0/20

router babel
  redistribute ipv4 connected

9.9.9.0/20 will also be advertised to neighbors as it's not removed form xroutes structures.

Version

10.2

How to reproduce

no redistribute ipv4 connected

Expected behavior

8.8.0.0/20 is not exported.

Actual behavior

8.8.0.0/20 is exported.

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.
@Shbinging Shbinging added the triage Needs further investigation label Mar 26, 2025
@Shbinging Shbinging changed the title BABEL iadvertises outdated ips to neighbors after reset redistribution BABEL advertises outdated ips to neighbors after reset redistribution Mar 26, 2025
@Shbinging Shbinging changed the title BABEL advertises outdated ips to neighbors after reset redistribution BABEL no redistribute command doesn't work Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment