< Home

ndp enable (system view)

Function

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

The undo ndp enable command disables NDP globally or on an interface.

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

By default, NDP is enabled 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>

ndp disable

Parameters

Parameter Description Value
interface 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

Usage Scenario

Before you enable network topology collection, run the ndp enable command to enable NDP.

Configuration Impact

If the ndp enable command is run more than once, all configurations take effect.

Example

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

<HUAWEI> system-view
[HUAWEI] ndp enable interface gigabitethernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >