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

OSPF E1 route

Can I know what the does the following statement means?

For OSPF E1 router, it is external to the autonomous system. E1 includes the internal cost to the ASBR added to the

external cost.

Does it mean that the cost to reach a other AS is the internal cost + external advertised cost?

Please help to explain. Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Silver

Re: OSPF E1 route

Hi,

E1 means that you can advertise the route by the ASBR, ie the router advertising the non ospf route, and specify the metric.

Then the routers will add the metric to the ASBR to the advertised metric for the external routes.

This is used when you want to make sure that internal routers take their OWN best path to the ASBR. Whereas E2 you just advertise the metric on the ASBR and it is hard set throughout the ospf domain.

For E1 the metric will change the further away from the ASBR that the routes propogates. Whereas E2 it is the same value on all ospf routers in the ospf domain.

HTH

LR

4 REPLIES
Silver

Re: OSPF E1 route

Hi,

E1 means that you can advertise the route by the ASBR, ie the router advertising the non ospf route, and specify the metric.

Then the routers will add the metric to the ASBR to the advertised metric for the external routes.

This is used when you want to make sure that internal routers take their OWN best path to the ASBR. Whereas E2 you just advertise the metric on the ASBR and it is hard set throughout the ospf domain.

For E1 the metric will change the further away from the ASBR that the routes propogates. Whereas E2 it is the same value on all ospf routers in the ospf domain.

HTH

LR

New Member

Re: OSPF E1 route

Thanks for your information.

Can I know how does ospf calculate the metric value? Is it using the same method to calculate ospf cost?

cost = 100000000 /ref BW bps

Silver

Re: OSPF E1 route

Hi,

That is correct, a router will use its interface ospf cost to determine what the real metric is for a route, for E1.

HTH

LR

New Member

Re: OSPF E1 route

Cost is the OSPF metric, expressed as an unsigned 16-bit integer in the range of 1 to 65535.

Cisco default 10^8/BW

Here 10^8 is the reference bandwidth, thus for an interface having a configured bandwidth of 512K,

the Cost is 10^8/512K ~ 195

HTH

106
Views
8
Helpful
4
Replies