Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 269

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

251

53-1002603-01

OSPF V3 configuration

NOTE

The IPsec configuration for an interface applies to the inbound and outbound directions. Also, the
same authentication parameters must be used by all routers on the network to which the interface
is connected, as described in section 7 of RFC 4552.

Brocade(config-if-e10000-1/1/2)#ipv6 ospf auth ipsec spi 429496795 esp sha1

abcdef12345678900987654321fedcba12345678

Syntax: [no] ipv6 ospf authentication ipsec spi spinum esp sha1 [no-encrypt] key

The no form of this command deletes IPsec from the interface.

The ipv6 command is available in the configuration interface context for a specific interface.

The ospf keyword identifies OSPFv3 as the protocol to receive IPsec security.

The authentication keyword enables authentication.

The ipsec keyword specifies IPsec as the authentication protocol.

The spi keyword and the spinum variable specify the security parameter that points to the security
association. The near-end and far-end values for spinum must be the same. The range for spinum
is decimal 256–4294967295.

The mandatory esp keyword specifies ESP (rather than authentication header) as the protocol to
provide packet-level security. In the current release, this parameter can be esp only.

The sha1 keyword specifies the HMAC-SHA1-96 authentication algorithm. This mandatory
parameter can be only the sha1 keyword in the current release.

Including the optional no-encrypt keyword means that when you display the IPsec configuration,
the key is displayed in its unencrypted form and also saved as unencrypted.

The key variable must be 40 hexadecimal characters. To change an existing key, you must also
specify a different SPI value. You cannot just change the key without also specifying a different SPI,
too. For example, in an interface context where you intend to change a key, you must type a
different SPI value—which occurs before the key parameter on the command line—before you type
the new key. The example in

“IPsec for OSPF V3 configuration”

illustrates this requirement.

If no-encrypt is not entered, then the key will be encrypted. This is the default. The system adds the
following in the configuration to indicate that the key is encrypted:

encrypt = the key string uses proprietary simple crytographic 2-way algorithm.

encryptb64 = the key string uses proprietary base64 crytographic 2-way algorithm.

This example results in the configuration shown in the screen output that follows. Note that
because the optional no-encrypt keyword was omitted, the display of the key has the encrypted
form by default.

interface ethernet 1/1/2

enable

ip address 10.3.3.1/8

ipv6 address 2001:db8:3::1/64

ipv6 ospf area 1

ipv6 ospf authentication ipsec spi 429496795 esp sha1 encryptb64

$ITJkQG5HWnw4M09tWVd

Advertising