Enabling ospfv3, Assigning ospfv3 areas – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 167

Advertising
background image

Brocade Virtual ADX Switch and Router Guide

153

53-1003246-01

Enabling OSPFv3

7

Enabling OSPFv3

Before enabling the Brocade device to run OSPFv3, you must do the following:

Enable the forwarding of IPv6 traffic on the Brocade device using the ipv6 unicast-routing
command.

Enable IPv6 on each interface over which you plan to enable OSPFv3. You enable IPv6 on an
interface by configuring an IPv6 address or explicitly enabling IPv6 on that interface.

Make sure one of the following is configured:

-

A router ID using the ip router-id command.

-

A loopback interface. If a loopback interface with an IPv6 address does not exist, any
interface with an IP address, starting with the lowest IP address and moving to the highest
IP address, and serve as the router ID.

By default, OSPFv3 is disabled. To enable OSPFv3, you must enable it globally.

To enable OSPFv3 globally, enter the following command:

Virtual ADX(config-ospf-router)# ipv6 router ospf

Virtual ADX(config-ospf6-router)#

After you enter this command, the Brocade device enters the IPv6 OSPF configuration level, where
you can access several commands that allow you to configure OSPFv3.

Syntax: [no] ipv6 router ospf

To disable OSPFv3, enter the no form of this command. If you disable OSPFv3, the Brocade device
removes all the configuration information for the disabled protocol from the running-config.
Moreover, when you save the configuration to the startup-config file after disabling one of these
protocols, all the configuration information for the disabled protocol is removed from the
startup-config file.

The CLI displays a warning message such as the following:

Virtual ADX(config-ospf6-router)# no ipv6 router ospf

ipv6 router ospf mode now disabled. All ospf config data is lost when writing to

flash!

If you have disabled the protocol but have not yet saved the configuration to the startup-config file
and reloaded the software, you can restore the configuration information by re-entering the
command to enable the protocol (for example, ipv6 router ospf). If you have already saved the
configuration to the startup-config file and reloaded the software, the information is gone. If you
are testing an OSPF configuration and are likely to disable and re-enable the protocol, you can
make a backup copy of the startup-config file containing the protocol’s configuration information.
This way, if you remove the configuration information by saving the configuration after disabling the
protocol, you can restore the configuration by copying the backup copy of the startup-config file
onto the flash memory.

Assigning OSPFv3 areas

After OSPFv3 is enabled, you can assign OSPFv3 areas. You can assign an IPv4 address or a
number as the area ID for each area. The area ID is representative of all IPv6 addresses (subnets)
on a router interface. Each router interface can support one area.

An area can be normal, a stub, a totally stub or a not-so-stubby area (NSSA).

Advertising