The ne-ip command sets an IP address and a subnet mask for an NE.
By default, the IP address and subnet mask of an NE is generated automatically based on the NEID.
Usage Scenario
On a DCN network, an NEIP address is the IP address of an NE, and an NEIP address can be either manually configured or automatically generated based on the associated NEID. An NEID is a 24-bit value that consists of a subnet number and a basic ID. An automatically generated NEIP address is in the format of 128.subnet number.basic ID. The NEIP address and NEID are associated; therefore, the NEIP address changes if the NEID is changed.
After the DCN feature runs on a loopback interface, the loopback interface automatically generates an NEIP address based on the NEID, and then OSPF advertises the NEIP address to core routing tables that store mappings between NEIDs and NEIP addresses. To re-plan a DCN network, run the ne-ip command to set an NEIP address and a subnet mask for an NE.Prerequisites
The DCN feature has been enabled globally using the dcn command in the system view.
Configuration Impact
After an NEIP address is set manually, it no longer changes when the associated NEID is changed.
Precautions
In VS mode, this command is supported only by the admin VS.
NEIP addresses are configured in the DCN view and must be different from the IP addresses configured in the interface view.