1) display access-user 查看在线用户信息
cipher命令<nanfang_sizhong>display access-user
------------------------------------------------------------------------------
UserID Username IP address MAC
------------------------------------------------------------------------------
16007 admin 10.228.8.226 -
------------------------------------------------------------------------------
Total 1,1 printed
2)display local-user 查看本地用户信息
[nanfang_sizhong]display local-user
----------------------------------------------------------------------------
User-name State AuthMask AdminLevel
----------------------------------------------------------------------------
admin A T 15
admin123 A T 15
----------------------------------------------------------------------------
Total 2 user(s)
3) 创建用户名密码
[nanfang_sizhong]user-interface vty 0 14
[nanfang_sizhong-ui-vty0-14]authentication-mode password
4)display user-interface maximum-vty 查看telnet用户的最大数目
[nanfang_sizhong]display user-interface maximum-vty
Maximum of VTY user:15 最大用户数是15个
5)创建管理帐户
[nanfang_sizhong]aaa
[nanfang_sizhong-aaa]local-user yiyucheng password cipher yiyucheng 创建用户yiyucheng,密码yiyucheng
[nanfang_sizhong-aaa]local-user yiyucheng service-type telnet 用户yiyucheng登陆方式为Telnet
[nanfang_sizhong-aaa]local-user yiyucheng privilege level 15 用户yiyucheng权限级别为15级 (取值越大,级别越高)。不同级别的用户登录后,只能使用等于或低于自己级别的命令。
6)display history-command all-users 查询所有操作记录
7)display diagnostic-information stat 东西显示的很全,需要自行翻页查(包含光模块发光功率和接收功率,有些光模块不支持查询光功率)
XGigabitEthernet2/0/4 transceiver information:
-
------------------------------------------------------------
Common information:
Transceiver Type :10GBBASE_LRM_SFP
Connector Type :LC
Wavelength(nm) :1270
Transfer Distance(m) :40000(9um)
Digital Diagnostic Monitoring :YES
Vendor Name :OEM
Vendor Part Number :OPSPB231X3CDL40
Ordering Name :
-------------------------------------------------------------
Manufacture information:
Manu. Serial Number :A23451110001
Manufacturing Date :2015-11-02
Vendor Name :OEM
-------------------------------------------------------------
Alarm information:
-------------------------------------------------------------
Diagnostic info
rmation:
Temperature(°C) :47
Voltage(V) :3.23
Bias Current(mA) :37.45
Bias High Threshold(mA) :110.00
Bias Low Threshold(mA) :1.00
Current Rx Power(dBM) :-9.80
Default Rx Power High Threshold(dBM) :3.00
Default Rx Power Low Threshold(dBM) :-20.00
Current Tx Power(dBM) :2.31
Default Tx Power High Threshold(dBM) :8.00
Default Tx Power Low Threshold(dBM) :-2.00
User Set Rx Power High Threshold(dBM) :3.00
User Set Rx Power Low Threshold(dBM) :-20.00
User Set Tx Power High Threshold(dBM) :8.00
User Set Tx Power Low Threshold(dBM) :-2.00
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论