下面的代碼,哪位大神幫忙看一下,都是什么意思,我網上查了資料,大致每段我懂,但是連起來我就不懂這一大段代碼是做什么的了。
ip route-static 0.0.0.0 0.0.0.0 <交換機網關> preference 60
#
snmp-agent
snmp-agent local-engineid 800063A1000FE257626E6877
snmp-agent community read sxdt-ro acl 2999
snmp-agent community write sxdt-rw acl 2999
snmp-agent sys-info version v2c
#
ssh user sxdl authentication-type password
ssh user sxdl service-type stelnet
ssh user sxview authentication-type password
ssh user sxview service-type stelnet
#
user-interface aux 0
authentication-mode password
set authentication password cipher 密碼
idle-timeout 5 0
user-interface vty 0 4
acl 2998 inbound
authentication-mode scheme
idle-timeout 5 0
protocol inbound ssh
uj5u.com熱心網友回復:
配置了靜態,優先級60,snmp是網管協議,然后是配置ssh用賬號,還有系結acl的用戶限制uj5u.com熱心網友回復:
ip route-static 0.0.0.0 0.0.0.0 <交換機網關> preference 60 #這是寫的一條默認路由#
snmp-agent #這是SNMP協議
snmp-agent local-engineid 800063A1000FE257626E6877 #這個沒搞清楚,開啟協議的時候,自動就有了
snmp-agent community read sxdt-ro acl 2999 #SNMP協議的團體屬性,好像匹配了一個ACL策略
snmp-agent community write sxdt-rw acl 2999
snmp-agent sys-info version v2c #SNMP協議版本,有V1 V2C V3版本
#
ssh user sxdl authentication-type password #SSH協議,用戶和認證
ssh user sxdl service-type stelnet #
ssh user sxview authentication-type password
ssh user sxview service-type stelnet
#
user-interface aux 0 #串口配置,密碼登陸
authentication-mode password
set authentication password cipher 密碼
idle-timeout 5 0
user-interface vty 0 4 #用戶遠程登陸介面,好像是0-63條。一般配到5條
acl 2998 inbound #入方向匹配了一條ACL,做登陸限制
authentication-mode scheme #論證方式為用戶+密碼
idle-timeout 5 0 #超時時間5分鐘
protocol inbound ssh #控制協議 遠程只能用SSH服務來登陸設備
uj5u.com熱心網友回復:
拿個5700s的配置說明 一看就懂轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/50138.html
標籤:交換及路由技術
