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. And see here for current known issues.

New Member

metric- type1;metric-type2

HI EXPERT'S!

i Have to know where/when during Redistribution we have to use metric- type1;metric-type2

10xs

1 ACCEPTED SOLUTION

Accepted Solutions

Re: metric- type1;metric-type2

Sayed,

You would use metric-type 1 or 2 when you redistribute another protocol into OSPF.

The default metric-type is 2. In other words, if you don't specify the metric type it defaults to 2.

As you may know OSPF uses cost as the metric. Metric-type 2 would cause the 'cost' of the redistributed route to be the same on all the downstream routers. On the other hand, metric-type 1 would cause the 'cost' to increment as the route traverses from router to router.

As you can see metric-type 1 will lead to optimal routing when multiple paths exist to the external network. However, if there's only a single path to the network that is redistributed then metric-type 2 should suffice.

HTH

Sundar

3 REPLIES
New Member

Re: metric- type1;metric-type2

I would say it's the classic answer of "it depends." What are you trying to accomplish?

is it study or production related?

Re: metric- type1;metric-type2

Sayed,

You would use metric-type 1 or 2 when you redistribute another protocol into OSPF.

The default metric-type is 2. In other words, if you don't specify the metric type it defaults to 2.

As you may know OSPF uses cost as the metric. Metric-type 2 would cause the 'cost' of the redistributed route to be the same on all the downstream routers. On the other hand, metric-type 1 would cause the 'cost' to increment as the route traverses from router to router.

As you can see metric-type 1 will lead to optimal routing when multiple paths exist to the external network. However, if there's only a single path to the network that is redistributed then metric-type 2 should suffice.

HTH

Sundar

New Member

Re: metric- type1;metric-type2

HI Sundar!

Thanks a lot for ur reply!

Regards

105
Views
0
Helpful
3
Replies