cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
3194
Views
10
Helpful
3
Replies

C9200/C9300 MGMT Port

Hubsi-Smith
Level 1
Level 1

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

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

3 Replies 3

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
Hall of Fame
Hall of Fame

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

uni1389
Level 1
Level 1

Hi balaji, 

Can we assign VLAN to management interface , if yes then how can we configure. Thanks for your feedabck. 

With Regards

uni

Review Cisco Networking products for a $25 gift card