The ntdp hop command sets the maximum number of hops for collecting topology information through NTDP.
The undo ntdp hop command restores the default maximum number of hops for collecting topology information through NTDP.
By default, the maximum number of hops is 8 for collecting topology information through NTDP.
Parameter | Description | Value |
---|---|---|
max-hop-value | Specifies the maximum number of hops for collecting topology information through NTDP. | The value is an integer that ranges from 1 to 8. |
When the maximum number of hops for collecting topology information through NTDP is configured, topology information about switches in the hop range can be collected, which avoids collection of infinite topology information. The larger the maximum number of hops is, the more the memory of the topology collection switch is consumed.
PrerequisitesNTDP has been enabled on the switch.