学习啦 > 学习电脑 > 电脑硬件知识 > 硬件知识 >

Cisco思科光纤交换机配置介绍

时间: 加城1195 分享

  交换机的主要功能包括物理编址、网络拓扑结构、错误校验、帧序列以及流控。交换机还具备了一些新的功能,如对VLAN(虚拟局域网)的支持、对链路汇聚的支持,甚至有的还具有防火墙的功能。可能很多用户不知道Cisco思科光纤交换机配置说明。下面小编为大家收集的Cisco思科光纤交换机配置说明教程,希望能帮到大家,一起来看看吧!

  Cisco思科光纤交换机配置说明的方法

  1. 初始化信息

  首次设置,必须通过console进行连接(需要U口转DB9针的接口线,专门卖接口线的有卖大约30元),然后进行初始化设计,以后设定IP后可通过LAN进行登陆

  具体步骤:(红色字体部分着重注意,需要进行设置,大部分按照默认设置即可,而且设置的部分进入管理工具软件可以更改)

  ---- System Admin Account Setup ----

  Enter the password for "admin": password

  Confirm the password for "admin": password

  --- Basic System Configuration Dialog ---

  This setup utility will guide you through the basic configuration of the system. Setup configures only enough connectivity for management of the system.

  Press Enter at any time to skip any dialog. Use ctrl-c at anytime to skip the remaining dialogs.

  Would you like to enter the basic configuration dialog (yes/no): y

  Create another login account (yes/no) [n]:

  Configure read-only SNMP community string (yes/no) [n]:

  Configure read-write SNMP community string (yes/no) [n]:

  Enter the switch name: Pxx-MDS-x (where xx is your pod number and x is the switch number; for example:P01-MDS-1)

  Continue with Out-of-band (mgmt0) management configuration? (yes/no) [y]:

  Mgmt0 IPv4 address : <10.0.x.y> (where x is your pod number and y is 5 for MDS-1 and 3 for MDS-2)(客户)0.16

  Mgmt0 IPv4 netmask : 255.255.255.0

  Configure the default gateway? (yes/no) [y]:

  IPv4 address of the default gateway : 10.0.x.254 (where x is your pod number)

  Configure advanced IP options? (yes/no) [n]:

  Enable the telnet service? (yes/no) [y]:

  Enable the ssh service? (yes/no) [n]:

  Configure the ntp server? (yes/no) [n]:

  Configure default switchport interface state (shut/noshut) [shut]: (注意一下)noshut

  Configure default switchport trunk mode (on/off/auto) [on]:

  Configure default zone policy (permit/deny) [deny]:

  Enable full zoneset distribution (yes/no) [n]:

  NOTE:初始设定的配置对新的VSAN起作用,即原始VSAN1无这些配置

  解决办法:1 zone default-zone permit VSAN

  2 新建 NEW VSAN2 将port转移VSAN2里面

  。建议创建VSAN2 把端口放置在VSAN2中

  2. 交换机配置

  2.1. 配置交换机管理地址

  switch# config t(按tab命令可以补全的或者 输入命令后空格加?

  可以出来命令的使用方法)

  switch (config)# switchname switchswitch(config)# switch(config)# interface mgmt 0switch(config-if)# ip adress 192.168.100.108 255.255.255.0switch(config-if)# no shutdown

  interface mgmt 0 表示的是交换机的管理端口。

  2.2. 配置VSAN

  接下来配置VSAN

  switch#config t

  switch (config)#vsan database

  switch(config-vsan-db)# vsan 2

  switch(config-vsan-db)#end

  2.3. 配置ZONESET

  switch#config t

  switch (config)#zoneset name set10 vsan 2

  switch (config-zoneset)#member ZONE_NAME把ZONE填加到该ZONESET中

  注:在交换机处于正常运行时,如果配置了新的ZONE,并且填加到了ZONESET中,此时需要Acitvate才能生效,命令如下:

  switch#config t

  switch (config)#zoneset activate name set10 vsan 2

  2.4. 配置ZONE

  下面配置ZONE

  基本命令如下:

  switch#config t

  switch(config)#zone name zone_name vsan 2

  switch(config)#member interface fc#/#

  switch(config)#member interface fc#/#

  交换机端口都是以fc表示,fc1/1 表示第一个模块上的第一个端口。由于像cisco9506之类的交换机是模块化的,所以其每个端口就是fc模块号/端口号。像cisco9120,cisco9140,不是模块化的,但其接口默认是fc1/端口号。

  2.5. TRUNKING的配置

  默认情况下,交换机每个端口的TRUNKING协议都是启用的,交换机互连的端口应工作在E mode下,如果有两台交换机互相连接的情况,则要启用TRUNKING,以FC1/1和FC1/2为例。

  配置命令如下:

  switch#config t

  switch(config)# interface fc1/1switch(config-if)# switchport mode e

  switch(config)# interface fc1/2switch(config-if)# switchport mode e

  补充:交换机基本使用方法

  作为基本核心交换机使用,连接多个有线设备使用:网络结构如下图,基本连接参考上面的【方法/步骤1:基本连接方式 】

  作为网络隔离使用:对于一些功能好的交换机,可以通过模式选择开关选择网络隔离模式,实现网络隔离的作用,可以只允许普通端口和UPlink端口通讯,普通端口之间是相互隔离不可以通讯的

  除了作为核心交换机(中心交换机)使用,还可以作为扩展交换机(接入交换机)来扩展网络

  放在路由器上方,扩展网络供应商的网络线路(用于一条线路多个IP的网络),连接之后不同的路由器用不同的IP连接至公网

  相关阅读:交换机硬件故障常见问题

  电源故障:

  由于外部供电不稳定,或者电源线路老化或者雷击等原因导致电源损坏或者风扇停止,从而不能正常工作。

  由于电源缘故而导致机内其他部件损坏的事情也经常发生。

  如果面板上的POWER指示灯是绿色的,就表示是正常的;如果该指示灯灭了,则说明交换机没有正常供电。

  这类问题很容易发现,也很容易解决,同时也是最容易预防的。

  针对这类故障,首先应该做好外部电源的供应工作,一般通过引入独立的电力线来提供独立的电源,并添加稳压器来避免瞬间高压或低压现象。

  如果条件允许,可以添加UPS(不间断电源)来保证交换机的正常供电,有的UPS提供稳压功能,而有的没有,选择时要注意。

  在机房内设置专业的避雷措施,来避免雷电对交换机的伤害。现在有很多做避雷工程的专业公司,实施网络布线时可以考虑。


Cisco思科光纤交换机配置说明相关文章:

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

2.Cisco常用的路由器交换机配置命令

3.cisco设置ip

4.思科cisco怎么配置WEB网管

5.怎么配置思科TRUNK功能

4017444