diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-01-21 13:20:17 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-02-04 10:29:38 -0500 |
| commit | 1a97e35eb8027f14fc411d8df6145bd583afa9f5 (patch) | |
| tree | c9c50b8d14c772d5d6a3fe8a2a6e6f6fa14c0301 /zebra/zebra_vty.c | |
| parent | 9783de6fafa9df33f09b9b36ec4821c0b086bf6e (diff) | |
zebra: Add MPLS status to `show zebra`
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_vty.c')
| -rw-r--r-- | zebra/zebra_vty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index a7ef2ff17f..073f1aa379 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -3975,6 +3975,8 @@ DEFUN (show_zebra, vty_out(vty, "ipv6 fowarding is %sturned on\n", ipforward_ipv6() ? "" : "not "); + vty_out(vty, "MPLS is %senabled\n", mpls_enabled ? "" : "not "); + #ifdef GNU_LINUX if (!vrf_is_backend_netns()) vty_out(vty, "VRF devices are available for usage\n"); |
