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

staticd: Add new command show static ip/ipv6 route #17729

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guoguojia2021
Copy link
Contributor

Add static new command

Hello, this is FRRouting (version 10.3-dev-my-manual-build).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

router2# show static ip route vrf all
Staticd routes:
VRF Vrf1 IPv4 Unicast:
2.2.2.2/32 ip4:192.168.25.100 valid, registered:yes, state:2
ip4:192.168.23.100 valid, registered:yes, state:2
VRF Vrf1 IPv4 Municast:
VRF default IPv4 Unicast:
1.1.1.1/32 ip4:100.24.24.100 valid, registered:yes, state:2
ip4:100.23.23.100 valid, registered:yes, state:2
1.12.12.12/32 ip4:100.24.24.100 valid, registered:yes, state:2
VRF default IPv4 Municast:

router2# show static ip route vrf Vrf1
Staticd routes:
VRF Vrf1 IPv4 Unicast:
2.2.2.2/32 ip4:192.168.25.100 valid, registered:yes, state:2
ip4:192.168.23.100 valid, registered:yes, state:2
VRF Vrf1 IPv4 Municast:

router2# show static ip route
Staticd routes:
VRF default IPv4 Unicast:
1.1.1.1/32 ip4:100.24.24.100 valid, registered:yes, state:2
ip4:100.23.23.100 valid, registered:yes, state:2
1.12.12.12/32 ip4:100.24.24.100 valid, registered:yes, state:2
VRF default IPv4 Municast:

router2# show static ipv6 route
Staticd routes:
VRF default IPv6 Unicast:
1:2:3::4/128 ifname(0):2000:4000:100 invalid, registered:no, state:0
ifname(0):2000:3000:100 invalid, registered:no, state:0
VRF default IPv6 Municast:

@frrbot frrbot bot added the staticd label Dec 28, 2024
Copy link
Member

@ton31337 ton31337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Topotest and documentation must be added for new CLI commands.

@riw777 riw777 self-requested a review January 7, 2025 14:42
Copy link
Member

@riw777 riw777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code looks okay ... needs topo and docs

@guoguojia2021
Copy link
Contributor Author

code looks okay ... needs topo and docs
@ton31337 @riw777
Thank you! I will add.

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

Successfully merging this pull request may close these issues.

3 participants