考试网 >> IT认证 >> 思科 >> Cisco指导 >> 思科认证基础:Switching 命令大全(一)

思科认证基础:Switching 命令大全(一)

发布时间:2006-06-28 05:55     点击:
分页:[1] 2 3 4 5  下一页

 

    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]
分页:[1] 2 3 4 5  下一页
版权申明:未经书面授权请勿转载本站信息!!作品版权归所属媒体与作者所有!!
发表评论: 匿名发表 用户名: 查看评论
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容
本站提醒:不要进行人身攻击。谢谢配合。
在本站搜索相关信息
2003-2005 Ksw123.com All Rights Reserved. - TOP
Copyright © 2006 Ksw123.com. All rights reserved.中国考题网 版权所有