Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Different prefix in PE router

Configured a subinterface in Gig ethernet with /30 mask but still its observed that in routing table it entry is /32.

Platform is 7206 NPE-G with MPLS enabled

5 REPLIES

Re: Different prefix in PE router

Hi,

can you please give more information like a relevant portion of the config and show command outputs?

In some environments host routes are created by routing protocols.

Regards, Martin

New Member

Re: Different prefix in PE router

Foll is sample config in which connected /30 route is seen without any subnet in "show ip route" output

ip vrf TEST

rd AS:12422

route-target both AS:10396

ip vrf forwarding TEST

ip address 172.25.240.253 255.255.255.252

address-family ipv4 vrf TEST

redistribute connected

redistribute static

no auto-summary

no synchronization

exit-address-family

sh ip route vrf TEST connected

C 172.25.240.252 is directly connected, FastEthernet 0/1.1212

Re: Different prefix in PE router

Hi Vinayak,

The sh ip route vrf output seems to be correct.

The ip address configured on the inerface is 172.25.240.253/30 which falls within the subnet 172.25.240.252.

This subnet entry is correctly being shown as directly connected.

HTH, rate if it does

Narayan

New Member

Re: Different prefix in PE router

If its connected route is should be in routing table with subnet/30 and not /32 as seen currently .

Re: Different prefix in PE router

Vinayak,

Can you please issue the command sh ip route vrf test without the connected keyword and check.

Post the results

Narayan

227
Views
0
Helpful
5
Replies