1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-21 21:03:59 +02:00

clock: add page (#17673)

Co-authored-by: Kristopher <kristopherleads@gmail.com>
This commit is contained in:
Managor 2025-08-16 22:01:12 +03:00 committed by GitHub
parent 8396b936a0
commit 685347812b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
pages/cisco-ios/clock.md Normal file
View file

@ -0,0 +1,20 @@
# clock
> Set the system clock.
> More information: <https://www.cisco.com/c/en/us/td/docs/ios/fundamentals/command/reference/cf_book/cf_c1.html#clock>.
- Enter privileged execution mode:
`clock set {{23}}:{{59}}:{{59}} {{31}} {{april}} {{2000}}`
- Auto negotiate with the far end of the link, defaulting to active-clock:
`clock active prefer`
- Auto negotiate with the far end of the link, defaulting to passive-clock:
`clock passive prefer`
- Show the current clock mode negotiated by the firmware:
`clock show interfaces`