网管联盟 | 网管论坛 | 网管u家 | 网管博客 | 网管软件 | 网管求职 | 小游戏 | 网管搜索 | 网管原创 | 网管聚合 | 网管读摘 | 网管焦点 | 世界素材 | 会员投稿 | 会员中心 
中国网管联盟
Windows Linux Cisco 网络技术 数据库 黑客攻防 DotNet Java PHP 认证 新闻资讯 服务器 存储资讯 网络设备 网管学堂 技术专题 焦点 网吧频道
 当前位置: > bitsCN.com > CISCO > 交换技术 > 交换配置 > Cisco交换机配置入门  

Cisco交换机配置入门

2007-11-08  作者:bitsCN整理  来源:中国网管联盟  点评 投稿 收藏

    Cisco 交换机配置入门

    机型:Cisco 3750

网管论坛bbs_bitsCN_com

    想对交换机警醒配置。一般有两种方法: 网管网www.bitscn.com

    1 、控制台端口(Console ):可以直接对交换机进行配置2 、远程登录(Telnet):通过TELNET程序对已经设置了IP的交换机进行远程配置,一般等控制台端口配置好交换机的IP后才可以进行。

网管bitscn_com

    除了以上的两种方法外,其实还有两种方法:

网管联盟bitsCN_com

    1 、WEB 的配置方式。此方法只能配置一般的简单设置2 、硬件自带的应用程序。专用的程序,一般很少用

网管网www_bitscn_com

    建立控制台连接到交换机 网管联盟bitsCN@com

    一般交换机自带一根Console 线,一端连接到交换机的Comsole 口,一端连接到电脑的串行口。打开超级终端,一般就可以连接到交换机。具体的参数设置如下
    
    网管u家u.bitscn@com



网管u家u.bitscn@com


    
    这样就可以连接到交换机了

  连接到交换机后,如果是第一次启动会要执行初始化操作,一般是设置交换机的名称,密码等一般的信息。 网管u家u.bitscn@com

  由于交换机已经初始化,如果要进行初始化操作,那就要进入特权EXEC模式,在命令提示符号下输入:setup,就会启动初始化操作。

中国网管联盟bitsCN.com

    刚才讲到了特权EXEC模式,这理就要讲一下觉换机的几种模式,不同的模式可以执行不同的操作命令,首先来说两种基本的模式。 网管联盟bitsCN_com

    一般为了安全考虑,CISCO将操作会话分为两个不同的访问级别:用户EXEC级别和特权EXEC级别。用户EXEC级别只能使用有限的命令,且交换机显示Switch>提示符,不能对交换机进行配置。看例子,处于用户EXEC级别下的状态: 网管u家u.bitscn@com

    AITG_FrontekCoreSW>

网管联盟bitsCN@com

    特权EXEC级别下交换机显示Switch#提示符,能对交换机进行各种配置。看例子,处于特权EXEC级别下的状态: 网管网www_bitscn_com

    输入en,进入特权EXEC级别,接着输入密码,进入特权EXEC级别 网管下载dl.bitscn.com

    AITG_FrontekCoreSW>en
    Password:
    AITG_FrontekCoreSW# 中国网管联盟bitsCN.com

    看看,提示符变了,用户在用户EXEC级别输入enable(或en),然后输入密码,就可以进入特权EXEC级别

网管网www_bitscn_com

    在交换机提示符下输入“?”,可以列出相应模式下交换机所支持的所有命令。

网管论坛bbs_bitsCN_com

    退出特权EXEC级别模式:disable 网管u家u.bitscn@com

    再用户EXEC级别输入?可以获得帮助信息:

网管论坛bbs_bitsCN_com

    AITG_FrontekCoreSW>?
    Exec commands:
    <1-99>           Session number to resume
    access-enable    Create a temporary Access-List entry
    clear            Reset functions
    connect          Open a terminal connection
    disable          Turn off privileged commands
    disconnect       Disconnect an existing network connection
    enable           Turn on privileged commands
    exit             Exit from the EXEC
    help             Description of the interactive help system

网管论坛bbs_bitsCN_com


    lock             Lock the terminal
    login            Log in as a particular user
    logout           Exit from the EXEC
    name-connection  Name an existing network connection
    ping             Send echo messages
    rcommand         Run command on remote switch
    resume           Resume an active network connection
    set              Set system parameter (not config)
    show             Show running system information 网管下载dl.bitscn.com
    systat           Display information about terminal lines
    telnet           Open a telnet connection
    terminal         Set terminal line parameters
    traceroute       Trace route to destination
    tunnel           Open a tunnel connection
    where            List active connections

中国网管联盟bitsCN.com


    再特权EXEC级别输入?可以获得帮助信息:

网管联盟bitsCN_com

    AITG_FrontekCoreSW#?
    Exec commands:
    <1-99>           Session number to resume
    access-enable    Create a temporary Access-List entry
    access-template  Create a temporary Access-List entry
    archive          manage archive files
    cd               Change current directory
    clear            Reset functions
    clock            Manage the system clock
    cns              CNS agents
    configure        Enter configuration mode

网管网www_bitscn_com

    connect          Open a terminal connection
    copy             Copy from one file to another
    debug            Debugging functions (see also 'undebug')
    delete           Delete a file
    diagnostic       Diagnostic commands
    dir              List files on a filesystem
    disable          Turn off privileged commands
    disconnect       Disconnect an existing network connection
    dot1x            IEEE 802.1X Exec Commands
网管网www_bitscn_com

    enable           Turn on privileged commands
    eou              EAPoUDP
    erase            Erase a filesystem
    exit             Exit from the EXEC
    format           Format a filesystem
    fsck             Fsck a filesystem
    help             Description of the interactive help system
    ip               Global IP commands
    lock             Lock the terminal

网管联盟bitsCN@com


    login            Log in as a particular user
    logout           Exit from the EXEC
    mkdir            Create new directory
    monitor          Monitoring different system events
    more             Display the contents of a file
    name-connection  Name an existing network connection
    no               Disable debugging functions
    no               Negate a command or set its defaults
    ping             Send echo messages

中国网管论坛bbs.bitsCN.com


    pwd              Display current working directory
    rcommand         Run command on remote switch
    reload           Halt and perform a cold restart
    remote           Remote procedures
    rename           Rename a file
    renew            Renew
    resume           Resume an active network connection
    rmdir            Remove existing directory
    rsh              Execute a remote command

网管下载dl.bitscn.com


    send             Send a message to other tty lines
    session          Run command on member switch
    set              Set system parameter (not config)
    setup            Run the SETUP command facility
    show             Show running system information
    systat           Display information about terminal lines
    telnet           Open a telnet connection
    terminal         Set terminal line parameters
    test             Test subsystems, memory, and interfaces 网管下载dl.bitscn.com
    traceroute       Trace route to destination
    tunnel           Open a tunnel connection
    udld             UDLD protocol commands
    undebug          Disable debugging functions (see also 'debug')
    upgrade          Upgrade commands
    verify           Verify a file
    vlan             Configure VLAN parameters
    vmps             VMPS actions
    vtp              Configure global VTP state 网管联盟bitsCN_com
    where            List active connections
    write            Write running configuration to memory, network, or terminal
   
    其实还有几种模式如下:
    全局配置模式:Switch(config)#   配置交换机的全局参数
    接口配置模式:Switch(config-if)#  对交换机的接口进行配置,如某个接口属于那个Vlan,启用及禁用                 接口等
    线路配置模式:Switch(config-line)# 对控制台访问
    VLAN数据库配置模式:Switch(Vlan)# 对Vlan的参数进行配置 网管联盟bitsCN_com

    再稍候我们来慢慢将解这些相应的模式下的作用与用法。

网管u家u.bitsCN.com


TAGs
 上一篇:思科故障全面检测级别与步骤   下一篇:Cisco交换机配置入门2--帮助与注意事项
Cisco交换机配置入门 评论:
loading.. 评论加载中…
评论:请自觉遵守互联网相关政策法规,评论不得超过250字。

验证码: 注册用户
本类热门排行:
最新推荐文章:
网管论坛交流: