accept adv-rtr (for OSPF)
Use a route policy to define how the switch Redistribute external routes from a specified
source into an OSPF domain. The policy defines which route types the switch accepts and
Redistribute.
Syntax
-
accept adv-rtr
{A.B.C.D}
-
accept adv-rtr {A.B.C.D}
enable
-
accept adv-rtr {A.B.C.D}
metric-type { type1 | type2 | any }
-
accept adv-rtr {A.B.C.D}
route-map WORD<0-64>
-
default accept adv-rtr
{A.B.C.D}
-
default accept adv-rtr
{A.B.C.D} enable
-
default accept adv-rtr
{A.B.C.D} metric-type
-
default accept adv-rtr
{A.B.C.D} route-map
-
no accept adv-rtr
{A.B.C.D}
-
no accept adv-rtr
{A.B.C.D} enable
Command Parameters
- {A.B.C.D}
- Specifies the IP address.
- enable
- Enables an OSPF accept entry for a
specified advertising router.
- metric-type <type1|type2|any>
- Indicates the OSPF external type.
This parameter describes which types of OSPF external routes match this entry. any
means match all external routes. type1 means match external type 1 only. type2
means match external type 2 only.
- route-map WORD<0-64>
- Specifies the name of the route
policy to use for filtering external routes advertised by the specified
advertising router before accepting into the routing table.
Command Mode
OSPF Router Configuration