04-24-2024 02:56 AM
Hi All,
am using Cisco 9200 switches and assigned management IP as under mentioned. I have some other servers which are using the same IP network and with VLAN 10 , but am not able to ping switch from my laptop configured with VLAN 10 . Can you please guide me further . could i assigned VLAN 10 to mangement interface having Vrf configuration or what will be work around
show run interface gigabitEthernet 0/0
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
ip address 10.20.10.12 255.255.255.0
end
show running-config interface gigabitEthernet 1/0/1
interface GigabitEthernet1/0/1
switchport access vlan 10
switchport mode access
spanning-tree portfast
end
With Regards
uni1389
04-24-2024 03:48 AM
Hello,
when you ping, do you specify the vrf ?
ping vrf Mgmt-vrf 10.20.10.12
04-24-2024 05:46 AM
Do you have a default route specified for your management vrf?
ip route vrf Mgmt-vrf 0.0.0.0 0.0.0.0 x.x.x.x name **MGMT**
Also as suggested by @Georg Pauwen , if pinging from the switch be sure to specify your management vrf
i.e. ping vrf "vrf-name" x.x.x.x
04-24-2024 06:44 AM
Hi,
could i assigned VLAN 10 to mangement interface having Vrf configuration or what will be work around
No, You can not assign the management interface (gi0/0) to a vlan. It is simply a host address that will connect to an out-of-band management switch. If you want to use vlan 10, then you don't need to use the out-of-band management port (gi0/0). Simply use gi1/0/1 with vlan 10, inband.
HTH
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide