API Guide

Example
OS10(config)# interface vlan 10
OS10(conf-if-vl-10)# ipv6 ospf 10 area 1
Supported
Releases
10.3.0E or later
ipv6 ospf authentication
Configures OSPFv3 authentication on an IPv6 interface.
Syntax
ipv6 ospf authentication {null | ipsec spi number {MD5 | SHA1} key}
Parameters
null Prevents area authentication from being inherited on the interface.
ipsec spi number Enter a unique security policy index number, from 256 to 4294967295.
md5 Enable MD5 authentication.
sha1 Enable SHA1 authentication.
key Enter the text string used by the authentication type.
Default IPv6 OSPF authentication is not configured on an interface.
Command Mode INTERFACE
Usage
Information
Before you enable IPsec authentication on an OSPFv3 interface, you must enable IPv6 unicast routing
globally, configure an IPv6 address and enable OSPFv3 on the interface, and assign it to an area.
The SPI value must be unique to one IPsec authentication or encryption security policy on the router.
You cannot configure the same SPI value on another interface even if it uses the same authentication
or encryption algorithm.
You cannot use an IPsec MD5 or SHA1 authentication type and the null setting at same time on an
interface. These settings are mutually exclusive.
All neighboring OSPFv3 routers must share the key to exchange information. Only a non-encrypted
key is supported. For MD5 authentication, the non-encrypted key must be 32 plain hex digits. For
SHA1 authentication, the non-encrypted key must be 40 hex digits. An encrypted key is not supported.
Example
OS10(config)# interface ethernet 1/1/6
OS10(conf-if-eth1/1/6)# ipv6 ospf authentication ipsec spi 400 md5
12345678123456781234567812345678
Supported
Releases
10.4.0E(R1) or later
ipv6 ospf cost
Changes the cost associated with the OSPFv3 traffic on an interface
Syntax
ipv6 ospf cost cost
Parameters cost Enter a value as the OSPFv3 cost for the interface, from 1 to 65335.
Default Based on bandwidth reference
Command Mode INTERFACE
Usage
Information
If not configured, the interface cost is based on the auto-cost command. This command configures
OSPFv3 over multiple vendors to ensure that all routers use the same cost value. The no version of this
command removes the IPv6 OSPF cost configuration.
Example
OS10(config)# interface vlan 10
OS10(conf-if-vl-10)# ipv6 ospf cost 10
Supported
Releases
10.3.0E or later
Layer 3 735