视窗
loading...
您现在的位置:首页 > IT认证 > 思科认证 >

Switch命令大全(一)


   1.在基于IOS的交换机上设置主机名/系统名:

  switch(config)# hostname hostname

  在基于CLI的交换机上设置主机名/系统名:

  switch(enable) set system name name-string

  2.在基于IOS的交换机上设置登录口令:

  switch(config)# enable password level 1 password

  在基于CLI的交换机上设置登录口令:

  switch(enable) set password

  switch(enable) set enalbepass

  3.在基于IOS的交换机上设置远程访问:

  switch(config)# interface vlan 1

  switch(config-if)# ip address ip-address netmask

  switch(config-if)# ip default-gateway ip-address

  在基于CLI的交换机上设置远程访问:

  switch(enable) set interface sc0 ip-address netmask broadcast-address

  switch(enable) set interface sc0 vlan

  switch(enable) set ip route default gateway

  4.在基于IOS的交换机上启用和浏览CDP信息:

  switch(config-if)# cdp enable

  switch(config-if)# no cdp enable

  为了查看Cisco邻接设备的CDP通告信息:

  switch# show cdp interface [type modle/port]

  switch# show cdp neighbors [type module/port] [detail]

  在基于CLI的交换机上启用和浏览CDP信息:

  switch(enable) set cdp {enable|disable} module/port

  为了查看Cisco邻接设备的CDP通告信息:

  switch(enable) show cdp neighbors[module/port] [vlan|duplex|capabilities|detail]

銆€

銆€

銆愬厤璐e0鏄庡拰鐗堟潈璇存槑銆�
鏈珯閮ㄥ垎淇℃伅鏉ユ簮浜庝簰鑱旂綉锛�瀵硅浆杞界殑淇℃伅鎴戜滑鍔涙眰鏍囨槑淇℃伅鐨勫嚭澶勶紝鎴戜滑灏婇噸浣滆€呯殑鐗堟潈钁椾綔鏉冿紝瀵规垜浠浆杞界殑淇℃伅濡傛湁寮傝鎴栨湁渚垫潈鎴栬繚娉曚俊鎭鍙婃椂鑱旂郴鎴戜滑锛屾湰绔欎細绔嬪嵆鍒犻櫎锛�瀵瑰師鍒涘唴瀹规垜浠効鎰忔敮浠橀€傚綋鐨勭ǹ閰紝鑱旂郴鏂瑰紡锛氶偖浠�:webmaster@jscj.com銆€鐢佃瘽锛�4008816886

相关文章

无相关信息
更新时间2022-09-16 09:56:15【至顶部↑】
联系我们 | 邮件: webmaster@jscj.com | 客服热线电话:4008816886(QQ同号) |  娣诲姞瀹㈡湇寰俊

付款方式留言簿投诉中心网站纠错二维码手机版

电话:
付款方式   |   给我留言   |   我要纠错   |   联系我们