Setting the External Route Type

When redistributing into OSPF, Cisco IOS automatically sets the external route type to external Type 2 (E2). However, the type can be configured as E1 or E2 by using the set metric-type {type-1 | type-2} route map subcommand. When a redistribute OSPF subcommand references such a route map, the routes matched by the route map clause with the set metric-type command will be designated as that external type in the Type 5 LSA created for that subnet.

Note that the redistribute command also allows the match {internal | external 1 | external 2 | nssa-external} parameters, but these parameters do not set the type of route. Instead, these parameters match existing routes as part of the process of deciding which routes ...

Get CCNP Routing and Switching ROUTE 300-101 Official Cert Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.