Command: accept adv-rtr

Home | Command modes | Alphabetical listing

accept adv-rtr

Configures the OSPF accept-advertisements router policy.

Syntax

Default

None

Command mode

OSPF Router Configuration

Command parameters

ParameterDescription

A.B.C.D

Represents the IP address of the router from which advertisements are to be accepted. The value 0.0.0.0 denotes that advertisements from all routers are accepted

any

match any metric type

enable

Enables the accept entry for the router specified in the <ip_address> parameter

metric-type {any | type1 | type2}

Indicates the type of OSPF external routes that will be accepted from this router

route-policy <WORD>

Specifies the name of a previously configured route map to be used for filtering external routes advertised by the specified advertising router before accepting them into the routing table

type1

match type-1 metric type

type2

match type-2 metric type