configure network-clock ptp boundary add vlan

configure network-clock ptp boundary add {vlan} vlan_name {one-step | two-step} {slave-only | master-only}

Description

Add a VLAN to a PTP boundary clock instance as a clock port. You can configure the clock port as slave-only port or master-only port.

Syntax Description

boundary Boundary clock instance.
vlan_name Name of the specific VLAN to be added to or deleted from the PTP clock instance.
one-step 1-step protocol mode (default).
two-step 2-step protocol mode.
slave-only Force clock port to be slave.
master-only Force clock port to be master.

Default

The default configuration of clock port is master or slave mode.

Usage Guidelines

Use this command to add a VLAN to a PTP boundary clock instance as a clock port. You can configure the clock port as slave-only port, or master-only port. The slave-only clock port has the PTP port state forced to slave. The slave port does not respond to signaling messages from other slaves, and Sync/DelayResponse event messages are not generated by the slave-only ports.

The master-only clock port has the PTP port state forced to master. The master port generates Sync/DelayResponse event messages to downstream slave clocks.

The default configuration of clock port is master or slave mode. In this mode, the clock port state is based on the Best Master Clock (BMC) algorithm running on the port. The BMC algorithm decides the clock port state transition to master or slave depending on the event messages received on the clock port from the associated unicast master(s)/slave(s).

The following restrictions apply on the VLAN to be added as clock port:
  • The VLAN should be tagged.
  • Loopback-mode should be enabled on the VLAN.
  • IPv4 address should be configured and IP forwarding must be enabled on the VLAN.
  • The VLAN should not have front panel ports added.

Example

The following example adds a vlan 'lpbk-gm' as a slave clock port to boundary clock:

# configure network-clock ptp boundary add vlan lpbk-gm one-step slave-only

The following example adds a vlan 'lpbk-ord' as a master clock port to boundary clock in two-step protocol mode:

# configure network-clock ptp boundary add vlan lpbk-ord two-step master-only

The following example adds a vlan 'lpbk-transit' as a clock port to boundary clock whose master/slave state is decided by BMCA:

# configure network-clock ptp boundary add vlan lpbk-transit one-step

History

This command was first available in ExtremeXOS 15.1.

Platform Availability

This command is available on the ExtremeSwitching X460-G2 platform.

Note

Note

PTP commands can be used only with the Network Timing feature pack.