API Guide

支持的版本
10.4.1.0 or later
Identifier GUID-A86A3FF3-1BD3-4D48-B6C2-0E316B29E1B7
Version 2
Status Translation approved
show ip ssh
显示 SSH 服务器信息。
语法
show ip ssh
参数
默认 未配置
命令模式
EXEC
使用情况信息
使用此命令可以查看有关已建立的 SSH 会话的信息。
示例
OS10# show ip ssh
SSH Server: Enabled
--------------------------------------------------
SSH Server Ciphers: chacha20-poly1305@openssh.com,aes128-ctr,
aes192-ctr,aes256-ctr,
aes128-gcm@openssh.com,aes256-gcm@openssh.com
SSH Server MACs: umac-64-etm@openssh.com,umac-128-
etm@openssh.com,
hmac-sha2-256-etm@openssh.com,
hmac-sha2-512-etm@openssh.com,
hmac-sha1-etm@openssh.com,umac-64@openssh.com,
umac-128@openssh.com,hmac-sha2-256,
hmac-sha2-512,hmac-sha1
SSH Server KEX algorithms: curve25519-sha256@libssh.org,ecdh-sha2-
nistp256,
ecdh-sha2-nistp384,ecdh-sha2-nistp521,
diffie-hellman-group-exchange-sha256,
diffie-hellman-group14-sha1
Password Authentication: Enabled
Host-Based Authentication: Disabled
RSA Authentication: Enabled
Challenge Response Auth: Disabled
支持的版本
10.3.0E or later
Identifier GUID-8EAA3302-10F3-4F3D-9956-1FE3AA76AD9C
Version 1
Status Translation approved
show mac address-table count
显示 MAC 地址表中的条目数。
语法
show mac address-table count [interface {ethernet slot/port:subport | port-
channel number | vlan vlan-id}]
参数
interface 显示接口类型
ethernet node/slot/port[:subport] 显示地址表中的以太网接口配置。
port-channel channel-number 显示地址表 1 128 中的端口通道接口配置。
vlan vlan-id 显示特定 VLAN1 4093的信息。
默认
命令模式
EXEC
使用情况信息
安全性
991