OSPFv3 Configuration
show ipv6 ospf6
Section titled “show ipv6 ospf6”[Command]
show ipv6 ospf6
[Purpose]
Display OSPFv3 details
[View]
System view
[Use Cases]
sonic# show ipv6 ospf6show ipv6 ospf6 database
Section titled “show ipv6 ospf6 database”[Command]
show ipv6 ospf6 database [detail|dump|internal]
show ipv6 ospf6 database [router|network|inter-prefix|inter-router|as-external|group-membership|type-7|link|intra-prefix][detail|dump|internal]
[Purpose]
This command shows LSAs present in the LSDB.
[View]
System view
[Use Cases]
sonic# show ipv6 ospf6 database detailshow ipv6 ospf6 database adv-router
Section titled “show ipv6 ospf6 database adv-router”[Command]
show ipv6 ospf6 database adv-router A.B.C.D linkstate-id A.B.C.D
[Purpose]
The LSAs additinally can also be filtered with the linkstate-id and advertising-router fields
[Parameter]
| Parameter | Description |
|---|---|
| A.B.C.D | IP address |
[View]
System view
[Use Cases]
sonic# show ipv6 ospf6 database network adv-router 1.1.1.1 linkstate-id 1.1.1.1show ipv6 ospf6 database self-originated
Section titled “show ipv6 ospf6 database self-originated”[Command]
show ipv6 ospf6 database self-originated
[Purpose]
This command is used to filter the LSAs which are originated by the present router.
[View]
System view
[Use Cases]
sonic# show ipv6 ospf6 database self-originatedshow ipv6 ospf6 interface
Section titled “show ipv6 ospf6 interface”[Command]
**show ipv6 ospf6 interface ** [ethernet interface_name |vlan vlan_id |link- aggregation lag_id ]
[Purpose]
To see OSPF interface configuration like costs.
[Parameter]
| Parameter | Description |
|---|---|
| interface_name | Ethernet interface name (0..54) |
| vlan_id | VLAN id (1..4094) |
| lag_id | Link-aggregation interface number |
[View]
System view
[Use Cases]
sonic# show ipv6 ospf6 interface ethernet 1show ipv6 ospf6 neighbor
Section titled “show ipv6 ospf6 neighbor”[Command]
show ipv6 ospf6 neighbor
[Purpose]
Show state and chosen (backup) DR of neighbor.
[View]
System view
[Use Cases]
sonic# show ipv6 ospf6 neighborshow ipv6 ospf6 interface traffic
Section titled “show ipv6 ospf6 interface traffic”[Command]
show ipv6 ospf6 interface traffic
[Purpose]
Show counts of different packets that have been received and transmitted by the interfaces
[View]
System view
[Use Cases]
sonic# show ipv6 ospf6 interface trafficshow ipv6 route ospf6
Section titled “show ipv6 route ospf6”[Command]
show ipv6 route ospf6
[Purpose]
This command shows internal routing table
[View]
System view
[Use Cases]
sonic# show ipv6 route ospf6show ipv6 ospf6 redistribute
Section titled “show ipv6 ospf6 redistribute”[Command]
show ipv6 ospf6 redistribute
[Purpose]
Show the routes which are redistributed by the router.
[View]
System view
[Use Cases]
sonic# show ipv6 ospf6 redistributeshow ipv6 ospf6 route
Section titled “show ipv6 ospf6 route”[Command]
show ipv6 ospf6 route X:X::X:X*/M* match [detail]
[Purpose]
The additional match option will match the given address to the destination of the routes, and return the result accordingly.
[View]
System view
[Use Cases]
sonic# show ipv6 ospf6 route 1::1/64 match detailshow ipv6 ospf6 interface prefix
Section titled “show ipv6 ospf6 interface prefix”[Command]
**show ipv6 ospf6 interface ** [ethernet interface_name |vlan vlan_id |link- aggregation lag_id ] prefix ** [detail|X:X::X:X | X:X::X:X/M [match|detail]]
[Purpose]
This command shows the prefixes present in the interface routing table. Interface name can also be given.
[Parameter]
| Parameter | Description |
|---|---|
| interface_name | Ethernet interface name (0..54) |
| vlan_id | VLAN id (1..4094) |
| lag_id | Link-aggregation interface number |
[View]
System view
[Use Cases]
sonic# show ipv6 ospf6 interface ethernet 1 prefix 1::1/64 matchospf6 router-id
Section titled “ospf6 router-id”[Command]
ospf6 router-id A.B.C.D
[Purpose]
This sets the router-ID of the OSPF6 process..
[Parameter]
| Parameter | Description |
|---|---|
| A.B.C.D | OSPF6 router-id in IP address format |
[View]
OSPF view
[Use Cases]
sonic# configure terminalsonic(config)# router ospf6sonic(config-router)# ospf6 router-id 1.1.1.1timers throttle spf
Section titled “timers throttle spf”[Command] timers throttle spf delay_time init_hold_time max_hold_time
no timers throttle spf delay_time init_hold_time max_hold_time
[Purpose] This command sets the initial delay, the initial-holdtime and the maximum-holdtime.
[Parameter]
| Parameter | Description |
|---|---|
| delay_time | time (msec) (0..600000) |
| init_hold_time | inital time (msec) (0..600000) |
| max_hold_time | maxtime (msec) (0..600000) |
[View]
OSPF view
[Use Cases]
sonic# configure terminalsonic(config)# router ospf6sonic(config-router)# timers throttle spf 1 2 3auto-cost reference-bandwidth
Section titled “auto-cost reference-bandwidth”[Command]
auto-cost reference-bandwidth bandwidth
no auto-cost reference-bandwidth bandwidth
[Purpose]
This command configures the auto-cost reference broadband for OSPFv3.
[Parameter]
| Parameter | Description |
|---|---|
| bandwidth | The reference bandwidth in terms of Mbits per second (1..4294967) |
[View]
OSPF view
[Use Cases]
sonic# configure terminalsonic(config)# router ospf6sonic(config-router)# auto-cost reference-bandwidth 2[Command]
area { A.B.C.D | area_id } range X:X::X:X*/M* [advertise| not-advertise |cost metric ]
no area { A.B.C.D | area_id } range X:X::X:X*/M* [advertise| not-advertise |cost metric ]
[Purpose]
Summarize a group of internal subnets into a single Inter-Area-Prefix LSA. This command can only be used at the area boundary (ABR router)
[Parameter]
| Parameter | Description |
|---|---|
| X:X::X:X*/M* | IPv6 prefix |
| A.B.C.D | OSPF router-id |
| metric | advertised metric for this range (0..16777215) |
[View]
OSPF view
[Use Cases]
sonic# configure terminalsonic(config)# router ospf6sonic(config-router)# area 1.1.1.1 range 1::1/64 advertiseipv6 ospf6 cost
Section titled “ipv6 ospf6 cost”[Command]
ipv6 ospf6 cost COST no ipv6 ospf6 cost COST
[Purpose]
Set link cost for the specified interface.
[Parameter]
| Parameter | Description |
|---|---|
| COST | Cost (1..65535) |
[View]
Interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface ethernet 49sonic(config-if-49)# ipv6 ospf6 cost 12ipv6 ospf6 hello-interval
Section titled “ipv6 ospf6 hello-interval”[Command]
ipv6 ospf6 hello-interval interval [ A.B.C.D ]
no ipv6 ospf6 hello-interval interval [ A.B.C.D ]
[Purpose]
Sets interface’s hello interval. Default value is 10
[Parameter]
| Parameter | Description |
|---|---|
| interval | Seconds (1..65535) |
| A.B.C.D | Address of interface |
[View]
Interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface ethernet 49sonic(config-if-49)# ip ospf hello-interval 2 1.1.1.1ipv6 ospf6 dead-interval
Section titled “ipv6 ospf6 dead-interval”[Command]
ipv6 ospf6 dead-interval interval
no ipv6 ospf6 dead-interval interval
[Purpose]
Set interface’s router dead Interval. Default value is 40.
[Parameter]
| Parameter | Description |
|---|---|
| interval | Seconds (1..65535) |
[View]
Interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface ethernet 49sonic(config-if-49)# ipv6 ospf6 dead-interval 2ipv6 ospf6 transmit-delay
Section titled “ipv6 ospf6 transmit-delay”[Command]
ipv6 ospf6 transmit-delay interval
no ipv6 ospf6 transmit-delay interval
[Purpose]
Set number of seconds for infTransDelay value.
[Parameter]
| Parameter | Description |
|---|---|
| interval | Seconds (1..65535) |
[View]
Interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface ethernet 49sonic(config-if-49)# ipv6 ospf6 retransmit-interval 2ipv6 ospf6 priority
Section titled “ipv6 ospf6 priority”[Command] ipv6 ospf6 priority priority
no ipv6 ospf6 priority priority
[Purpose]
Set router priority integer value.
[Parameter]
| Parameter | Description |
|---|---|
| priority | Priority (0..255) |
[View]
Interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface ethernet 49sonic(config-if-49)# ipv6 ospf6 priority 12ipv6 ospf6 retransmit-interval
Section titled “ipv6 ospf6 retransmit-interval”[Command]
ipv6 ospf6 retransmit-interval interval
no ipv6 ospf6 retransmit-interval interval
[Purpose]
Set number of seconds for rxmtInterval timer value
[Parameter]
| Parameter | Description |
|---|---|
| interval | Seconds (1..65535) |
[View]
Interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface ethernet 49sonic(config-if-49)# ipv6 ospf6 retransmit-interval 2ipv6 ospf6 network {broadcast|point-to-point}
Section titled “ipv6 ospf6 network {broadcast|point-to-point}”[Command]
ipv6 ospf6 network {broadcast|point-to-point}
no ipv6 ospf6 network {broadcast|point-to-point}
[Purpose]
Set explicitly network type for specified interface
[View]
Interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface ethernet 49sonic(config-if-49)# ipv6 ospf6 network broadcastipv6 ospf6 mtu-ignore
Section titled “ipv6 ospf6 mtu-ignore”[Command]
ipv6 ospf6 mtu-ignore no ipv6 ospf6 mtu-ignore
[Purpose]
Ignore MTU when establish OSPFv3.
[View]
Interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface ethernet 49sonic(config-if-49)# ipv6 ospf6 mtu-ignoreredistribute
Section titled “redistribute”[Command]
redistribute {babel|bgp|connected|eigrp|isis|kernel|openfabric|ospf|rip|sharp|static|table} [route-map route_map ]
no redistribute {babel|bgp|connected|eigrp|isis|kernel|openfabric|ospf|rip|sharp|static|table} [route-map route_map ]
[Purpose]
Redistribute routes of the specified protocol or kind into OSPFv3, with the metric type and metric set if specified, filtering the routes using the given route-map if specified.
[Parameter]
| Parameter | Description |
|---|---|
| route_map | Pointer to route-map entries |
[View]
OSPF view
[Use Cases]
sonic# configure terminalsonic(config)# router ospf6sonic(config-router)# redistribute static route-map test