diff --git a/doc/Command-Reference.md b/doc/Command-Reference.md index 7a45e1e1da..f5aac6a704 100644 --- a/doc/Command-Reference.md +++ b/doc/Command-Reference.md @@ -7978,7 +7978,7 @@ This command displays whether the management VRF is enabled or disabled. It also **show mgmt-vrf routes** -This command displays the routes that are present in the routing table 5000 that is meant for management VRF. +This command displays the routes that are present in the routing table 6000 that is meant for management VRF. - Usage: ``` diff --git a/show/main.py b/show/main.py index ea1563efcb..5590e01c22 100755 --- a/show/main.py +++ b/show/main.py @@ -540,7 +540,7 @@ def mgmt_vrf(ctx,routes): run_command(cmd) else: click.echo("\nRoutes in Management VRF Routing Table:") - cmd = ['ip', 'route', 'show', 'table', '5000'] + cmd = ['ip', 'route', 'show', 'table', '6000'] run_command(cmd) # diff --git a/tests/show_test.py b/tests/show_test.py index 6a9717476a..e3287df679 100644 --- a/tests/show_test.py +++ b/tests/show_test.py @@ -948,7 +948,7 @@ def test_show_mgmt_vrf_routes(self, mock_run_command): runner = CliRunner() result = runner.invoke(show.cli.commands["mgmt-vrf"], ['routes']) assert result.exit_code == 0 - mock_run_command.assert_called_with(['ip', 'route', 'show', 'table', '5000']) + mock_run_command.assert_called_with(['ip', 'route', 'show', 'table', '6000']) @patch('show.main.run_command') @patch('show.main.is_mgmt_vrf_enabled', MagicMock(return_value=True))