From 1a97e35eb8027f14fc411d8df6145bd583afa9f5 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 21 Jan 2022 13:20:17 -0500 Subject: [PATCH] zebra: Add MPLS status to `show zebra` Signed-off-by: Donald Sharp --- zebra/zebra_vty.c | 2 ++ 1 file changed, 2 insertions(+) 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");