cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
514
Views
0
Helpful
1
Replies

what the following command will do?

vinothlb1
Level 1
Level 1

redistribute connected metric-type 1 subnets

redistribute static metric 220 metric-type 1 subnets

1 Reply 1

Peter Paluch
Cisco Employee
Cisco Employee

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