RouterOS handleiding

Instance



routing/ospf/instance

Type: Directory

<ArgTableRow arg="X" typ="disabled">disabled</ArgTableRow> <ArgTableRow arg="I" typ="inactive">inactive</ArgTableRow>

<ArgTableRow arg="name" typ="string"></ArgTableRow> <ArgTableRow arg="version" typ="enum (2 | 3)">OSPF version this instance will be running (v2 for IPv4, v3 for IPv6).</ArgTableRow> <ArgTableRow arg="vrf" typ="enum">The VRF table this OSPF instance operates on.</ArgTableRow> <ArgTableRow arg="router-id" typ="alt { ip: ipAddr , id: enum }">OSPF Router ID. Can be set explicitly as an IP address, or as the name of the router-id instance.</ArgTableRow> <ArgTableRow arg="out-filter-select" typ="enum" unset="1">Name of the routing filter select chain, used for output selection. Output operates only with external routes.</ArgTableRow> <ArgTableRow arg="out-filter-chain" typ="enum" unset="1"></ArgTableRow> <ArgTableRow arg="originate-default" typ="enum (never | always | if-installed)" unset="1">Specifies the default route (0.0.0.0/0) distribution method.</ArgTableRow> <ArgTableRow arg="in-filter-chain" typ="enum" unset="1">Name of the routing filter chain used for incoming prefixes.</ArgTableRow> <ArgTableRow arg="routing-table" typ="enum" unset="1"></ArgTableRow> <ArgTableRow arg="mpls-te-address" typ="address (flags=64)" unset="1"></ArgTableRow> <ArgTableRow arg="mpls-te-area" typ="ipAddr" unset="1">The area used for MPLS traffic engineering. TE Opaque LSAs are generated in this area. No more than one OSPF instance can have mpls-te-area configured.</ArgTableRow> <ArgTableRow arg="domain-id" typ="address (flags=R)" unset="1">MPLS-related parameter. Identifies the OSPF domain of the instance. This value is attached to OSPF routes redistributed in BGP as VPNv4 routes as a BGP extended community attribute and used when BGP VPNv4 routes are redistributed back to OSPF to determine whether to generate an inter-area or AS-external LSA for that route. By default Null domain-id is used, as described in RFC 4577.</ArgTableRow> <ArgTableRow arg="domain-tag" typ="num" unset="1">If set, then used in route redistribution (as route-tag in all external LSAs generated by this router), and in route calculation (all external LSAs having this route tag are ignored). Needed for interoperability with older Cisco systems. By default not set.</ArgTableRow> <ArgTableRow arg="use-dn" typ="bool" unset="1">Forces use or ignoring of the DN bit. Useful in some CE-PE scenarios to inject intra-area routes into VRF. If a parameter is unset, then the DN bit is used according to RFC.</ArgTableRow> <ArgTableRow arg="redistribute" typ="ubit (connected, static, rip, ospf, isis, bgp, vpn, dhcp, fantasy, modem, bgp-mpls-vpn, slaac)" unset="1">Enable redistribution of specific route types.</ArgTableRow>

Bron

Bijgewerkt op 2026-08-22.