FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.29k stars 1.24k forks source link

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

Open fangyuan1004 opened 11 months ago

fangyuan1004 commented 11 months ago

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 :

  1. no ip mroute vlan2 239.1.1.1

But OIF vlan3 had been delete.

  1. 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.

riw777 commented 11 months ago

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

fangyuan1004 commented 11 months ago

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

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

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

fangyuan1004 commented 10 months ago

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

github-actions[bot] commented 4 months ago

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[bot] commented 4 months ago

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

Jafaral commented 4 months ago

update

frrbot[bot] commented 4 months ago

This issue will no longer be automatically closed.