PE_PTPTC_SPID

code: 1672

Warning

This command is under development.

# set
<module-index>/<port-index> PE_PTPTC_SPID <mode> <source_port_id>

# get
<module-index>/<port-index> PE_PTPTC_SPID ?

Description

PTP packet qualifier PTP source port identity configuration. Two modes are available: (1) accept any source port identity values (2) match to a specific 10-byte identifier.

Actions

set, get

Parameters

  1. mode: byte, PTP source port identity mode. Default to ANY.

  • ANY = 0, accept any source port identity values

  • SPECIFIC = 1, match to a specific 10-byte source port identifier.

  1. src_port_id: hex10, PTP packet qualifier PTP source port identifier. This value is ignored if mode == ANY.

Example

# set
input:  0/1 PE_PTPTC_SPID SPECIFIC 0x00000000000000000002
output: <OK>

# get
input:  0/1 PE_PTPTC_SPID ?
output: 0/1 PE_PTPTC_SPID SPECIFIC 0x00000000000000000002