NurfürdenpersönlichenfürStudien,Forschung,--: switch(config)#hostnamehostname 在基于CLI的交换机上设置主机名/系统名: switch(enable)setsystemnamename-string : switch(config)#enablepasswordlevel1password 在基于CLI的交换机上设置登录口令: switch(enable)setpassword switch(enable)setenalbepass : switch(config)#interfacevlan1 switch(config-if)#ipaddressip-mask switch(config-if)#ipdefault-gatewayip-address 在基于CLI的交换机上设置远程访问: switch(enable)setinterfacesc0ip-maskbroadcast-address switch(enable)setinterfacesc0vlan switch(enable)setiproutedefaultgateway : switch(config-if)#cdpenable switch(config-if)#nocdpenable 为了查看Cisco邻接设备的CDP通告信息: switch#showcdpinterface[typemodle/port] switch#showcdpneighbors[typemodule/port][detail] 在基于CLI的交换机上启用和浏览CDP信息: switch(enable)setcdp{enable|disable}module/port 为了查看Cisco邻接设备的CDP通告信息: switch(enable)showcdpneighbors[module/port][vlan|duplex|capabilities|detail] : switch(config-if)#descriptiondescription-string 基于CLI的交换机的端口描述: switch(enable)setportnamemodule/numberdescription-string : switch(config-if)#speed{10|100|auto} 在基于CLI的交换机上设置端口速度: switch(enable)setportspeedmoudle/number{10|100|auto} switch(enable)setportspeedmoudle/number{4|16|auto} : switch(config-if)#duplex{auto|full|half} 在基于CLI的交换机上设置
华为网络工程师学习资料 来自淘豆网www.taodocs.com转载请标明出处.