cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
399
Views
0
Helpful
4
Replies

Checking EIGRP routing with switch running vrf

mahesh18
Level 6
Level 6

 

Hi everyone,

 

I am trying to check if routing is there from user PC to destination IP.

User PC IP is 192.168.98.10

Its gateway is 192.168.98.1

When i check the switch where user gateway is it shows

sh run int vlan 598
Building configuration...

Current configuration : 120 bytes
!
interface Vlan598
 ip vrf forwarding Net
 ip address 192.168.98.1 255.255.255.0
 ip helper-address 172.23.7.2

 

This switch is running vrf.

When i do sh ip vrf int

 

Vl510                  172.21.200.254  Net                           up
Vl598                  192.168.98.1    Net                           up
 

It is showing up two vlans with same vrf name?

is this ok to have two different vlans with same vrf name?

If i need to check routing to destination subnet say 172.31.23.x ?

i can run this command

sh ip route vrf Net 172.31.23.5
% Subnet not in table

 

This means that vrf Net is using the default route right?

To check the default route i should run this command  sh ip route vrf Net   right?
 

Regards

MAhesh

 

2 Accepted Solutions

Accepted Solutions

Karan ()
Level 1
Level 1

Hello Mahesh

1. Yes, two vlans can be part of same VRF. but same Vlan cannot be part of two different VRF.

2. show ip route vrf Net output shows "Subnet not in table". It doesnt means that its using default route. It means that its not having this route in the vrf Net routing table.

If you just run the command "show ip route vrf Net", you will be able to see all the routes in the vrf Net Routing table including the default route.

If you want to look at the configuration of the whole VRF, you can run the command "show run vrf Net". This will give you complete running configuration for vrf Net. Please share the Configuration of the vrf along with show ip route vrf Net so that we can understand the configuration and the routing.

Hope this helps.

Karan

View solution in original post

Hi Mahesh,

sh run vrf <vrf name> does not work will all switches and IOS versions.  I know it works with Nexus OS, but as far as I know it does not work with most regular IOS images.

If you want to see the config you can try:

sh run | b vrf Net

Thanks,

Reza

 

View solution in original post

4 Replies 4

Karan ()
Level 1
Level 1

Hello Mahesh

1. Yes, two vlans can be part of same VRF. but same Vlan cannot be part of two different VRF.

2. show ip route vrf Net output shows "Subnet not in table". It doesnt means that its using default route. It means that its not having this route in the vrf Net routing table.

If you just run the command "show ip route vrf Net", you will be able to see all the routes in the vrf Net Routing table including the default route.

If you want to look at the configuration of the whole VRF, you can run the command "show run vrf Net". This will give you complete running configuration for vrf Net. Please share the Configuration of the vrf along with show ip route vrf Net so that we can understand the configuration and the routing.

Hope this helps.

Karan

Hi karan,

 

Here is info

sh ip route vrf Net

Routing Table: Net
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 172.21.200.33 to network 0.0.0.0

D    192.168.12.0/24 [90/26880768] via 172.21.200.33, 5d02h, Vlan510
D    192.168.29.0/24 [90/26880768] via 172.21.200.33, 5d02h, Vlan510
D    192.168.28.0/24 [90/26880768] via 172.21.200.33, 5d02h, Vlan510
D    192.168.13.0/24 [90/26880768] via 172.21.200.33, 5d02h, Vlan510
D    192.168.14.0/24 [90/26880768] via 172.21.200.33, 5d02h, Vlan510
D    192.168.15.0/24 [90/26880768] via 172.21.200.33, 5d02h, Vlan510

 

sh run vrf Net does not work?

Regards

MAhesh

Hi Mahesh,

sh run vrf <vrf name> does not work will all switches and IOS versions.  I know it works with Nexus OS, but as far as I know it does not work with most regular IOS images.

If you want to see the config you can try:

sh run | b vrf Net

Thanks,

Reza

 

 

Many thanks Reza.

I know i can always rely on you for my network issues.

Regards

Mahesh

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:

Review Cisco Networking products for a $25 gift card