07-Layer 3—IP Routing Command Reference

HomeSupportResource CenterNFVH3C VSRH3C VSRTechnical DocumentsCommandCommand ReferencesH3C VSR Series Virtual Services Routers Command References(V7)-R0621-6W30007-Layer 3—IP Routing Command Reference
15-DCN commands
Title Size Download
15-DCN commands 48.95 KB

DCN commands

auto-report

Use auto-report to enable the automatic report feature on the GNE.

Use undo auto-report to disable the automatic report feature on the GNE.

Syntax

auto-report

undo auto-report

Default

The automatic report feature is disabled on a GNE.

Views

DCN view

Predefined user roles

network-admin

Examples

# Enable the automatic report feature on the GNE.

<Sysname> system-view

[Sysname] dcn

[Sysname-dcn] auto-report

dcn

Use dcn to enable DCN and enter DCN view.

Use undo dcn to disable DCN.

Syntax

dcn

undo dcn

Default

DCN is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

After DCN is enabled, each NE encapsulates its NE information in a Type-10 Opaque LSA and floods the LSA into the local area for routing information synchronization and intercommunication. The NE stops generating Type 10 Opaque LSA after DCN is disabled.

Examples

# Enable DCN and enter DCN view.

<Sysname> system-view

[Sysname] dcn

[Sysname-dcn]

display dcn

Use display dcn to display the brief DCN information.

Syntax

display dcn

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display the brief DCN information.

<Sysname> display dcn

 

              DCN Brief Information

 

 NE ID        : 0x112233

 NE IP        : 129.0.88.1

 Mask         : 255.255.255.255

 DCN interface: LoopBack1023

 Auto report  : Enabled

display dcn ne-info

Use display dcn ne-info to display information about all online NEs on the DCN network.

Syntax

display dcn ne-info

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display information about all online NEs on the DCN network.

<Sysname> display dcn ne-info

 

              DCN Network Elements Information

 

 NE ID          NE IP            Metric   Device Type

 0x10001        3.3.3.3          0        HP 5900AF-48XG-4QSFP+ Switch

 

 Total number: 1

Table 1 Command output

Field

Description

Metric

Cost from the local NE to the destination NE.

Total number

Total number of online NEs on the DCN network.

 

ne-id

Use ne-id to configure an NE ID for an NE.

Use undo ne-id to restore the default.

Syntax

ne-id id-number

undo ne-id

Default

The NE ID is automatically generated by using the 24 low-order bits of the bridge MAC address.

Views

DCN view

Predefined user roles

network-admin

Parameters

id-number: Specifies the 24-bit NE ID in hexadecimal format, in the range of 010001 to FEFFFE. The eight high-order bits of the NE ID represent the subnet number. The remaining 16 bits represent the basic ID.

Usage guidelines

An NE ID uniquely identifies an NE on the DCN network and is used for generating the default NE IP.

Examples

# Configure the NE ID as 112233.

<Sysname> system-view

[Sysname] dcn

[Sysname-dcn] ne-id 112233

Related commands

ne-ip

ne-ip

Use ne-ip to configure the NE IP for an NE.

Use undo ne-ip to restore the default.

Syntax

ne-ip ip-address { mask-length | mask }

undo ne-ip

Default

The NE IP is automatically generated according to the NE ID and changes with the NE ID. The IP address takes 129 as the eight high-order bits and the NE ID as the remaining 24 bits. The mask length is 32.

Views

DCN view

Predefined user roles

network-admin

Parameters

ip-address: Specifies an IPv4 address.

mask-length: Specifies the mask length in the range of 1 to 32.

mask: Specifies the mask length in dotted decimal format.

Usage guidelines

After DCN is enabled, the system assigns an NE IP to the loopback interface with the largest interface number, and specifies the NE IP as the LLDP management address.

A manually configured NE IP overwrites the default NE IP and breaks the mapping with the NE ID.

Examples

# Configure the NE IP as 100.1.1.1/24.

<Sysname> system-view

[Sysname] dcn

[Sysname-dcn] ne-ip 100.1.1.1 24

Related commands

ne-id