P Commands
ptp vlan
343
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
ptp vlan
To configure the Precision Time Protocol (PTP) VLAN value on an interface, use the ptp vlan command.
To remove the PTP VLAN value from an interface, use the no form of this command.
ptp vlan vlan-number
no ptp vlan vlan-number
Syntax Description
Defaults 1
Command Modes Interface configuration mode (config-if)
Supported User Roles network-admin
vdc-admin
Command History
Usage Guidelines Make sure that you are in the correct virtual device context (VDC). To change the VDC, use the switchto
vdc command.
Make sure that you have globally enabled PTP on the device and configured the source IP address for
PTP communication.
This command does not require a license.
Examples This example shows how to configure the PTP VLAN value on an interface:
switch# configure terminal
switch(config)# interface ethernet 5/5
switch(config-if)# ptp vlan 9
switch(config-if)#
This example shows how to remove the PTP VLAN value from an interface:
switch(config)# interface ethernet 5/5
switch(config-if)# no vlan 9
vlan-number VLAN number. The range is from 1 to 4094.
Release Modification
5.2(1) This command was introduced.