The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the system management commands that begin with P.
To power off a module, use the poweroff module command. To return power to the module, use the no form of this command.
poweroff module module
no poweroff module module
module |
Module number. The range is from 1 to 18. |
None
Global configuration (config)
network-admin
vdc-admin
|
|
---|---|
5.2(1)N1(1) |
The command was introduced. |
This command does not require a license.
This example shows how to power off module 2:
switch# poweroff module 2
|
|
---|---|
show module |
Displays information about modules. |
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}
no ptp announce
The default interval is 1 log second.
The default timeout is 3 announce intervals.
Interfaces configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to set the announcement interval on interface 5/1 to 1:
switch# configure terminal
switch(config) # interface ethernet 5/1
switch(config-if)# ptp announce interval 1
switch(config-if)
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
log-seconds |
The number of log seconds between PTP delay request messages. The range is from -1 to 6 seconds. |
0 log seconds
Interface configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to set the minimum delay request interval to 3:
switch# configure terminal
switch(config) # interface ethernet 5/1
switch(config-if) # ptp delay request minimum interval 3
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.
ptp domain number
no ptp domain number
number |
Configures the domain number to use for this clock. The range is from 0 to 128. |
0
Global configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to configure the domain number for use with a clock:
switch(config)# ptp domain 1
To configure the priority1 value to use when advertising this clock, use the ptp priority1 command.
ptp priority1 value
no ptp priority1 value
value |
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. |
255 when advertising the clock
Global configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to set the priority1 value used to advertise this clock:
switch(config)# ptp priority1 10
To configure the priority2 value to use when advertising this clock, use the ptp priority2 command.
ptp priority2 value
no ptp priority2 value
255 when advertising the clock
Global configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to set the priority2 value used to advertise this clock:
switch(config)# ptp priority2 20
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]
ip-address |
Specifies the source IP address for all PTP packets. The IP address can be in IPv4 or IPv6 format. |
vrf vrf |
Specifies the VRF. |
None
Global configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to configure the source IP address for all PTP packets:
switch(config)# ptp source 192.0.2.1
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.
ptp sync interval log-seconds
no ptp sync interval
log-seconds |
The number of log seconds between PTP synchronization messages on an interface. The range is from -3 seconds to 1 second. |
None
Interface configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to set the PTP synchronization interval to -3:
switch# configure terminal
switch(config) # interface ethernet 5/1
switch(config-if) # ptp sync interval -3
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.
ptp vlan vlan-id
no ptp vlan
vlan-id |
The VLAN ID for the interface where PTP is being enabled. The range is from 1 to 4094. |
1
Interface configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
PTP can only be enabled on one VLAN on an interface.
This example shows how to specify VLAN 10 as the interface where PTP is being enabled:
switch# configure terminal
switch(config) # interface ethernet 5/1
switch(config-if) # ptp vlan 10