mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 19:51:58 +00:00
bgpd: Addition of ipv6 network command in Multicast address family mode.
The patch adds the ipv6 network command in the BGP multicast address family mode.
This commit is contained in:
parent
f768f367bc
commit
73bfe0bd9a
@ -4167,7 +4167,7 @@ DEFUN (ipv6_bgp_network,
|
|||||||
"Specify a network to announce via BGP\n"
|
"Specify a network to announce via BGP\n"
|
||||||
"IPv6 prefix <network>/<length>\n")
|
"IPv6 prefix <network>/<length>\n")
|
||||||
{
|
{
|
||||||
return bgp_static_set (vty, vty->index, argv[0], AFI_IP6, SAFI_UNICAST,
|
return bgp_static_set (vty, vty->index, argv[0], AFI_IP6, bgp_node_safi(vty),
|
||||||
NULL, 0);
|
NULL, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4190,7 +4190,7 @@ DEFUN (no_ipv6_bgp_network,
|
|||||||
"Specify a network to announce via BGP\n"
|
"Specify a network to announce via BGP\n"
|
||||||
"IPv6 prefix <network>/<length>\n")
|
"IPv6 prefix <network>/<length>\n")
|
||||||
{
|
{
|
||||||
return bgp_static_unset (vty, vty->index, argv[0], AFI_IP6, SAFI_UNICAST);
|
return bgp_static_unset (vty, vty->index, argv[0], AFI_IP6, bgp_node_safi(vty));
|
||||||
}
|
}
|
||||||
|
|
||||||
ALIAS (no_ipv6_bgp_network,
|
ALIAS (no_ipv6_bgp_network,
|
||||||
@ -12580,6 +12580,9 @@ bgp_route_init (void)
|
|||||||
install_element (BGP_IPV6_NODE, &no_ipv6_aggregate_address_cmd);
|
install_element (BGP_IPV6_NODE, &no_ipv6_aggregate_address_cmd);
|
||||||
install_element (BGP_IPV6_NODE, &no_ipv6_aggregate_address_summary_only_cmd);
|
install_element (BGP_IPV6_NODE, &no_ipv6_aggregate_address_summary_only_cmd);
|
||||||
|
|
||||||
|
install_element (BGP_IPV6M_NODE, &ipv6_bgp_network_cmd);
|
||||||
|
install_element (BGP_IPV6M_NODE, &no_ipv6_bgp_network_cmd);
|
||||||
|
|
||||||
/* Old config IPv6 BGP commands. */
|
/* Old config IPv6 BGP commands. */
|
||||||
install_element (BGP_NODE, &old_ipv6_bgp_network_cmd);
|
install_element (BGP_NODE, &old_ipv6_bgp_network_cmd);
|
||||||
install_element (BGP_NODE, &old_no_ipv6_bgp_network_cmd);
|
install_element (BGP_NODE, &old_no_ipv6_bgp_network_cmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user