学习啦>学习电脑>电脑入门>

Cisco交换机入门配置的方法

时间: 志艺942 分享

  你还在为不知道Cisco交换机入门配置的方法而烦恼么?接下来是小编为大家收集的Cisco交换机入门配置的方法教程,希望能帮到大家。

  Cisco交换机入门配置的方法:

  机型:Cisco 3750

学习啦在线学习网   想对交换机警醒配置。一般有两种方法:

  1、控制台端口(Console):可以直接对交换机进行配置

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

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

学习啦在线学习网   1、WEB的配置方式。此方法只能配置一般的简单设置

  2、硬件自带的应用程序。专用的程序,一般很少用

  建立控制台连接到交换机

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

点击在新窗口查看全图

学习啦在线学习网   这样就可以连接到交换机了

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

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

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

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

  AITG_FrontekCoreSW>

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

  输入en,进入特权EXEC级别,接着输入密码,进入特权EXEC级别

学习啦在线学习网   AITG_FrontekCoreSW>en

学习啦在线学习网   Password:

  AITG_FrontekCoreSW#

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

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

  退出特权EXEC级别模式:disable

学习啦在线学习网   再用户EXEC级别输入?可以获得帮助信息:

  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

  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

  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

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

学习啦在线学习网   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

  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

  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

  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

  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

  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

学习啦在线学习网   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

学习啦在线学习网   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的参数进行配置

看了“Cisco交换机入门配置的方法”还看了:

1.思科交换机配置教程详解

2.思科交换机基本配置实例讲解

3.Cisco交换机基本配置的方法

4.思科交换机的基本配置详解

5.cisco2960交换机安装配置基础详解

6.西门子交换机怎么配置

7.Cisco交换机常用配置命令总结

2743405