2-10
Operation Command Description
In system view
ndp enable interface
port-list
Enter
Ethernet
port view
interface interface-type
interface-number
Enable NDP
on specified
Ethernet
ports
In Ethernet
port view
Enable
NDP on the
port
ndp enable
Use either approach.
By default, NDP is
enabled on a port.
Configuring NDP-related parameters
Table 2-5 Configure NDP-related parameters
Operation Command Description
Enter system view
system-view
—
Configure the holdtime of NDP
information
ndp timer aging
aging-in-seconds
Optional
By default, the holdtime of NDP
information is 180 seconds.
Configure the interval to send
NDP packets
ndp timer hello seconds
Optional
By default, the interval to send
NDP packets is 60 seconds.
Enabling NTDP globally and on a specific port
Table 2-6 Enable NTDP globally and on a specific port
Operation Command Description
Enter system view
system-view
—
Enable NTDP globally
ntdp enable
Required
Enabled by default
Enter Ethernet port view
interface interface-type
interface-number
—
Enable NTDP on the Ethernet
port
ntdp enable
Required
Enabled by default
Configuring NTDP-related parameters
Table 2-7 Configure NTDP-related parameters
Operation Command Description
Enter system view
system-view
—
Configure the range to collect
topology information
ntdp hop hop-value
Optional
By default, the system collects
topology information from the
devices within three hops.