The ipv6 nd security timestamp command sets timestamp parameters for an ND message.
The undo ipv6 nd security timestamp command restores default timestamp parameters of an ND message.
By default, the maximum difference between the receive time and send time of an ND message is 300 seconds; the maximum difference between the system time of the sender and the system time of the receiver is 1%; the maximum alive time of an ND message is 1 second.
ipv6 nd security timestamp { delta delta-value | drift drift-value | fuzz-factor fuzz-value } *
undo ipv6 nd security timestamp delta
undo ipv6 nd security timestamp drift
undo ipv6 nd security timestamp fuzz-factor
undo ipv6 nd security timestamp { delta delta-value | drift drift-value | fuzz-factor fuzz-value } *
Parameter | Description | Value |
---|---|---|
delta delta-value |
Specifies the maximum difference between the receive time and send time of an ND message. |
The value is an integer ranging from 0 to 1000, in seconds. |
drift drift-value |
Specifies the maximum difference between the system time of the sender and the system time of the receiver. |
The value is an integer ranging from 0 to 100. |
fuzz-factor fuzz-value |
Specifies the maximum alive time of an ND message. If the difference between the receive time and send time of an ND message is larger than delta-value but smaller than fuzz-value, the ND message can still be received by the interface. |
The value is an integer ranging from 0 to 1000, in seconds. |
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, PW-VE sub-interface view, PW-VE interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view, Management interface view
Usage Scenario
If an ND message to be sent to an interface is eavesdropped by an attacker, the ND message will be delayed. Therefore, you can run the ipv6 nd security timestamp command to set timestamp parameters. The system then calculates an allowed time range based on these timestamp parameters. If the difference between the send time and receive time of an ND message is out of the allowed time range, the ND message will be regarded invalid and discarded.
Prerequisites
IPv6 has been enabled on the involved interface using the ipv6 enable command in the interface view.
Follow-up Procedure
Run the ipv6 nd security strict command to enable the strict security mode on the interface.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/1 [~HUAWEI-GigabitEthernet0/1/1] ipv6 enable [*HUAWEI-GigabitEthernet0/1/1] ipv6 nd security timestamp delta 10 [*HUAWEI-GigabitEthernet0/1/1] ipv6 nd security strict