cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1334
Views
10
Helpful
2
Replies

C9200/C9300 MGMT Port

Hubsi-Smith
Beginner
Beginner

Hello,
I am a bit confused about useing the MGMT Port on Cisco c9200 and C9300 devices. If I understand the Cisco document here right LINK the management port is not accessable from the other network ports. Thats is exactly what I need, the MGMT port is independet.

But what have I to do to connect the management port to my MGMT network? I still need to add my default gateway on the management port right?

The document linked above, shows this default configuration:

This example shows how to configure IP address on the management interface.
Switch# configure terminal
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# vrf forwarding Mgmt-vrf
Switch(config-if)#ip address 192.168.247.10 255.255.0.0
Switch(config-if)# end

How can I bind the default gateway only to the management port?

 

 

 

 

1 Accepted Solution

Accepted Solutions

MHM Cisco World
VIP Mentor VIP Mentor
VIP Mentor

default gw dont care about vrf but here you have mgmt-vrf so I think you need default route not default GW.

Ip route mgmt-vrf 0.0.0.0 0.0.0.0 192.168.247.x

View solution in original post

2 Replies 2

MHM Cisco World
VIP Mentor VIP Mentor
VIP Mentor

default gw dont care about vrf but here you have mgmt-vrf so I think you need default route not default GW.

Ip route mgmt-vrf 0.0.0.0 0.0.0.0 192.168.247.x

balaji.bandi
VIP Community Legend VIP Community Legend
VIP Community Legend

VRF run its own routing, so if you connected this port to other side VLAN access port (example vlan 10) from VLAN 10 IP address range can able to reach this device.

Since this is management port and  we expect to connect out of band management  connection, than normal Global routing.

if you like to add routing, then you can use the below syntax :

ip route vrf Mgmt-vrf x.x.x.x x.x.x.x x.x.x.x

 when you test ping always use 

 

ping vrf Mgmt-vrf x.x.x.x

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers