
C613-50186-01 Rev B
Command Reference for AR2050V
1501
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
VRF-
LITE
C
OMMANDS
SHOW
CRYPTO
KEY
PUBKEY
-
CHAIN
KNOWNHOSTS
show crypto key pubkey-chain knownhosts
Overview
This command displays the list of public keys maintained in the known host
database on the device.
Syntax
show crypto key pubkey-chain knownhosts [<
1-65535
>]
Syntax (VRF-lite)
show crypto key pubkey-chain knownhosts [vrf <
vrf-name
>|global]
[<
1-65535
>]
Default
Display all keys.
Mode
User Exec, Privileged Exec and Global Configuration
When VRF-lite is configured:
•
If
vrf
is specified, this command displays the known host database from the
specified VRF instance.
•
If
global
is specified, this command displays the known host database from
the global routing environment.
•
If neither
vrf
nor
global
is specified, this command displays the known host
database from the global routing environment and each configured VRF.
For more information about VRF, see the
Examples
To display public keys of known SSH servers, use the command:
awplus#
show crypto key pubkey-chain knownhosts
To display the key data of the first entry in the known host data, use the command:
awplus#
show crypto key pubkey-chain knownhosts 1
Parameter
Description
global
When VRF-lite is configured, apply the command to the global
routing and forwarding table.
vrf
Apply the command to the specified VRF instance.
<vrf-name>
The name of the VRF instance.
<
1-65535
>
Key identifier for a specific key. Displays the public key of the entry if
specified.