3com 8807 사용자 가이드
NDP Configuration Example
721
Configuring the interval
at which NDP packets
are sent
The NDP information of the adjacent device must be updated periodically to
ensure that the switch can update the local NDP neighbor information table in
time after the configuration of the adjacent device is changed. You can configure
the interval at which NDP packets are sent by using the following command.
ensure that the switch can update the local NDP neighbor information table in
time after the configuration of the adjacent device is changed. You can configure
the interval at which NDP packets are sent by using the following command.
Displaying and
debugging NDP
After the above-mentioned configuration:
■
Use the display command in any view to display the operating state of the
NDP and verify configuration result.
NDP and verify configuration result.
■
You can use the reset command to clear the statistics related to NDP in user
view.
view.
NDP Configuration
Example
Example
Network requirements
■
Switch A, Switch B, and Switch C are interconnected.
■
Ethernet1/1/1 on Switch A is connected to Ethernet 1/1/1 on Switch B and
Ethernet 1/1/2 on Switch A is connected to Ethernet 1/1/1 on Switch C.
Ethernet 1/1/2 on Switch A is connected to Ethernet 1/1/1 on Switch C.
Configure the aging timer for
NDP information
NDP information
ndp timer aging
aging-in-secs
aging-in-secs
By default, the aging timer for
NDP information is 180
seconds.
NDP information is 180
seconds.
The aging timer for NDP
information must be greater
than or equal to the interval at
which NDP packets are sent;
otherwise, the NDP
information table will be
unstable.
information must be greater
than or equal to the interval at
which NDP packets are sent;
otherwise, the NDP
information table will be
unstable.
Table 666 Configure the aging timer for NDP information
Operation Command Description
Table 667 Configure the interval at which NDP packets are sent
Operation
Command
Description
Enter system view
system-view
-
Configure the interval at
which NDP packets are sent
which NDP packets are sent
ndp timer hello seconds
By default, NDP packets are
sent every 60 seconds.
sent every 60 seconds.
The interval at which NDP
packets are sent must be less
than or equal to the aging
timer for NDP information.
Otherwise, the NDP
information table will be
unstable.
packets are sent must be less
than or equal to the aging
timer for NDP information.
Otherwise, the NDP
information table will be
unstable.
Table 668 Display and debug NDP
Operation
Command
Display the NDP configuration of the system
(including the interval at which packets are
sent and the aging timer for NDP information
(including the interval at which packets are
sent and the aging timer for NDP information
display ndp
Display the NDP neighbor information of the
specified port
specified port
display ndp interface port-list
Clear the statistics of an NDP-enabled port
reset ndp statistics [ interface port-list ]