PPS

The nv unset commands remove the configuration you set with the equivalent nv set commands. This guide only describes an nv unset command if it differs from the nv set command.


nv set platform pulse-per-second in channel-index

Sets the channel index for PPS In. You can set a value of 1 or 0. The default value is 0.

Version History

Introduced in Cumulus Linux 5.7.0

Example

cumulus@switch:~$ nv set platform pulse-per-second in channel-index 1

nv set platform pulse-per-second in logging-level

Sets the logging level for PPS In. You can specify emergency, alert, critical, error, warning, notice, info, or debug. The default logging level is info.

Version History

Introduced in Cumulus Linux 5.7.0

Example

cumulus@switch:~$ nv set platform pulse-per-second in logging-level warning

nv set platform pulse-per-second in pin-index

Sets the pin index for PPS In. You can set a value of 1 or 0. The default value is 0.

Version History

Introduced in Cumulus Linux 5.7.0

Example

cumulus@switch:~$ nv set platform pulse-per-second in pin-index 1

nv set platform pulse-per-second in signal-polarity

Sets the polarity of the PPS In signal. You can specify rising-edge, falling-edge, or both. The default setting is rising-edge.

Version History

Introduced in Cumulus Linux 5.7.0

Example

cumulus@switch:~$ nv set platform pulse-per-second in signal-polarity falling-edge

nv set platform pulse-per-second in signal-width

Sets the pulse width of the PPS In signal. You can set a value between 1000000 and 999000000. The default value is 500000000.

Version History

Introduced in Cumulus Linux 5.7.0

Example

cumulus@switch:~$ nv set platform pulse-per-second in signal-width 999000000

nv set platform pulse-per-second in state

Enables and disables PPS In.

When you configure and enable PPS In, you must configure a PTP slave port on the switch.

Version History

Introduced in Cumulus Linux 5.7.0

Example

cumulus@switch:~$ nv set platform pulse-per-second in state enabled

nv set platform pulse-per-second in timestamp-correction

Sets the value, in nanoseconds, to add to each PPS timestamp. You can set a value between -1000000000 and 1000000000. The default value is 0.

Version History

Introduced in Cumulus Linux 5.7.0

Example

cumulus@switch:~$ nv set platform pulse-per-second in timestamp-correction 1000000000

nv set platform pulse-per-second out channel-index

Sets the channel index for PPS Out. You can set a value of 1 or 0. The default value is 0.

Version History

Introduced in Cumulus Linux 5.7.0

Example

cumulus@switch:~$ nv set platform pulse-per-second out channel-index 1

nv set platform pulse-per-second out frequency-adjustment

Sets the frequency adjustment of the PPS Out signal. You can set a value between 1000000000 and 2147483647. The default value is 1000000000.

Version History

Introduced in Cumulus Linux 5.7.0

Example

cumulus@switch:~$ nv set platform pulse-per-second out frequency-adjustment 2147483647

nv set platform pulse-per-second out phase-adjustment

The NVUE CLI includes the phase adjustment setting for PPS Out. Cumulus Linux 5.7 does not support this setting.


nv set platform pulse-per-second out pin-index

Sets the pin index for PPS Out. Cumulus Linux supports only pin 1.

Version History

Introduced in Cumulus Linux 5.7.0

Example

cumulus@switch:~$ nv set platform pulse-per-second out pin-index 1

nv set platform pulse-per-second out signal-width

Sets the pulse width of the PPS Out signal. You can set a value between 1000000 and 999000000. The default value is 500000000.

Version History

Introduced in Cumulus Linux 5.7.0

Example

cumulus@switch:~$ nv set platform pulse-per-second out signal-width 999000000

nv set platform pulse-per-second state

Enables and disables PPS Out.

Version History

Introduced in Cumulus Linux 5.7.0

Example

cumulus@switch:~$ nv set platform pulse-per-second out state enabled