
MES3000 Ethernet switch series
153
Public key configuration mode commands
Command line request in public key configuration mode appears as follows:
console#
configure
console(config)#
crypto key pubkey-chain ssh
console(config-pubkey-chain)#
Table 5.170 —Public key configuration mode commands
Command
Value
Action
user-key
username
{
rsa
|
dsa}
username: (1..48)
characters
Enter the individual public key generation mode.
-
rsa
—generate RSA key
-
dsa
—generate DSA key
no user-key
username
Remove the public key for the specific user.
Command line request in individual public key generation mode appears as follows:
console#
configure
console(config)#
crypto key pubkey-chain ssh
console(config-pubkey-chain)#
user-key
eltex
rsa
console(config-pubkey-key)#
Table 5.171 —Individual public key generation mode commands
Command
Value/Default value
Action
key-string
-
Create the public key for the specific user.
key-string row
key_string
key_string: (0..160)
characters
Create the public key for the specific user. Key is entered one line
at a time.
-
key_string
—key part
To notify the system, that the key entry is completed,
enter key-string row command without symbols.
EXEC mode commands
Commands from this section are available to the privileged users only.
Command line request in EXEC mode appears as follows:
console#
Table 5.172 —EXEC mode commands
Command
Value
Action
show ip ssh
-
Show SSH server configuration and the active incoming SSH
sessions.
show crypto key pubkey-chain
ssh
[
username
username
]
[
fingerprint
{
bubble-babble
|
hex}
]
username: (1..48)
characters;
Key fingerprint is in hex
format by default.
Show public SSH keys saved in the switch.
-
username
—remote client name
-
bubble-babble
—key fingerprint in Bubble Babble code
-
hex
—key fingerprint in hex format
show crypto key mypubkey
[
rsa
|
dsa
]
-
Show SSH switch public keys.
show crypto certificate
mycertificate [1 | 2]
-
Show HTTPS server SSL certificates
show ip http
-
Show HTTP server state
show ip https
-
Show HTTPS server state