Configuring OSPFv3
Configuring OSPFv3
page 2-16
OmniSwitch AOS Release 7 Advanced Routing Configuration Guide
March 2011
The first example gives specifics about area 1.1.1.1, and the second example shows all areas configured on
the router.
To display the parameters of an area, use the
show ipv6 ospf area
command as follows:
-> show ipv6 ospf area 1.1.1.1
Deleting an Area
To delete an area, enter the
ipv6 ospf area
command as shown:
-> no ipv6 ospf area 1.1.1.1
Configuring Stub Area Default Metrics
The default metric configures the metric that an area border router (ABR) will advertise into the stub area.
Use the
ipv6 ospf area
command to modify the default metric for a stub area. Specify the stub area and
select a cost value or a route type, as shown:
-> ipv6 ospf area 1.1.1.1 type stub default-metric 10
Creating OSPFv3 Interfaces
Once areas have been established, interfaces need to be created and assigned to the areas. (Creating areas
is described in
“Creating an Area” on page 2-15
above.)
To create an interface and assign it to an area, enter the
ipv6 ospf interface area
command with an inter-
face name and an area identification number, as shown:
-> ipv6 ospf interface vlan-213 area 1.1.1.1
Note
. The interface name
cannot
have spaces.
The interface can be deleted by using the
no
keyword, as shown:
-> no ipv6 ospf interface vlan-213
An interface can be removed from an area by reassigning it to a new area.
Once an interface has been created, you can check its status and configuration by using the
show ipv6 ospf
interface
command, as demonstrated:
-> show ipv6 ospf interface vlan-213
Instructions for interface parameter options are described in
“Modifying Interface Parameters” on
page 2-17
.
Configuring the Interface Administrative Status
When an OSPFv3 interface is created and assigned an area, it is administratively enabled by default. To
change the administrative status of the interface, use the
ipv6 ospf interface admin-state
command with
the interface IP address or interface name, as shown:
-> ipv6 ospf interface vlan-213 admin-state disable
-> ipv6 ospf interface vlan-213 admin-state enable