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

what the following command will do?

redistribute connected metric-type 1 subnets

redistribute static metric 220 metric-type 1 subnets

1 REPLY
Cisco Employee

Re: what the following command will do?

Hello,

1.) All directly connected networks that are up/up will be redistributed into OSPF as OE1 routes - their metric will be set to 20 and will increase as the information is propagated throughout your OSPF domain.

2.) All static routes that are present in your routing table will be redistributed into OSPF as OE1 routes - their metric will be set to 220 and will increase as the information is propagated throughout your OSPF domain.

The fundamental difference between these two commands is what they redistribute into OSPF. The first command (redistribute connected) takes your directly connected networks, i.e. those marked with 'C' in your routing table. The second command (redistribute static) redistributes static routes, i.e. those marked with 'S' in your routing table.

Best regards,

Peter

190
Views
0
Helpful
1
Replies