ndp enable (system view)

Function

The ndp enable command enables NDP globally or on an interface.

The undo ndp enable command disables NDP on an interface.

The ndp disable command disables NDP globally or on an interface.

By default, NDP is disabled globally.

Format

ndp enable [ interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> ]

undo ndp enable [ interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> ]

ndp disable interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10>

Parameters

Parameter Description Value
interface-type interface-number1 [ to interface-type interface-number2 ] Specifies the interface on which NDP is enabled or disabled.
  • interface-type interface-number1 indicates the type and number of the first interface.
  • interface-type interface-number2 indicates the type and number of the last interface.
If you run the ndp enable command or the undo ndp enable command without specifying the interface, NDP is enabled or disabled globally.
-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Network topology collection is implemented based on NDP and NTDP. Therefore, ensure that NDP and NTDP have been enabled before you enable network topology collection.

Example

# Enable NDP on the GE1/0/1 interface.

<HUAWEI> system-view
[HUAWEI] ndp enable interface gigabitethernet 1/0/1
Related Topics
ndp enable (interface view)

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.