Cisco+6509配置手册
cisco6509 时间访问列表配置

cisco6509 时间访问列表配置要达到的具体要求如下:周一到周五早8:00到12:00不允许上网,12:00到13:00可以上网,13:00到17:00不可以上网,17:00以后到第二天早上8:00可以,周六,周日两天都可以上网。
大师们,帮帮我吧,我感觉不用网管软件实现起来是不是太困难了阿。
#1首先配置NTP服务,让你的路由器时间和北京时间一致。
Router(config)#ntp source gigabitEthernet 0/1指定NTP服务使用哪个端口连接国家授时中心Router(config)#ntp server 210.72.145.44(国家授时中心地址)Router(config)#ntp update-calendar让国家授时中心提供的日期时间更新你的路由器电池供电的电子表时间这样你的路由器时间就很准确了。
#2配置时间序列,基于时间的访问列表。
通过它,可以根据一天中的不同时间或者根据一星期中的不同日期(当然也可以二者结合起来)控制网络数据包的转发,实现上网控制。
Router(config)#time-range time_online(能够上网时间序列)Router(config-time-range)#periodic weekdays 12:00 to 13:00(工作日12点到13点)Router(config-time-range)#periodic weekdays 17:00 to 23:59(工作日17点到00点)Router(config-time-range)#periodic weekdays 00:00 to 08:00(工作日00点到08点)Router(config-time-range)#periodic weekend 00:00 to 23:59(休息日全天)这样就实现了基于北京时间的准确上网时间序列。
#3配置基于北京时间的访问控制列表Router(config)#ip access-list extended net_control(ACL名称)Router(config-ext-nacl)#permit ip any any time-range time_online(刚配好的上网时间序列)Router(config-ext-nacl)#end#4将该ACL应用到要控制上网的内网口,收工。
CISCO交换机6509简介(初级学习)

目录第1章CISCO交换机概述 (6)1.1概述 (6)1.2 Cisco交换机产品介绍 (7)1.2.1低端产品 (7)1.2.2中端产品 (7)1.2.3高端产品 (7)1.2.4单板与华为S8016的对比............................................................... 错误!未定义书签。
第2章Catalyst6000系列 (8)2.1特性表与华为S8016的对比...................................................................... 错误!未定义书签。
2.2接口模块与华为S8016的对比.................................................................. 错误!未定义书签。
第3章多层交换技术 (9)3.1概述 (9)3.2 Catalyst交换机的VLAN交换技术 (11)第4章6509的进一步配置 (18)4.1准备 (18)4.1.1网桥或交换机 (18)4.1.2生成树协议 (18)4.1.3 V L A N (18)4.1.4中继 (19)4.1.5捆绑端口 (19)4.1.6配置 (19)4.2 6509配置实战 (20)4.2.1 Catalyst模式 (20)4.2.2控制台波特率 (21)4.2.3 sc0接口 (21)4.2.4 IP允许表 (21)4.2.5 Reset命令 (22)4.2.6配置文件 (22)4.2.7快速以太网和千兆快速以太网端口的配置 (25)4.2.8生成树协议的使用 (26)4.2.9配置VLAN (26)4.2.10配置动态VLAN (26)4.2.11使用外部路由器路由VLAN (26)关键词:Catalyst 6509;S8016;多层交换(MLS);VLAN;6509配置摘要:第一章CISCO交换机概览”,对于想了解cisco的Catalyst系列交换机知识的可以看看;第二章Catalyst6000系列”,着重简述了6000系列交换机的规格。
思科交换机6509配置实例(双机热备)

CISCO 6509配置手册1.设置时间switch#config tswitch(config)# clock timezone GMT 8 ;配置时区switch(config)# clock set 13:30:21 31 JAN 2004 ;配置交换机时间2.设置主机名及密码Switch#congfig tSwitch(config)#hostname 6509a //配置交换机名称6509a(config)#enable password cisco //配置用户密码6509a (config)#enable secret cisco //配置安全密码6509a (config-line)#line vty 0 15 //配置远程访问密码6509a (config-line)#login6509a (config-line)#password cisco6509a (config-line)#login6509a (config-line)#^z6509a #show running-config //查看配置信息6509a #copy running-config startup-config6509a #show startup-config6509a #show bootvar6509a #dir bootflash:6509a #copy system:running-config nvram:startup-config6509a #show fabric status6509a #show hardware3.配置vlan6509a #config t6509a (config)#vlan 3016509a (config-vlan)# name hexinxitong6509a (config)#vlan 3026509a (config-vlan)# name callcenter6509a (config)#vlan 3036509a (config-vlan)# name kuaijicaiwu6509a (config)#vlan 3046509a (config-vlan)# name guojiyewu6509a (config)#vlan 3056509a (config-vlan)# name guanlixitong6509a (config)#vlan 3066509a (config-vlan)# name ceshihuanjing6509a (config)#vlan 3076509a (config-vlan)# name wangluoguanli6509a (config-vlan)#exit6509a (config)#exit6509a #show vlan6509a (config)#interface range giga 2/1 – 8 //配置端口信息6509a (config-if-range)#switchport //二层交换模式6509a (config-if-range)#switchport mode access6509a (config-if-range)#switchport access vlan 3016509a (config-if-range)#exit6509a (config)#interface range giga 2/9– 146509a (config-if-range)#switchport mode access6509a (config-if-range)#switchport access vlan 3026509a (config-if-range)#exit6509a (config)#interface range giga 2/15 – 176509a (config-if-range)#switchport mode access6509a (config-if-range)#switchport access vlan 3036509a (config-if-range)#exit6509a (config)#interface range giga 2/18 – 226509a (config-if-range)#switchport mode access6509a (config-if-range)#switchport access vlan 3046509a (config)#interface range giga 2/23 – 266509a (config-if-range)#switchport mode access6509a (config-if-range)#switchport access vlan 3056509a (config-if-range)#exit6509a (config)#interface range giga 2/27 – 336509a (config-if-range)#switchport mode access6509a (config-if-range)#switchport access vlan 3066509a (config-if-range)#exit6509a (config)#interface range giga 2/34 – 396509a (config-if-range)#switchport mode access6509a (config-if-range)#switchport access vlan 3076509a (config-if-range)#exit6509a (config)#interface giga 2/486509a (config-if)#ip address 12.10.254.2 255.255.255.0 6509a (config-if)#no shut6509a (config)#exit6509a #show vlan4.配置trunk6509a(config)#int giga 5/16509a(config-if)#shut down6509a(config-if)#switchport6509a(config-if)#switchport trunk enca dot1q6509a(config-if)#switchport mode trunk6509a #show int giga 2/48 trunk6509a #show vtp counters6509a #show vtp status6509a(config)#int giga 6/16509a(config-if)#shut down6509a(config-if)#switchport6509a(config-if)#switchport trunk enca dot1q6509a(config-if)#switchport mode trunk6509a(config-if)#no shut down5.设置vlan地址及HSRP6509a #config t6509a(config) #int vlan 3016509a(config-if) #ip address 192.1.2.2 255.255.255.0 6509a(config-if) #no ip redirects6509a(config-if) #standby 1 ip 192.1.2.16509a(config-if) #standby 1 priority 1056509a(config-if) #standby 1 preempt6509a(config-if) #standby 1 track giga 1/486509a(config-if) #no shutdown6509a(config-if) #exit6509a(config) #exit6509a#show ip interface brief6509a #config t6509a(config) #int vlan 3026509a(config-if) #ip address 192.100.4.2 255.255.255.06509a(config-if) #no ip redirects6509a(config-if) #standby 2 ip 192.100.4.16509a(config-if) #standby 2 priority 1056509a(config-if) #standby 2 preempt6509a(config-if) #standby 2 track giga 1/486509a(config-if) #no shutdown6509a(config-if) #exit6509a(config) #exit6509a#show ip interface brief6509a #config t6509a(config) #int vlan 3036509a(config-if) #ip address 192.100.5.2 255.255.255.0 6509a(config-if) #no ip redirects6509a(config-if) #standby 3 ip 192.100.5.16509a(config-if) #standby 3 priority 1056509a(config-if) #standby 3 preempt6509a(config-if) #standby 3 track giga 1/486509a(config-if) #no shutdown6509a(config-if) #exit6509a(config) #exit6509a#show ip interface brief6509a #config t6509a(config) #int vlan 3046509a(config-if) #ip address 192.100.6.2 255.255.255.0 6509a(config-if) #no ip redirects6509a(config-if) #standby 4 ip 192.100.6.16509a(config-if) #standby 4 priority 1056509a(config-if) #standby 4 preempt6509a(config-if) #standby 4 track giga 1/486509a(config-if) #no shutdown6509a(config-if) #exit6509a(config) #exit6509a#show ip interface brief6509a #config t6509a(config) #int vlan 3056509a(config-if) #ip address 192.100.7.2 255.255.255.0 6509a(config-if) #no ip redirects6509a(config-if) #standby 5 ip 192.100.7.16509a(config-if) #standby 5 preempt6509a(config-if) #no shutdown6509a(config-if) #exit6509a(config) #exit6509a#show ip interface brief6509a #config t6509a(config) #int vlan 3066509a(config-if) #ip address 192.100.8.2 255.255.255.0 6509a(config-if) #no ip redirects6509a(config-if) #standby 6 ip 192.100.8.16509a(config-if) #standby 6 preempt6509a(config-if) #no shutdown6509a(config-if) #exit6509a(config) #exit6509a#show ip interface brief6509a #config t6509a(config) #int vlan 3076509a(config-if) #ip address 192.100.9.2 255.255.255.0 6509a(config-if) #no ip redirects6509a(config-if) #standby 7 ip 192.100.9.16509a(config-if) #standby 7 preempt6509a(config-if) #no shutdown6509a(config-if) #exit6509a(config) #exit6509a#show ip interface brief6.配置EIGRP6509a #config t6509a(config) #ip routing eigrp 1006509a(config) #router eigrp 1006509a(config-router) #network 192.1.2.06509a(config-router) #network 192.100.0 .0 255.255.0.0 6509a(config-router) #network 12.0.0.06509a(config-router) #network 192.254.253.06509a(config-router) #no auto-summary6509a(config-router) #^z6509a #show ip proto6509a #show ip route。
思科6509交换机FWSM防火墙模块配置资料_大全

性能5 Gb 1.7 Gb
VLAN标签有无
路由动态静态
故障恢复使用许可不需要需要
VPN功能无有
IDS签名无有
最大接口数100 10
输入控制列表(ACL)支持1280002M
Q. FWSM的性能如何?
A.总性能约为5Gbps。FWSM可以每秒支持一百万个并发连接,并且每秒可以建立超过10万个连接。
Q. FWSM主要具有哪些特性?
A. FWSM的主要特性包括:
·高性能,OC-48或者5 Gbps吞吐量,全双工防火墙功能
·具有整个X 6.0软件功能集和PIX 6.2的下列特性:
o命令授权
o对象组合
o ILS/NetMeeting修正
o URL过滤改进
·3Mpps吞吐量
·支持100个VLAN
·一百万个并发连接
Q. FWSM所能支持的最低的软件版本是多少?
A.最低的IOS软件版本是12.1(13)E,而综合CatOS的最低版本是7.5(1)。
Q. FWSM支持交换矩阵吗?
A.是的,FWSM支持交换矩阵。它具有一条与总线的连接和一条与交换矩阵的连接。
Q. FWSM是否利用热备份路由协议(HSRP)实现冗余?
Q. FWSM用什么机制检测流量?
A. FWSM使用与Cisco PIX防火墙相同的检测算法:自适应安全算法(ASA)。ASA是一种状态检测引擎,可以检测流量的完整性。ASA可以使用源和目的地的地址和端口、TCP序列号,以及其他TCP标志,散列IP报头信息。散列的作用相当于指纹,即创建一个独特的代码,表明建立输入或者输出连接的客户端的身份。
传统防火墙往往会成为网络上的瓶颈,因此性能是用户相当关心的问题。通过此次测试(请见表中数据),我们可以看到出众的性能是FWSM与Catalyst 6500紧密集成所带来的结果,交换机的优异性能表现在启动防火墙后同样得到了良好的体现。
6509虚拟交换机配置步骤

1.1.6509虚拟交换机配置1.1.1.交换机1配置1.配置虚拟交换机工作为SSO(stateful switchover)和NSF(nonstopforwarding)冗余模式两台交换机都必须配置启用SSO和NSF。
redundancmode ssoexitrouter ospf 10nsfexit2.分配虚拟交换机域和交换机编号两台交换机的域编号必须一致,交换机编号分别为1和2。
switch virtual domain 100switch 1exit3.配置VSL链路VSL是一个特殊的Port Group,用于虚拟交换机两个机箱之间通讯。
interface port-channel 10switch virtual link 1no shutdownexitinterface tengigabitethernet 5/1channel-group 10 mode onno shutdownexitinterface tengigabitethernet 5/2channel-group 10 mode onno shutdownexit4.将交换机转换为虚拟交换机工作模式。
switch convert mode virtual1.1.2.交换机2配置1.配置虚拟交换机工作为SSO(stateful switchover)和NSF(nonstopforwarding)冗余模式两台交换机都必须配置启用SSO和NSF。
redundancmode ssoexitrouter ospf 10nsfexit2.分配虚拟交换机域和交换机编号。
两台交换机的域编号必须一致,交换机编号分别为1和2。
switch virtual domain 100switch 2exit3.配置VSL链路VSL是一个特殊的Port Group,用于虚拟交换机两个机箱之间通讯。
interface port-channel 20switch virtual link 1no shutdownexitinterface tengigabitethernet 5/1channel-group 20 mode onno shutdownexitinterface tengigabitethernet 5/2channel-group 20 mode onno shutdownexit4.将交换机转换为虚拟交换机工作模式。
思科6509配置

3.4.2.2. 远程telnet连接5.当完成交换机配置,并起给交换机配置了管理地址,就可以直接采用远程telnet 登陆进入交换机了,但是必须先配置line vty的密码和enable密码才能允许远程登陆。
6.配置telnet登陆命令如下:7.#conf t8.#line vty 0 49.#login ;控制vty接口是否能够telnet10.#password switch11.3. 基本信息配置12.3.1. 交换机软件版本13.Cisco的65xx交换机支持两种版本的系统软件,分别称为Natvie IOS版本和Cat OS版本的系统软件,CatOS版本的软件是为了兼容之前的65xx系列交换机的命令而沿袭下来的。
Native IOS版本软件是Cisco公司为了统一其交换机及路由器的软件风格而研发出来的新一代IOS系统软件,Cisco所有的交换机版本都在整体向Native IOS版本过渡,目前来说,Native IOS版本的软件功能和CatOS 版本的软件功能相差不多,但是今后都会向Native IOS版本软件。
14.本项目中所使用的6509交换机采用的是Native IOS版本。
15.3.2. 查看交换机基本配置16.show version ;查看系统版本,内存配置,寄存器等基本信息17.show module all ;查看交换机配置模块18.show catalyst6000 chassis-mac-address ;查看交换机MAC地址19.#show version输出信息如下:20.Cisco Internetwork Operating System Software21.IOS (tm) s72033_rp Software (s72033_rp-PK9S-M), Version 12.2(17a)SX1, EARLY22.DEPLOYMENT RELEASE SOFTWARE (fc1)23.TAC Support: /tac24.Copyright (c) 1986-2003 by cisco Systems, Inc.piled Wed 29-Oct-03 08:16 by cmong26.Image text-base: 0x40008FBC, data-base: 0x41E5000027.28.ROM: System Bootstrap, Version 12.2(14r)S9, RELEASE SOFTWARE (fc1)29.BOOTLDR: s72033_rp Software (s72033_rp-PK9S-M), Version 12.2(17a)SX1, EARLY30.DEPLOYMENT RELEASE SOFTWARE (fc1)31.32.Router uptime is 29 minutes33.Time since Router switched to active is 29 minutes34.System returned to ROM by power-on (SP by power-on)35.System restarted at 12:57:08 PST Sat Jan 31 200436.System image file is "sup-bootflash:s72033-pk9s-mz.122-17a.SX1.bin"37.38.39.This product contains cryptographic features and is subject to United40.States and local country laws governing import, export, transfer ande. Delivery of Cisco cryptographic products does not imply42.third-party authority to import, export, distribute or use encryption.43.Importers, exporters, distributors and users are responsible forpliance with U.S. and local country laws. By using this product you45.agree to comply with applicable laws and regulations. If you are unable46.to comply with U.S. and local laws, return this product immediately.47.48.A summary of U.S. laws governing Cisco cryptographic products may be found49.at:50./wwl/export/crypto/tool/stqrg.html51.52.If you require further assistance please contact us by sending email to53.export@.54.55.cisco WS-C6509 (R7000) processor (revision 3.0) with 458752K/65536K bytes of56.memory.57.Processor board ID SAL0743NKW858.SR71000 CPU at 600Mhz, Implementation 0x504, Rev 1.2, 512KB L2 Cachest reset from power-on60.X.25 software, Version 3.0.0.61.Bridging software.62.1 Virtual Ethernet/IEEE 802.3 interface(s)63.48 FastEthernet/IEEE 802.3 interface(s)64.36 Gigabit Ethernet/IEEE 802.3 interface(s)65.1917K bytes of non-volatile configuration memory.66.8192K bytes of packet buffer memory.67.65536K bytes of Flash internal SIMM (Sector size 512K).68.Standby is up69.Standby has 458752K/65536K bytes of memory.70.71.Configuration register is 0x210272.73.Router#sho module all74.Mod Ports Card Type Model Serial75.No.76.--- ----- -------------------------------------- ------------------ -----------77.2 16 16 port 1000mb GBIC78.ethernet WS-X6416-GBIC SAL0750QNJP79.3 16 16 port 1000mb GBIC80.ethernet WS-X6416-GBIC SAL0750QNFV81.5 2 Supervisor Engine 72082.(Active) WS-SUP720-BASE SAD075000YF83.6 2 Supervisor Engine 72084.(Warm) WS-SUP720-BASE SAD075109SZ85.7 48 48 port 10/100 mb86.RJ45 WS-X6348-RJ-45 SAL0752R3E687.88.Mod MAC89.addresses Hw Fw Sw Status90.--- ---------------------------------- ------ ------------ ------------ -------91.2 000e.8442.4850 to 000e.8442.485f 2.5 5.4(2) 8.2(0.56)TET Ok92.3 000e.8442.48f0 to 000e.8442.48ff 2.5 5.4(2) 8.2(0.56)TET Ok93.5 000d.290f.fd08 to 000d.290f.fd0b 3.0 7.7(1) 12.2(17a)SX1 Ok94.6 000e.3838.1a8c to 000e.3838.1a8f 3.0 7.7(1) 12.2(17a)SX1 Ok95.7 000e.84c8.54f0 to 000e.84c8.551f 6.8 5.4(2) 8.2(0.56)TET Ok96.97.Mod98.Sub-Module Model Serial Hw Statu99.s100.--- --------------------------- ------------------ ------------ ------- ------- 101.5 Policy Feature Card 3 WS-F6K-PFC3A SAD0752009D 2.0 Ok 102.5 MSFC3 Daughterboard WS-SUP720 SAD075109HX 2.0 Ok 103.6 Policy Feature Card 3 WS-F6K-PFC3A SAD0751085J 2.0 Ok104.6 MSFC3 Daughterboard WS-SUP720 SAD0751077C 2.0 Ok105.7 Inline Power Module WS-F6K-PWR 0.0 Ok106.107.Mod Online Diag Status108.--- -------------------109.2 Pass110.3 Pass111.5 Pass112.6 Pass113.7 Pass114.3.3. 配置机器名、telnet、密码115.在全局模式下,用conf t,进入配置模式,进行以下配置:116.#conf t117.#clock timezone GMT 8 ;配置时区118.#clock set 13:30:21 31 JAN 2004 ;配置交换机时间119.#clock calendar-valid ;使能硬件时钟同步120.#service timestamps debug datetime localtime ;配置系统debug记录时间格式121.#service timestamps log datetime localtime ;配置系统日志记录时间格式122.#service password-encryption ;配置使用加密服务,主要针对口令加密123.#hostname xxxx ;配置交换机名称124.#enable secret 0 xxxxx ;配置enable口令125.#copy run start ;将配置信息保存到NVRAM中,重启动不会丢失126.#line vty 0 4 ;配置telnet127.#exec-timeout 30 0128.#password 0 xxxx129.#login130.3.4. 配置snmp131.#conf t132.#snmp-server community cisco ro(只读);配置只读通信字符串133.#snmp-server community secret rw(读写);配置读写通信字符串134.#snmp-server enable traps ;配置网关SNMP TRAP135.#snmp-server host 10.254.190.1 rw ;配置网关工作站地址136.137.3.5. 启动三层功能138.#ip routing ;启动路由功能139.3.6. 查看和配置系统环境变量140.使用show bootvar命令查看系统启动环境变量,包括BOOT, BOOTLDR, and 141.CONFIG_FILE参数:142.Router# show bootvar143.BOOT variable = slot0:c6sup22-jsv-mz.121-5c.EX.bin,1;144.CONFIG_FILE variable does not exist145.BOOTLDR variable = bootflash:c6msfc2-boot-mz.121-3a.E4146.Configuration register is 0x2147.Router#148.改变BOOT,、BOOTLDR、CONFIG_FILE 这三个环境变量使用命令:149.BOOT #boot system150.BOOTLDR #boot bootldr151.CONFIG_FILE #boot config152.153.共5页: 上一页[1] 2 [3] [4] [5] 下一页154.155.156.157.65xx系列交换机配置(Native IOS)(3)158.发布时间:2004-06-17 浏览次数:159.160.161.162.4. 端口设置163.4.1. 端口基本设置164.Cisco 65xx系列交换机的端口缺省都是路由模式,一般都会配置为交换端口使用,进入端口配置模式:165.对于单一端口,在配置模式下输入:interface Ethernet,Fast Ethernet,Gigabit 166.Ethernet x/y, x为槽位号,y为端口号。
cisco 6509 真实项目核心交换机配置vss配置

初始配置enconf tno ip domain lookupline con 0loginexec-timeout 0 30logging synchronousexitusername et password et6fenable secret et6fhostname 6F-CORE-SW(2)将核心交换机6F-CORE-SW01上与6F-CORE-SW02相连的接口TenGigabitEthernet5/4和TenGigabitEthernet5/5配置为EtherChannel:6F-CORE-SW01(config)#interface range tenGigabitEthernet 5/4 - 56F-CORE-SW01(config-if-range)#channel-group 1 mode on6F-CORE-SW01(config-if-range)#no shutdown% Range command terminated because it failed on TenGigabitEthernet5/46F-CORE-SW01(config-if-range)#exit说明:将核心交换机6F-CORE-SW01上与6F-CORE-SW02相连的接口TenGigabitEthernet5/4和TenGigabitEthernet5/5配置为EtherChannel,为配置VSL作准备。
(3)配置VSS域名与VSS主机号:6F-CORE-SW01(config)#switch virtual domain 100Domain ID 100 config will take effect onlyafter the exec command 'switch convert mode virtual' is issued6F-CORE-SW01(config-vs-domain)#switch 16F-CORE-SW01(config-vs-domain)#switch 1 priority 2006F-CORE-SW01(config-vs-domain)#exit说明:这里没有配置抢占,因为找不到抢占这个命令(因为active交换几只是在控制层面起作用,实际的数据还是各自进行转发所以哪台做active无所谓)配置VSS的域名为100,范围为1-255,两台交换机必须相同;配置VSS的主机号码为1,必须一台为1,另一台为2;并配置VSS优先级为200,默认为100,数字越大,优先级越高,便能成为主VSS交换机。
6509配置

一、拓扑二、IOS升级(由于新6509两块引擎ios版本不一致)1.升级的目的由于6509两块引擎版本不一致,无法配置引擎冗余,需升级另一块引擎ios,两块引擎ios版本一致,才可做sso2.升级前确认首先查看两块引擎板卡ios版本分别为:s72033-ipbase-mz.122-33.SXI7;s72033-ipservices_wan-vz.122-33.SXI7然后分别备份两块板卡引擎ios。
两块板卡引擎升级后同为s72033-ipservices_wan-vz.122-33.SXI7版本。
3.升级步骤上传s72033-ipservices_wan-vz.122-33.SXI7至主引擎,指定交换机从新的ios文件引导启动(boot system flash sup-bootdisk: s72033-ipservices_wan-vz.122-33.SXI7)no boot system flash sup-bootdisk:s72033-ipbase-mz.122-33.SXI(取消旧的ios启动项)boot system flash sup-bootdisk:s72033-ipservices_wan-vz.122-33.SXI7(设置新的ios为启动项)show run | begin boot 会显示启动项如若show boot 显示ios 启动参数为empty,此时reload4.升级后检验配置冗余强制切换Redundancy force-switcher5. 设备状态检查Show module ;show switch virtual等三、基础配置1.port-channel配置:6509-720(config)#interface range gigabitEthernet 7/1 – 26509-720(config-if)#switchport6509-720(config-if)switchport trunk encapsulation dot1q6509-720(config-if)switchport mode trunk6509-720(config-if)channel-group 3 mode on6509-720(config)#interface port-channel 36509-720(config-if)#switchport trunk encapsulation dot1q6509-720(config-if)#switchport mode trunk另一台6509port-channel配置如上一样。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Catalyst 6509 交换机配置手册version 1.0.0中望商业机器有限公司© 1995, 2001 Chinaweal Business Machinery CO. LTDAll Rights Reserve目录1基础配置 (1)1.1建立到控制台的连接 (1)1.2配置交换机的地址 (2)1.3配置Ethernet 口 (3)1.4配置交换机的全局参数 (4)1.5测试网络的连通性 (4)2其它参数的配置 (5)2.1配置Login Banner (5)2.2配置DNS (6)2.3配置CDP协议 (7)3VLAN的配置 (8)3.1配置VTP协议(VLAN Trunk Protocol) (9)3.2配置VLAN (10)3.2.1创建VLAN (10)3.3将交换端口配置到VLAN中 (10)3.4配置VLAN Trunks (12)3.5在MSFC上配置IP InterVLAN路由 (13)3.5.1从Console口进入MSFC (13)3.5.2通过T elnet Session 进入MSFC 模块 (13)3.5.3在MSFC上配置IP InterVLAN路由 (14)3.6配置HSRP协议 (14)3.7配置以太通道 (16)1 基础配置1.1 建立到控制台的连接在进行配置和将交换机接入网络前必须通过控制台来进入交换机的CLI,对交换机进行配置。
在进入CLI后,通过命令enable进入到privileged 模式。
通过以下步骤将终端连接到交换机的控制口例如:<... output truncated ...>Cisco Systems ConsoleEnter password:Console> enableEnter password:Console> (enable)- 1 -1.2 配置交换机的地址在远程登录交换机前你必须为交换机配置地址,掩码和网关等信息在你第一次配置交换机时,将sc0口配置到default VLAN,即VLAN 1中,在你配置了其他VLAN以后,你可以将sc0口配置到其他VLAN中,但是sc0口的地址和网关必须与所在的VLAN的网段对应.配置IP地址和网关的步骤如下例如:Console> (enable) set interface sc0 10.1.1.50/255.0.0.0Interface sc0 IP address and netmask set.Console> (enable) set interface sc0 100Interface sc0 vlan set.Console> (enable) set ip route default 10.1.1.1Route added.Console> (enable) show interfacesl0: flags=51<UP,POINTOPOINT,RUNNING>slip 0.0.0.0 dest 0.0.0.0sc0: flags=63<UP,BROADCAST,RUNNING>vlan 100 inet 10.1.1.50 netmask 255.0.0.0 broadcast 10.255.255.255Console> (enable) show ip routeFragmentation Redirect Unreachable------------- -------- -----------enabled enabled enabledDestination Gateway Flags Use Interface----------------------- ----------------------- ------ ---------- ---------- 2 -default 10.1.1.1 UG 0 sc010.0.0.0 10.1.1.50 U 0 sc0default default UH 0 sl0Console> (enable) ping 10.1.1.10010.1.1.100 is aliveConsole> (enable)1.3 配置 Ethernet 口在一条连路两端的Ethernet, Fast Ethernet和Gigabit Ethernet 口的端口速率了工作方式必须相同。
Ethernet 和Fast Ethernet 会自动配置工作方式,10/100-Mbps Fast Ethernet 口可以自动检测连路速率。
. Gigabit Ethernet总是在full duplex方式下工作。
配置步骤如下注:对10/100-Mbps Fast Ethernet 口,当端口的速率是AUTO时,你不能手动改变工作方式。
例如:Console> (enable) set port speed 2/12 autoPort 2/12 speed set to auto detect.Console> (enable) set port name 2/12 NT S erver 12Port 2/12 name set.Console> (enable) show port 2/12Port Name Status Vlan Level Duplex Speed Type----- ------------------ ---------- ---------- ------ ------ ----- ------------2/12 NT Server 12 connect 1 normal a-half a-100 10/100BaseTX- 3 -<... output truncated ...>Console> (enable)1.4 配置交换机的全局参数配置步骤和命令如下:例如:Console> (enable) set system name Catalyst 6000System name set.Catalyst 6000> (enable) set time 08/18/98 10:08:00Sat Apr 18 1998, 10:08:00Catalyst 6000> (enable) set passwordEnter old password:Enter new password:Retype new password:Password changed.Catalyst 6000> (enable) set enablepassEnter old password:Enter new password:Retype new password:Password changed.Catalyst 6000> (enable)1.5 测试网络的连通性在你配置了交换机的地址和网关以后,你就可以与网络上的其它节点连通了。
测试方法如下:- 4 -Ping和traceroute的例子如下Console> (enable) ping -s 172.20.52.20 1200 4PING 172.20.52.20: 1200 data bytes1208 bytes from 172.20.52.20: icmp_seq=0. time=6 ms1208 bytes from 172.20.52.20: icmp_seq=1. time=6 ms1208 bytes from 172.20.52.20: icmp_seq=2. time=6 ms1208 bytes from 172.20.52.20: icmp_seq=3. time=5 ms----172.20.52.20 PING Statistics----4 packets transmitted, 4 packets received, 0% packet lossround-trip (ms) min/avg/max = 5/5/6Console> (enable) traceroute 172.20.52.20 1400traceroute to 172.20.52.20 (172.20.52.20), 30 hops max, 1440 byte packets1 172.20.52.33 (172.20.52.33)2 ms3 ms 1 ms2 172.20.52.20 (172.20.52.20) 4 ms * 4 msConsole> (enable)2 其它参数的配置2.1 配置 Login Bannerlogin banner或message of the day是在你登陆到交换机时出现在屏幕上的提示信息,最多可以配置255 个字符。
配置步骤:- 5 -- 6 -例如: (通过控制口):Console> (enable) set banner motd *Catalyst 6000 Software Release 5.4(1) IP address 10.1.1.20 *MOTD banner setConsole> (enable) exitCisco Systems ConsoleCatalyst 6000SoftwareRelease 5.4(1) IP address 10.1.1.20Enter password:2.2 配置 DNS域名系统(Domain Name System ,DNS) 可以让你使用主机名来代替交换机的IP 地址。
在使用DNS 前,你必须有一个或一个以上的域名服务器(DNS server ) .步骤:例如:Console> (enable) set ip dns server 10.1.1.100 primary10.1.1.100 added to DNS server table as primary server.Console> (enable) set ip dns server 10.1.1.12210.1.1.122 added to DNS server table as backup server.Console> (enable) set ip dns domain Default DNS domain name set to Console> (enable) set ip dns enableDNS is enabledConsole> (enable) show ip dnsDNS is currently enabled.The default DNS domain name is: DNS name server status---------------------------------------- -------10.1.1.100 primary10.1.1.122Console> (enable)2.3 配置 CDP协议Cisco Discovery Protocol (CDP) 是一种协议和介质无关的协议。