S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
-SM-169
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
ptp vlan
ptp vlan
To configure a VLAN to generate the Precision Time Protocol (PTP) messages for Layer 2 interfaces,
use the
ptp vlan
command. To remove the PTP VLAN configuration from an interface, use the
no
form
of this command.
ptp vlan
vlan-number
no ptp vlan
vlan-number
Syntax Description
Command Default
1
Command Modes
Interface configuration mode
Command History
Usage Guidelines
Make sure that you have globally enabled PTP on the switch and configured the source IP address for
PTP communication.
Use this command only on Layer 2 Ethernet interfaces (1 Gigabit, 10-Gigabit, 40-Gigabit) or
port-channel members.
By default, VLAN 1 is used to generate the PTP messages on an interface. You must explicitly configure
the following VLANs to generate PTP messages on interfaces:
•
nondefault access VLANs on an access port
•
nondefault native VLANs on a trunk port
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 1/5
switch(config-if)#
ptp vlan 9
switch(config-if)#
This example shows how to remove the PTP VLAN value from an interface:
switch#
configure terminal
switch(config)#
interface ethernet 1/5
switch(config-if)#
no vlan 9
switch(config-if)#
vlan-number
VLAN number. The range is from 1 to 4094.
Release
Modification
5.0(3)U2(2)
This command was introduced.