mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 21:33:55 +00:00
[vtysh] small fix to previous CMD_AS_RANGE patch, and add missing command
2008-07-03 MIYAJIMA Mitsuharu <miyajima.mitsuharu@anchor.jp> * extract.pl.in: Fix as-range to match CPP output. * vtysh.c: Add missing router_bgp_view_cmd alias.
This commit is contained in:
parent
320da874d7
commit
10895fd6c8
@ -1,3 +1,8 @@
|
|||||||
|
2008-07-03 MIYAJIMA Mitsuharu <miyajima.mitsuharu@anchor.jp>
|
||||||
|
|
||||||
|
* extract.pl.in: Fix as-range to match CPP output.
|
||||||
|
* vtysh.c: Add missing router_bgp_view_cmd alias.
|
||||||
|
|
||||||
2008-07-02 MIYAJIMA Mitsuharu <miyajima.mitsuharu@anchor.jp>
|
2008-07-02 MIYAJIMA Mitsuharu <miyajima.mitsuharu@anchor.jp>
|
||||||
|
|
||||||
* CMD_AS_RANGE was being used inside command strings, and thus
|
* CMD_AS_RANGE was being used inside command strings, and thus
|
||||||
|
@ -37,8 +37,8 @@ $ignore{'"router ripng"'} = "ignore";
|
|||||||
$ignore{'"router ospf"'} = "ignore";
|
$ignore{'"router ospf"'} = "ignore";
|
||||||
$ignore{'"router ospf <0-65535>"'} = "ignore";
|
$ignore{'"router ospf <0-65535>"'} = "ignore";
|
||||||
$ignore{'"router ospf6"'} = "ignore";
|
$ignore{'"router ospf6"'} = "ignore";
|
||||||
$ignore{'"router bgp <1-4294967295>"'} = "ignore";
|
$ignore{'"router bgp " "<1-4294967295>"'} = "ignore";
|
||||||
$ignore{'"router bgp <1-4294967295> view WORD"'} = "ignore";
|
$ignore{'"router bgp " "<1-4294967295>" " view WORD"'} = "ignore";
|
||||||
$ignore{'"router isis WORD"'} = "ignore";
|
$ignore{'"router isis WORD"'} = "ignore";
|
||||||
$ignore{'"router zebra"'} = "ignore";
|
$ignore{'"router zebra"'} = "ignore";
|
||||||
$ignore{'"address-family ipv4"'} = "ignore";
|
$ignore{'"address-family ipv4"'} = "ignore";
|
||||||
|
@ -848,6 +848,16 @@ DEFUNSH (VTYSH_BGPD,
|
|||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ALIAS_SH (VTYSH_BGPD,
|
||||||
|
router_bgp,
|
||||||
|
router_bgp_view_cmd,
|
||||||
|
"router bgp " CMD_AS_RANGE " view WORD",
|
||||||
|
ROUTER_STR
|
||||||
|
BGP_STR
|
||||||
|
AS_STR
|
||||||
|
"BGP view\n"
|
||||||
|
"view name\n")
|
||||||
|
|
||||||
DEFUNSH (VTYSH_BGPD,
|
DEFUNSH (VTYSH_BGPD,
|
||||||
address_family_vpnv4,
|
address_family_vpnv4,
|
||||||
address_family_vpnv4_cmd,
|
address_family_vpnv4_cmd,
|
||||||
@ -2342,6 +2352,7 @@ vtysh_init_vty (void)
|
|||||||
#endif
|
#endif
|
||||||
install_element (CONFIG_NODE, &router_isis_cmd);
|
install_element (CONFIG_NODE, &router_isis_cmd);
|
||||||
install_element (CONFIG_NODE, &router_bgp_cmd);
|
install_element (CONFIG_NODE, &router_bgp_cmd);
|
||||||
|
install_element (CONFIG_NODE, &router_bgp_view_cmd);
|
||||||
install_element (BGP_NODE, &address_family_vpnv4_cmd);
|
install_element (BGP_NODE, &address_family_vpnv4_cmd);
|
||||||
install_element (BGP_NODE, &address_family_vpnv4_unicast_cmd);
|
install_element (BGP_NODE, &address_family_vpnv4_unicast_cmd);
|
||||||
install_element (BGP_NODE, &address_family_ipv4_unicast_cmd);
|
install_element (BGP_NODE, &address_family_ipv4_unicast_cmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user