cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
377
Views
1
Helpful
4
Replies

Adding int to Mgmt-vrf

Benga
Level 1
Level 1

Hi,

N00b question, please be gentle!

Swapping out a SG to a Catalyst switch (C9300) at home, and very much not familiar with IOS!

I've configured a Mgmt-vrf, which includes interface 0/0 (the physical RJ45) and applied VLAN 1 / 10.0.1.5/24 to it

However, I want to be able to hit the Mgmt-vrf from any interface (home network is very simple, single VLAN, single subnet, just a couple of Port Channels for servers etc.

However, I'm clearly missing how I'm supposed to do this. Current attempted approach is to add 1/0/1 (firewall / router interface) to the vrf, assuming by doing so i can get to it from any client IP. I'm doing this:

-----

interface gigabitEthernet 1/0/1

vrf forwarding Mgmt-vrf

-----

But I get syntax errors. Can anyone please help me either with the syntax or educate me about why my approach is wrong?

Thanks everyone!

 

1 Accepted Solution

Accepted Solutions

Benga
Level 1
Level 1

Got my own solution in the end

interface vlan1

ip address 10.0.x.x 255.255.255.0

Added and committed. Sorted!

Thanks for trying to help

View solution in original post

4 Replies 4

Can I see whole config?

MHM

Benga
Level 1
Level 1

would that be 

show running-config

?

Hello @Benga 

Yes! show run command please.

Try no switchport command under int gigabitEthernet 1/0/1 and retry your vrf forwarding command after.

 

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Benga
Level 1
Level 1

Got my own solution in the end

interface vlan1

ip address 10.0.x.x 255.255.255.0

Added and committed. Sorted!

Thanks for trying to help