mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 17:51:08 +00:00
Update cheatsheets
This commit is contained in:
18
tldr/cisco-ios/interface
Normal file
18
tldr/cisco-ios/interface
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, cisco-ios]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# interface
|
||||||
|
|
||||||
|
> Manage interfaces.
|
||||||
|
> Accessed in configuration mode.
|
||||||
|
> More information: <https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/interface/command/ir-cr-book/ir-i1.html>.
|
||||||
|
|
||||||
|
- Configure a VLAN:
|
||||||
|
|
||||||
|
`interface vlan {{1}}`
|
||||||
|
|
||||||
|
- Set an interface to be active or inactive (this is run inside the interface command):
|
||||||
|
|
||||||
|
`{{no shutdown|shutdown}}`
|
||||||
@@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Show switch IP addresses:
|
- Show switch IP addresses:
|
||||||
|
|
||||||
`{{[s|show]}} ip interface brief`
|
`{{[sh|show]}} ip interface brief`
|
||||||
|
|
||||||
- Show specific interface configuration:
|
- Show specific interface configuration:
|
||||||
|
|
||||||
`{{[s|show]}} ip interface {{vlan1}}`
|
`{{[sh|show]}} ip interface {{vlan1}}`
|
||||||
|
|
||||||
- Show vlan configuration:
|
- Show vlan configuration:
|
||||||
|
|
||||||
`{{[s|show]}} vlan`
|
`{{[sh|show]}} vlan`
|
||||||
|
|
||||||
- Show currently running configuration:
|
- Show currently running configuration:
|
||||||
|
|
||||||
`{{[s|show]}} running-config`
|
`{{[sh|show]}} running-config`
|
||||||
|
|
||||||
- Show SSH configuration:
|
- Show SSH configuration:
|
||||||
|
|
||||||
`{{[s|show]}} ip ssh`
|
`{{[sh|show]}} ip ssh`
|
||||||
|
|||||||
@@ -8,6 +8,18 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
> Fingerprint management daemon.
|
> Fingerprint management daemon.
|
||||||
> More information: <https://fprint.freedesktop.org/>.
|
> More information: <https://fprint.freedesktop.org/>.
|
||||||
|
|
||||||
- Display the man page for `fprintd`:
|
- View documentation for listing enrolled fingerprints:
|
||||||
|
|
||||||
`man fprintd`
|
`tldr fprintd-list`
|
||||||
|
|
||||||
|
- View documentation for enrolling new fingerprints:
|
||||||
|
|
||||||
|
`tldr fprintd-enroll`
|
||||||
|
|
||||||
|
- View documentation for verifying a fingerprint against a database:
|
||||||
|
|
||||||
|
`tldr fprintd-verify`
|
||||||
|
|
||||||
|
- View documentation for deleteting fingerprints from a database:
|
||||||
|
|
||||||
|
`tldr fprintd-delete`
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
> Create virtual machine snapshots.
|
> Create virtual machine snapshots.
|
||||||
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
|
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
|
||||||
|
|
||||||
- Create a snapshot of a specific virtual machine:
|
- Create a snapshot of a specific virtual machine (name must start with a letter):
|
||||||
|
|
||||||
`qm {{[sn|snapshot]}} {{vm_id}} {{snapshot_name}}`
|
`qm {{[sn|snapshot]}} {{vm_id}} {{snapshot_name}}`
|
||||||
|
|
||||||
@@ -19,3 +19,11 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
- Create a snapshot including the vmstate:
|
- Create a snapshot including the vmstate:
|
||||||
|
|
||||||
`qm {{[sn|snapshot]}} {{vm_id}} {{snapshot_name}} --description {{description}} --vmstate 1`
|
`qm {{[sn|snapshot]}} {{vm_id}} {{snapshot_name}} --description {{description}} --vmstate 1`
|
||||||
|
|
||||||
|
- List snapshots of a VM:
|
||||||
|
|
||||||
|
`qm {{[lists|listsnapshot]}} {{100}}`
|
||||||
|
|
||||||
|
- Rollback the state of a specific VM to a specified snapshot:
|
||||||
|
|
||||||
|
`qm {{[ro|rollback]}} {{vm_id}} {{snap_name}}`
|
||||||
|
|||||||
Reference in New Issue
Block a user