OSPFv3
This chapter covers some aspects related to the protocols ospfv3
which is a feature that allows users to manage and monitor the OSPFv3 protocol.
OSPF (Open Shortest Path First) version 3 for IPv6 protocol is a routing protocol described in RFC 2740.
Configuration
The OSPFv3 protocol can be configured either using protocols ospfv3
or in an interface using , interfaces <type> <txt> ipv6 ospfv3, for example,
interfaces dummy <txt> ipv6 ospfv3
or interfaces ethernet <txt> ipv6 ospfv3
.
In OSDx, the OSPFv3 configuration allows various parameters to be set to fine-tune the protocol’s behavior.
An explanation of each configurable parameter in protocols ospfv3
configuration is provided below:
area
: Summarize a group of internal subnets into a single Inter-Area-Prefix LSA. This command can only be used at the area boundary router (ABR).export-list
: Networks announced to other areas.import-list
: Networks from other areas announced to the specified one.range
: It summarizes routes matching prefix (border routers only). This parameter includesadvertise
andnot-advertise
.
auto-cost
: Calculate OSPFv3 interface cost according to bandwidth.reference-bandwidth
: Reference bandwidth method to assign OSPFv3 cost in Mbits/sec.
default-information
: Control distribution of default information.originate
: Distribute a default route. This parameter includesalways
, to always advertise default route;metric
, default metric;metric-type
, metric type for default routes; androute-map
, route map reference.
log-adjacency-changes
: Allows log changes in adjacency state. With the optional argumentdetail
, all adjacency state changes are displayed, without it, only full changes or regressions are shown.paremeters
: OSPFv3 specific parameters. Includes the argumentrouter-id
.redistribute
: Redistribute information from another routing protocol. This parameter includes the following arguments:bgp
,connected
,kernel
,ripng
andstatic
. These five arguments includemetric
, the metric for redistributed routes;metric-type
, OSPFv3 metric type; androute-map
, a route map reference.route-map
: Filter routes installed in local route map.
An explanation of each configurable parameter of OSPFv3 in an interface configuration is provided below:
area
: Summarize a group of internal subnets into a single Inter-Area-Prefix LSA.authentication
: OSPFv3 interface authentication. Includesmd5
andhmac-sha-256
, each of them with their password.bfd
: Enables Bidirectional Forwarding Detection on an interface. Includes the optional argumentprofile
.cost
: Specifies an interface cost.dead-interval
: Interval after which neighbor is dead.hello-interval
: Interval between hello packets.ifmtu
: Interface MTU value.instance-id
: Instance identifier.mtu-ignore
: Disables Maximum Transmission Unit (MTU) mismatch detection.network
: Specifies network type:broadcast
, orpoint-to-point
.passive
: Disables forming of adjacency.priority
: Router priority.retransmit-interval
: Interval between retransmitting lost link state advertisements.transmit-delay
: Link state transmit delay in seconds.
Monitoring
To monitor the status and configuration of OSPFv3 protocol, you can use the following commands:
protocols ospfv3 show
to monitor OSPFv3 protocol.
Examples
Here you can find examples related to OSPFv3.
Command Summary
Configuration commands
protocols ospfv3 area <u32|ipv4> range <ipv6net> not-advertise
protocols ospfv3 default-information originate metric-type <u32>
protocols ospfv3 default-information originate route-map <txt>
interfaces bridge <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32>
interfaces bridge <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> encrypted-password <password>
interfaces bridge <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> password <txt>
interfaces bridge <txt> ipv6 ospfv3 authentication md5 <u32>
interfaces bridge <txt> ipv6 ospfv3 authentication md5 <u32> encrypted-password <password>
interfaces bridge <txt> ipv6 ospfv3 authentication md5 <u32> password <txt>
interfaces bridge <txt> ipv6 ospfv3 retransmit-interval <u32>
interfaces bridge <txt> vif <u32> ipv6 ospfv3 area <u32|ipv4>
interfaces bridge <txt> vif <u32> ipv6 ospfv3 authentication
interfaces bridge <txt> vif <u32> ipv6 ospfv3 authentication hmac-sha-256 <u32>
interfaces bridge <txt> vif <u32> ipv6 ospfv3 authentication hmac-sha-256 <u32> password <txt>
interfaces bridge <txt> vif <u32> ipv6 ospfv3 authentication md5 <u32>
interfaces bridge <txt> vif <u32> ipv6 ospfv3 authentication md5 <u32> encrypted-password <password>
interfaces bridge <txt> vif <u32> ipv6 ospfv3 authentication md5 <u32> password <txt>
interfaces bridge <txt> vif <u32> ipv6 ospfv3 bfd profile <txt>
interfaces bridge <txt> vif <u32> ipv6 ospfv3 dead-interval <u32>
interfaces bridge <txt> vif <u32> ipv6 ospfv3 hello-interval <u32>
interfaces bridge <txt> vif <u32> ipv6 ospfv3 instance-id <u32>
interfaces bridge <txt> vif <u32> ipv6 ospfv3 priority <u32>
interfaces bridge <txt> vif <u32> ipv6 ospfv3 retransmit-interval <u32>
interfaces bridge <txt> vif <u32> ipv6 ospfv3 transmit-delay <u32>
interfaces dummy <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32>
interfaces dummy <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> encrypted-password <password>
interfaces dummy <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> password <txt>
interfaces dummy <txt> ipv6 ospfv3 authentication md5 <u32> encrypted-password <password>
interfaces dummy <txt> ipv6 ospfv3 authentication md5 <u32> password <txt>
interfaces dummy <txt> ipv6 ospfv3 retransmit-interval <u32>
interfaces ethernet <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32>
interfaces ethernet <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> password <txt>
interfaces ethernet <txt> ipv6 ospfv3 authentication md5 <u32>
interfaces ethernet <txt> ipv6 ospfv3 authentication md5 <u32> encrypted-password <password>
interfaces ethernet <txt> ipv6 ospfv3 authentication md5 <u32> password <txt>
interfaces ethernet <txt> ipv6 ospfv3 retransmit-interval <u32>
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 area <u32|ipv4>
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 authentication
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 authentication hmac-sha-256 <u32>
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 authentication hmac-sha-256 <u32> password <txt>
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 authentication md5 <u32>
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 authentication md5 <u32> password <txt>
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 bfd profile <txt>
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 dead-interval <u32>
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 hello-interval <u32>
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 instance-id <u32>
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 network <id>
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 priority <u32>
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 retransmit-interval <u32>
interfaces ethernet <txt> vif <u32> ipv6 ospfv3 transmit-delay <u32>
interfaces openvpn <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32>
interfaces openvpn <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> encrypted-password <password>
interfaces openvpn <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> password <txt>
interfaces openvpn <txt> ipv6 ospfv3 authentication md5 <u32>
interfaces openvpn <txt> ipv6 ospfv3 authentication md5 <u32> encrypted-password <password>
interfaces openvpn <txt> ipv6 ospfv3 authentication md5 <u32> password <txt>
interfaces openvpn <txt> ipv6 ospfv3 retransmit-interval <u32>
interfaces tunnel <id> ipv6 ospfv3 authentication hmac-sha-256 <u32>
interfaces tunnel <id> ipv6 ospfv3 authentication hmac-sha-256 <u32> encrypted-password <password>
interfaces tunnel <id> ipv6 ospfv3 authentication hmac-sha-256 <u32> password <txt>
interfaces tunnel <id> ipv6 ospfv3 authentication md5 <u32> encrypted-password <password>
interfaces tunnel <id> ipv6 ospfv3 authentication md5 <u32> password <txt>
interfaces tunnel <id> ipv6 ospfv3 retransmit-interval <u32>
interfaces vxlan <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32>
interfaces vxlan <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> encrypted-password <password>
interfaces vxlan <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> password <txt>
interfaces vxlan <txt> ipv6 ospfv3 authentication md5 <u32> encrypted-password <password>
interfaces vxlan <txt> ipv6 ospfv3 authentication md5 <u32> password <txt>
interfaces vxlan <txt> ipv6 ospfv3 retransmit-interval <u32>
interfaces wlan <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32>
interfaces wlan <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> encrypted-password <password>
interfaces wlan <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> password <txt>
interfaces wlan <txt> ipv6 ospfv3 authentication md5 <u32> encrypted-password <password>
interfaces wlan <txt> ipv6 ospfv3 authentication md5 <u32> password <txt>
Operational commands
protocols ospfv3 show database adv-router any <ipv4> internal
protocols ospfv3 show database adv-router <ipv4> linkstate-id <ipv4>
protocols ospfv3 show database adv-router <ipv4> linkstate-id <ipv4> internal
protocols ospfv3 show database adv-router <ipv4> linkstate-id <ipv4> dump
protocols ospfv3 show database adv-router <ipv4> linkstate-id <ipv4> detail
protocols ospfv3 show database as-external adv-router <ipv4>
protocols ospfv3 show database as-external adv-router <ipv4> internal
protocols ospfv3 show database as-external adv-router <ipv4> dump
protocols ospfv3 show database as-external adv-router <ipv4> detail
protocols ospfv3 show database as-external adv-router <ipv4> linkstate-id <ipv4>
protocols ospfv3 show database as-external adv-router <ipv4> linkstate-id <ipv4> internal
protocols ospfv3 show database as-external adv-router <ipv4> linkstate-id <ipv4> dump
protocols ospfv3 show database as-external any <ipv4> internal
protocols ospfv3 show database as-external any <ipv4> detail
protocols ospfv3 show database as-external linkstate-id <ipv4>
protocols ospfv3 show database as-external linkstate-id <ipv4> internal
protocols ospfv3 show database as-external linkstate-id <ipv4> dump
protocols ospfv3 show database as-external linkstate-id <ipv4> detail
protocols ospfv3 show database as-external <ipv4> <ipv4> internal
protocols ospfv3 show database as-external <ipv4> <ipv4> dump
protocols ospfv3 show database as-external <ipv4> self-originated
protocols ospfv3 show database as-external <ipv4> self-originated internal
protocols ospfv3 show database as-external <ipv4> self-originated dump
protocols ospfv3 show database as-external <ipv4> self-originated detail
protocols ospfv3 show database as-external self-originated internal
protocols ospfv3 show database as-external self-originated dump
protocols ospfv3 show database as-external self-originated detail
protocols ospfv3 show database as-external self-originated linkstate-id <ipv4>
protocols ospfv3 show database as-external self-originated linkstate-id <ipv4> internal
protocols ospfv3 show database as-external self-originated linkstate-id <ipv4> dump
protocols ospfv3 show database as-external self-originated linkstate-id <ipv4> detail
protocols ospfv3 show database group-membership adv-router <ipv4>
protocols ospfv3 show database group-membership adv-router <ipv4> internal
protocols ospfv3 show database group-membership adv-router <ipv4> dump
protocols ospfv3 show database group-membership adv-router <ipv4> detail
protocols ospfv3 show database group-membership adv-router <ipv4> linkstate-id <ipv4>
protocols ospfv3 show database group-membership adv-router <ipv4> linkstate-id <ipv4> internal
protocols ospfv3 show database group-membership adv-router <ipv4> linkstate-id <ipv4> dump
protocols ospfv3 show database group-membership any <ipv4> internal
protocols ospfv3 show database group-membership any <ipv4> dump
protocols ospfv3 show database group-membership any <ipv4> detail
protocols ospfv3 show database group-membership linkstate-id <ipv4>
protocols ospfv3 show database group-membership linkstate-id <ipv4> internal
protocols ospfv3 show database group-membership linkstate-id <ipv4> dump
protocols ospfv3 show database group-membership linkstate-id <ipv4> detail
protocols ospfv3 show database group-membership <ipv4> <ipv4>
protocols ospfv3 show database group-membership <ipv4> <ipv4> internal
protocols ospfv3 show database group-membership <ipv4> <ipv4> dump
protocols ospfv3 show database group-membership <ipv4> self-originated
protocols ospfv3 show database group-membership <ipv4> self-originated internal
protocols ospfv3 show database group-membership <ipv4> self-originated dump
protocols ospfv3 show database group-membership <ipv4> self-originated detail
protocols ospfv3 show database group-membership self-originated
protocols ospfv3 show database group-membership self-originated internal
protocols ospfv3 show database group-membership self-originated dump
protocols ospfv3 show database group-membership self-originated detail
protocols ospfv3 show database group-membership self-originated linkstate-id <ipv4>
protocols ospfv3 show database group-membership self-originated linkstate-id <ipv4> internal
protocols ospfv3 show database group-membership self-originated linkstate-id <ipv4> dump
protocols ospfv3 show database group-membership self-originated linkstate-id <ipv4> detail
protocols ospfv3 show database inter-prefix adv-router <ipv4>
protocols ospfv3 show database inter-prefix adv-router <ipv4> internal
protocols ospfv3 show database inter-prefix adv-router <ipv4> dump
protocols ospfv3 show database inter-prefix adv-router <ipv4> detail
protocols ospfv3 show database inter-prefix adv-router <ipv4> linkstate-id <ipv4>
protocols ospfv3 show database inter-prefix adv-router <ipv4> linkstate-id <ipv4> internal
protocols ospfv3 show database inter-prefix adv-router <ipv4> linkstate-id <ipv4> dump
protocols ospfv3 show database inter-prefix any <ipv4> internal
protocols ospfv3 show database inter-prefix any <ipv4> detail
protocols ospfv3 show database inter-prefix linkstate-id <ipv4>
protocols ospfv3 show database inter-prefix linkstate-id <ipv4> internal
protocols ospfv3 show database inter-prefix linkstate-id <ipv4> dump
protocols ospfv3 show database inter-prefix linkstate-id <ipv4> detail
protocols ospfv3 show database inter-prefix <ipv4> <ipv4> internal
protocols ospfv3 show database inter-prefix <ipv4> <ipv4> dump
protocols ospfv3 show database inter-prefix <ipv4> self-originated
protocols ospfv3 show database inter-prefix <ipv4> self-originated internal
protocols ospfv3 show database inter-prefix <ipv4> self-originated dump
protocols ospfv3 show database inter-prefix <ipv4> self-originated detail
protocols ospfv3 show database inter-prefix self-originated internal
protocols ospfv3 show database inter-prefix self-originated dump
protocols ospfv3 show database inter-prefix self-originated detail
protocols ospfv3 show database inter-prefix self-originated linkstate-id <ipv4>
protocols ospfv3 show database inter-prefix self-originated linkstate-id <ipv4> internal
protocols ospfv3 show database inter-prefix self-originated linkstate-id <ipv4> dump
protocols ospfv3 show database inter-prefix self-originated linkstate-id <ipv4> detail
protocols ospfv3 show database inter-router adv-router <ipv4>
protocols ospfv3 show database inter-router adv-router <ipv4> internal
protocols ospfv3 show database inter-router adv-router <ipv4> dump
protocols ospfv3 show database inter-router adv-router <ipv4> detail
protocols ospfv3 show database inter-router adv-router <ipv4> linkstate-id <ipv4>
protocols ospfv3 show database inter-router adv-router <ipv4> linkstate-id <ipv4> internal
protocols ospfv3 show database inter-router adv-router <ipv4> linkstate-id <ipv4> dump
protocols ospfv3 show database inter-router any <ipv4> internal
protocols ospfv3 show database inter-router any <ipv4> detail
protocols ospfv3 show database inter-router linkstate-id <ipv4>
protocols ospfv3 show database inter-router linkstate-id <ipv4> internal
protocols ospfv3 show database inter-router linkstate-id <ipv4> dump
protocols ospfv3 show database inter-router linkstate-id <ipv4> detail
protocols ospfv3 show database inter-router <ipv4> <ipv4> internal
protocols ospfv3 show database inter-router <ipv4> <ipv4> dump
protocols ospfv3 show database inter-router <ipv4> self-originated
protocols ospfv3 show database inter-router <ipv4> self-originated internal
protocols ospfv3 show database inter-router <ipv4> self-originated dump
protocols ospfv3 show database inter-router <ipv4> self-originated detail
protocols ospfv3 show database inter-router self-originated internal
protocols ospfv3 show database inter-router self-originated dump
protocols ospfv3 show database inter-router self-originated detail
protocols ospfv3 show database inter-router self-originated linkstate-id <ipv4>
protocols ospfv3 show database inter-router self-originated linkstate-id <ipv4> internal
protocols ospfv3 show database inter-router self-originated linkstate-id <ipv4> dump
protocols ospfv3 show database inter-router self-originated linkstate-id <ipv4> detail
protocols ospfv3 show database intra-prefix adv-router <ipv4>
protocols ospfv3 show database intra-prefix adv-router <ipv4> internal
protocols ospfv3 show database intra-prefix adv-router <ipv4> dump
protocols ospfv3 show database intra-prefix adv-router <ipv4> detail
protocols ospfv3 show database intra-prefix adv-router <ipv4> linkstate-id <ipv4>
protocols ospfv3 show database intra-prefix adv-router <ipv4> linkstate-id <ipv4> internal
protocols ospfv3 show database intra-prefix adv-router <ipv4> linkstate-id <ipv4> dump
protocols ospfv3 show database intra-prefix any <ipv4> internal
protocols ospfv3 show database intra-prefix any <ipv4> detail
protocols ospfv3 show database intra-prefix linkstate-id <ipv4>
protocols ospfv3 show database intra-prefix linkstate-id <ipv4> internal
protocols ospfv3 show database intra-prefix linkstate-id <ipv4> dump
protocols ospfv3 show database intra-prefix linkstate-id <ipv4> detail
protocols ospfv3 show database intra-prefix <ipv4> <ipv4> internal
protocols ospfv3 show database intra-prefix <ipv4> <ipv4> dump
protocols ospfv3 show database intra-prefix <ipv4> self-originated
protocols ospfv3 show database intra-prefix <ipv4> self-originated internal
protocols ospfv3 show database intra-prefix <ipv4> self-originated dump
protocols ospfv3 show database intra-prefix <ipv4> self-originated detail
protocols ospfv3 show database intra-prefix self-originated internal
protocols ospfv3 show database intra-prefix self-originated dump
protocols ospfv3 show database intra-prefix self-originated detail
protocols ospfv3 show database intra-prefix self-originated linkstate-id <ipv4>
protocols ospfv3 show database intra-prefix self-originated linkstate-id <ipv4> internal
protocols ospfv3 show database intra-prefix self-originated linkstate-id <ipv4> dump
protocols ospfv3 show database intra-prefix self-originated linkstate-id <ipv4> detail
protocols ospfv3 show database link adv-router <ipv4> internal
protocols ospfv3 show database link adv-router <ipv4> detail
protocols ospfv3 show database link adv-router <ipv4> linkstate-id <ipv4>
protocols ospfv3 show database link adv-router <ipv4> linkstate-id <ipv4> internal
protocols ospfv3 show database link adv-router <ipv4> linkstate-id <ipv4> dump
protocols ospfv3 show database link linkstate-id <ipv4> internal
protocols ospfv3 show database link linkstate-id <ipv4> dump
protocols ospfv3 show database link linkstate-id <ipv4> detail
protocols ospfv3 show database link <ipv4> self-originated internal
protocols ospfv3 show database link <ipv4> self-originated dump
protocols ospfv3 show database link <ipv4> self-originated detail
protocols ospfv3 show database link self-originated internal
protocols ospfv3 show database link self-originated linkstate-id <ipv4>
protocols ospfv3 show database link self-originated linkstate-id <ipv4> internal
protocols ospfv3 show database link self-originated linkstate-id <ipv4> dump
protocols ospfv3 show database link self-originated linkstate-id <ipv4> detail
protocols ospfv3 show database network adv-router <ipv4> internal
protocols ospfv3 show database network adv-router <ipv4> dump
protocols ospfv3 show database network adv-router <ipv4> detail
protocols ospfv3 show database network adv-router <ipv4> linkstate-id <ipv4>
protocols ospfv3 show database network adv-router <ipv4> linkstate-id <ipv4> internal
protocols ospfv3 show database network adv-router <ipv4> linkstate-id <ipv4> dump
protocols ospfv3 show database network linkstate-id <ipv4> internal
protocols ospfv3 show database network linkstate-id <ipv4> dump
protocols ospfv3 show database network linkstate-id <ipv4> detail
protocols ospfv3 show database network <ipv4> <ipv4> internal
protocols ospfv3 show database network <ipv4> self-originated
protocols ospfv3 show database network <ipv4> self-originated internal
protocols ospfv3 show database network <ipv4> self-originated dump
protocols ospfv3 show database network <ipv4> self-originated detail
protocols ospfv3 show database network self-originated internal
protocols ospfv3 show database network self-originated detail
protocols ospfv3 show database network self-originated linkstate-id <ipv4>
protocols ospfv3 show database network self-originated linkstate-id <ipv4> internal
protocols ospfv3 show database network self-originated linkstate-id <ipv4> dump
protocols ospfv3 show database network self-originated linkstate-id <ipv4> detail
protocols ospfv3 show database router adv-router <ipv4> internal
protocols ospfv3 show database router adv-router <ipv4> dump
protocols ospfv3 show database router adv-router <ipv4> detail
protocols ospfv3 show database router adv-router <ipv4> linkstate-id <ipv4>
protocols ospfv3 show database router adv-router <ipv4> linkstate-id <ipv4> internal
protocols ospfv3 show database router adv-router <ipv4> linkstate-id <ipv4> dump
protocols ospfv3 show database router linkstate-id <ipv4> internal
protocols ospfv3 show database router linkstate-id <ipv4> dump
protocols ospfv3 show database router linkstate-id <ipv4> detail
protocols ospfv3 show database router <ipv4> <ipv4> internal
protocols ospfv3 show database router <ipv4> self-originated
protocols ospfv3 show database router <ipv4> self-originated internal
protocols ospfv3 show database router <ipv4> self-originated dump
protocols ospfv3 show database router <ipv4> self-originated detail
protocols ospfv3 show database router self-originated internal
protocols ospfv3 show database router self-originated detail
protocols ospfv3 show database router self-originated linkstate-id <ipv4>
protocols ospfv3 show database router self-originated linkstate-id <ipv4> internal
protocols ospfv3 show database router self-originated linkstate-id <ipv4> dump
protocols ospfv3 show database router self-originated linkstate-id <ipv4> detail
protocols ospfv3 show interface <ifc> prefix <ipv6|ipv6net> match
protocols ospfv3 show interface <ifc> prefix <ipv6|ipv6net> detail
protocols ospfv3 show interface prefix <ipv6|ipv6net> detail
protocols ospfv3 show interface prefix prefix <ipv6|ipv6net>
protocols ospfv3 show interface prefix prefix <ipv6|ipv6net> match
protocols ospfv3 show interface prefix prefix <ipv6|ipv6net> detail