P Commands
This chapter describes the system management commands that begin with P.
poweroff module
To power off a module, use the poweroff module command. To return power to the module, use the no form of this command.
Syntax Description
Defaults
Command Default
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to power off module 2:
Related Commands
|
|
---|---|
ptp announce
To configure the interval between PTP announcement messages on an interface or the number of PTP intervals before a timeout occurs on an interface, use the ptp announce command. To disable this feature, use the no form of this command.
ptp announce { interval log-seconds | timeout count }
Syntax Description
The number of log seconds between PTP announcement messages. The range is from 0 to 4 seconds. |
|
The number of PTP intervals before a timeout occurs on the interface. The range is from 2 to 10. |
Command Default
Command Modes
Command History
|
|
Examples
This example shows how to set the announcement interval on interface 5/1 to 1:
Related Commands
ptp delay request minimum interval
To configure the minimum interval allowed between PTP delay request messages when the port is in the master state, use the ptp delay request minimum interval command. To disable this feature, use the no form of this command.
ptp delay request minimum interval log-seconds
no ptp delay request minimum interval
Syntax Description
The number of log seconds between PTP delay request messages. The range is from -1 to 6 seconds. |
Command Default
Command Modes
Command History
|
|
Examples
This example shows how to set the minimum delay request interval to 3:
Related Commands
ptp domain
To configure the domain number to use for this clock, use the ptp domain command. PTP domains allow you touse multiple independent PTP clocking subdomains on a single network.
Syntax Description
Configures the domain number to use for this clock. The range is from 0 to 128. |
Command Default
Command Modes
Command History
|
|
Examples
This example shows how to configure the domain number for use with a clock:
Related Commands
|
|
---|---|
Configures the priority 1 value to use when advertising this clock. |
|
Configures the priority 1 value to use when advertising this clock. |
|
ptp priority1
To configure the priority1 value to use when advertising this clock, use the ptp priority1 command.
Syntax Description
The configured value overrides the default criteria (clock quality, clock class, etc.) for best master clock selection. Lower values take precedence. The range is from 0 to 255. |
Command Default
Command Modes
Command History
|
|
Examples
This example shows how to set the priority1 value used to advertise this clock:
Related Commands
|
|
---|---|
Configures the priority2 value to use when advertising this clock. |
|
ptp priority2
To configure the priority2 value to use when advertising this clock, use the ptp priority2 command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Examples
This example shows how to set the priority2 value used to advertise this clock:
Related Commands
|
|
---|---|
Configures the priority1 value to use when advertising this clock. |
|
ptp source
To configure the source IP address for all PTP packets, use the ptp source command. To unconfigure the source IP address for all PTP packets, use the no form of this command.
ptp source ip-address [ vrf vrf ]
no ptp source ip-address [ vrf vrf ]
Syntax Description
Specifies the source IP address for all PTP packets. The IP address can be in IPv4 or IPv6 format. |
|
Command Default
Command Modes
Command History
|
|
Examples
This example shows how to configure the source IP address for all PTP packets:
Related Commands
|
|
---|---|
Configures the priority 1 value to use when advertising this clock. |
|
Configures the priority 1 value to use when advertising this clock. |
|
ptp sync interval
To configure the interval between PTP synchronization messages, use the ptp sync interval command. To disable this feature, use the no form of this command.
Syntax Description
The number of log seconds between PTP synchronization messages on an interface. The range is from -3 seconds to 1 second. |
Command Default
Command Modes
Command History
|
|
Examples
This example shows how to set the PTP synchronization interval to -3:
Related Commands
ptp vlan
To specify the VLAN for the interface where PTP is being enabled, use the ptp vlan command. To disable this feature, use the no form of this command.
Syntax Description
The VLAN ID for the interface where PTP is being enabled. The range is from 1 to 4094. |
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to specify VLAN 10 as the interface where PTP is being enabled: