OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

ipv6 ospf encryption

Configures OSPFv3 encryption on an IPv6 interface.

Syntax
ipv6 ospf encryption {ipsec spi number esp encryption-type key authentication-type key | null}
Parameters
  • ipsec spi number — Enter a unique security policy index number (256 to 4294967295).
  • esp encryption-type — Enter the encryption algorithm used with ESP (3DES, DES, AES-CBC, or NULL). For AES-CBC, only the AES-128 and AES-192 ciphers are supported.
  • key — Enter the text string used in the encryption algorithm.
  • authentication-type — Enter the encryption authentication algorithm to use (MD5 or SHA1).
  • key — Enter the text string used in the authentication algorithm.
  • null — Enter the keyword to not use the IPsec encryption.
Default
IPv6 OSPF encryption 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.
  • When you configure encryption on an interface, both IPsec encryption and authentication are enabled. You cannot configure encryption if you have already configured an interface for IPsec authentication ( ipv6 ospf authentication ipsec ). To configure encryption, you must first delete the authentication policy.
  • All neighboring OSPFv3 routers must share the same encryption key to decrypt information. Only a non-encrypted key is supported. Required lengths of the non-encrypted key are: 3DES — 48 hex digits; DES — 16 hex digits; AES-CBC — 32 hex digits for AES-128 and 48 hex digits for AES-192.
  • All neighboring OSPFv3 routers must share the same authentication 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 SHA-1 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 encryption ipsec spi 500 esp des 1234567812345678 md5 12345678123456781234567812345678
                                    
OS10(config)# interface ethernet 1/1/5
                                       OS10(conf-if-eth1/1/5)# ipv6 ospf encryption null
                                       
                                    
Supported Releases
10.4.0E(R1) or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\