1280 CHAPTER 84: IPV6 OSPFV3 CONFIGURATION COMMANDS

View OSPFv3 view

Parameters area-id: ID of an area, a decimal integer (in the range of 0 to 4294967295 and changed to IPv4 address format by the system) or an IPv4 address.

Description Use the area command to enter OSPFv3 area view.

n The undo form of the command is not available. An area is removed automatically if there is no configuration and no interface is up in the area.

Examples # Enter OSPFv3 Area 0 view.

<Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] area 0 [Sysname-ospfv3-1-area-0.0.0.0]

default cost

Syntax default cost value

undo default cost

View OSPFv3 view

Parameters value: Specifies a default cost for redistributed routes, in the range of 1 to 16777214.

Description Use the default cost command to configure a default cost for redistributed routes.

Use the undo default cost command to restore the default.

By default, the default cost is 1.

You need to configure the default cost value for redistributed routes to advertise them throughout the whole AS.

If multiple OSPFv3 processes are available, use of this command takes effect for the current process only.

Examples # Specify the default cost for redistributed routes as 10.

<Sysname> system-view

[Sysname] ospfv3 1

[Sysname-ospfv3-1] default cost 10

default-cost (OSPFv3 area view)

Syntax default-cost value

Page 1280
Image 1280
3Com MSR 30 Default cost, Default-cost OSPFv3 area view, Examples # Enter OSPFv3 Area 0 view, Syntax default-cost value