mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 12:10:24 +00:00
ospfd: Display nssa in show running-config
Display area x.x.x.x nssa configuration in running-config. Using nssa translate candiate (default) case to display 'area x nssa'. Ticket:CM-18947 Reviewed By: Testing Done: Tried various combinations of nssa config, verified show running-config ospfd output router ospf area 2.2.2.2 nssa area 2.2.2.2 nssa no-summary router ospf area 2.2.2.2 nssa translate-always area 2.2.2.2 nssa no-summary Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
This commit is contained in:
parent
6d1ac638f6
commit
2643b2bc9d
@ -1541,7 +1541,7 @@ DEFUN (ospf_area_nssa,
|
||||
"OSPF area ID as a decimal value\n"
|
||||
"Configure OSPF area as nssa\n")
|
||||
{
|
||||
return ospf_area_nssa_cmd_handler(vty, argc, argv, 1, 0);
|
||||
return ospf_area_nssa_cmd_handler(vty, argc, argv, 0, 0);
|
||||
}
|
||||
|
||||
DEFUN (ospf_area_nssa_no_summary,
|
||||
@ -9633,6 +9633,9 @@ static int config_write_ospf_area(struct vty *vty, struct ospf *ospf)
|
||||
" area %s nssa translate-always\n",
|
||||
buf);
|
||||
break;
|
||||
case OSPF_NSSA_ROLE_CANDIDATE:
|
||||
vty_out(vty, " area %s nssa \n", buf);
|
||||
break;
|
||||
}
|
||||
if (area->no_summary)
|
||||
vty_out(vty,
|
||||
|
Loading…
Reference in New Issue
Block a user