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

Failed to remove all static OIFs, after add more OIFs by ip mroute command. #14641

Open
fangyuan1004 opened this issue Oct 24, 2023 · 7 comments
Labels
triage Needs further investigation

Comments

@fangyuan1004
Copy link

fangyuan1004 commented Oct 24, 2023

  • frr version: 614d787 (lastest)
  • kernel: 4.14.76

Problem:
When I configure static mroute, by next steps. Delete mroute is error.

  1. vtysh
  2. configure
  3. interface vlan1
  4. ip mroute vlan2 239.1.1.1
  5. ip mroute vlan3 239.1.1.1

I had add 2 OIFs(vlan2 and vlan3) to the IIF(vlan1) group 239.1.1.1, then I want to delete OIF vlan2. I do :
6. no ip mroute vlan2 239.1.1.1

But OIF vlan3 had been delete.
7. no ip mroute vlan2 239.1.1.1
Do nothing, because pim still want to delete OIF vlan3, and vlan3 had been delete, do pim do nothing.

Question:
How can I delete static OIF vlan2, When OIF more then one.

@fangyuan1004 fangyuan1004 added the triage Needs further investigation label Oct 24, 2023
@riw777
Copy link
Member

riw777 commented Oct 31, 2023

Can you provide show output, version number, and configurations?

@fangyuan1004
Copy link
Author

fangyuan1004 commented Nov 3, 2023

image

Thanks for attention. That is the configure. Wait for apply.

/Ram # vtysh
Hello, this is FRRouting (version 9.1-dev).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

MARVELL_LINUX# configure
MARVELL_LINUX(config)# interface vlan1
MARVELL_LINUX(config-if)# ip pim
MARVELL_LINUX(config-if)# interface vlan2
MARVELL_LINUX(config-if)# ip pim
MARVELL_LINUX(config-if)# interface vlan3
MARVELL_LINUX(config-if)# ip pim
MARVELL_LINUX(config-if)# interface vlan1
MARVELL_LINUX(config-if)# ip mroute vlan2 239.1.1.1
MARVELL_LINUX(config-if)# ip mroute vlan3 239.1.1.1
MARVELL_LINUX(config-if)# q
MARVELL_LINUX(config)# q
MARVELL_LINUX# show ip mroute
IP Multicast Routing Table
Flags: S - Sparse, C - Connected, P - Pruned
R - SGRpt Pruned, F - Register flag, T - SPT-bit set
Source Group Flags Proto Input Output TTL Uptime

  •   239.1.1.1  -      STATIC  vlan1  vlan3   1    00:00:05  
    
  •   239.1.1.1  -      STATIC         vlan2   1    00:00:12  
    

MARVELL_LINUX# configure
MARVELL_LINUX(config)# interface vlan1
MARVELL_LINUX(config-if)# no ip mroute vlan2 239.1.1.1
MARVELL_LINUX(config-if)# q
MARVELL_LINUX(config)# q
MARVELL_LINUX# show ip mroute
IP Multicast Routing Table
Flags: S - Sparse, C - Connected, P - Pruned
R - SGRpt Pruned, F - Register flag, T - SPT-bit set
Source Group Flags Proto Input Output TTL Uptime

  •   239.1.1.1  -      STATIC  vlan1  vlan2   1    00:00:42  
    

MARVELL_LINUX# configure
MARVELL_LINUX(config)# interface vlan1
MARVELL_LINUX(config-if)# no ip mroute vlan2 239.1.1.1
MARVELL_LINUX(config-if)# q
MARVELL_LINUX(config)# q
MARVELL_LINUX# show ip mroute
IP Multicast Routing Table
Flags: S - Sparse, C - Connected, P - Pruned
R - SGRpt Pruned, F - Register flag, T - SPT-bit set
Source Group Flags Proto Input Output TTL Uptime

  •   239.1.1.1  -      STATIC  vlan1  vlan2   1    00:01:03  
    

@fangyuan1004
Copy link
Author

Can FRR PIM support removing multiple OIFs from the same route entry?

Copy link

This issue is stale because it has been open 180 days with no activity. Comment or remove the autoclose label in order to avoid having this issue closed.

@frrbot
Copy link

frrbot bot commented May 15, 2024

This issue will be automatically closed in the specified period unless there is further activity.

@Jafaral
Copy link
Member

Jafaral commented May 15, 2024

update

@frrbot frrbot bot removed the autoclose label May 15, 2024
@frrbot
Copy link

frrbot bot commented May 15, 2024

This issue will no longer be automatically closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs further investigation
Projects
None yet
Development

No branches or pull requests

3 participants