cisco网络交换机配置手册-061201.docVIP

  • 6
  • 0
  • 约1.5万字
  • 约 16页
  • 2015-10-01 发布于河南
  • 举报
cisco网络交换机配置手册-061201.doc

cisco网络交换机配置手册 目 录 一、网络拓扑 3 二、连接设备的方法 3 1、从console连接: 3 2、远程telnet连接 3 三、cisco交换机基本配置的方法 4 1、配置设备特权模式口令 4 2、配置虚拟终端线路VTY(Virtual Type Terminal) 4 3、定义、删除(恢复初始)设备名称 4 4、配置snmp网管串 5 5、新建、修改、删除某个VLAN,以及对VLAN命名 5 6、将某个端口或者一组端口,划分到VLAN 5 7、配置端口工作模式 6 8、配置端口速率 6 9、配置一个或多个VLAN网关 6 10、配置交换机设备的管理地址 6 11、为某个端口配置一个或多个地址 6 12、将设备互联的端口设置为trunk,让其通过vlan信息 7 13、新建port-channel,并将多个端口划分到该port-channel 7 14、删除port-channel,并将该port-channel下的端口删除 7 15、在三层交换机上配置静态路由 7 16、将源端口的流入或流出流量镜像到目的端口 7 17、SHOW命令的使用 8 18、限流方法: 11 19、ACL使用方法 11 20、在两台6509上配置HSRP 12 21、配置端口MAC梆定 13 四、交换机的日常维护 13 一、网络拓扑 参见三地网络拓扑图。 二、连接设备的方法 1、从console连接: 用Console线和转接头将交换机的console口与PC的串口相联,图示如下: 设置如下图(默认设置): 2、远程telnet连接 给交换机配置了管理地址,就可以直接采用远程telnet登陆进入交换机了,但是必须先配置line vty的密码和enable密码才能允许远程登陆。 cisco交换机基本配置的方法 配置设备特权模式口令 telnet *.*.*.* Switch 进入用户模式 Switch enable????????????????? 从用户模式进入特权模式 Switch # config terminal????????从特权模式进入全局配置模式Switch # exit??????? ? 退出所有配置模式 Switch # end 退出配置模式Switch # wr 保存配置 Switch(config)# enable secret cisco123   ――设置特权模式加密口令(机房使用方法) Switch(config)# enable password cisco123  ――设置特权模式不加密口令 Switch(config)# service password-encryption ――将所有口令进行加密 2、配置虚拟终端线路VTY(Virtual Type Terminal) Switch(config)# line vty 0 4 Switch(config-line)# login      --让设备回显一个要求输入口令的提示 Switch(config-line)# password cisco ――Telnet统一密码 Switch(config-line)# exec-timeout 10 0 ――设备超时时间为10分钟0秒 Switch(config)# line vty 0 4 Switch# (config-line)# login local ――设置本地认证模式 Switch (config)# username zhangxy password ****** Switch (config)# no username zhangxy 3、定义、删除(恢复初始)设备名称 Switch(config)# hostname test-2950 test-2950(config)# no hostname 4、配置snmp网管串 Switch(config)# snmp-server community xxxxxx ro (只读) Switch(config)# snmp-server community xxxxxx rw (读写) 5、新建、修改、删除某个VLAN,以及对VLAN命名 Switch# vlan database Switch(vlan)# vlan 100 Switch(vlan)# vlan 100 name XX   (名字一般定义为客户名称或者共享网段标识) Switch(vlan)# no vlan 100 或者 Switch# conf t Switch(config)#vlan 100 Switch (config-vlan

文档评论(0)

1亿VIP精品文档

相关文档