经典配置Catalyst65094006交换机配置方案(推荐)

文章作者 100test 发表时间 2007:09:25 11:36:59
来源 100Test.Com百考试题网


拓扑结构如下图所示:
这个配置的例子里面涉及到了:HSRP,VLAN,VTP,STP,TRUNK,PPP等等,一些工程中很常见的配置!

一、 Catalyst 6509交换机配置方案
1.1、配置6509二层交换

Console> (enable) set system name bg-sw-01 /设备名称
Bg-sw-01> (enable) set password
Enter old password:
Enter new password: test       /设备口令
Retype new password: test

Bg-sw-01> (enable) set enablepass
Enter old password:
Enter new password: test       /设备口令
Retype new password: test

Bg-sw-01> (enable) set banner motd % Welcome to the c6509 in the office %  /提示文本

Bg-sw-01> (enable) set interface sc0 10.234.180.21 255.255.255.0  /设置管理接口 #sh int
Bg-sw-01> (enable) set ip route default 10.234.180.234    /设置默认网关 #sh ip route

Bg-sw-01> (enable) set vtp mode server          /设置VTP模式 #sh vtp domain
Bg-sw-01> (enable) set vtp domain Core_Net          /设置VTP域名
Bg-sw-01> (enable) set vlan 31 name ZhongSanLu        /创建VLAN #sh vlan
Bg-sw-01> (enable) set vlan 32 name YiYang
Bg-sw-01> (enable) set vlan 33 name JianXiu
Bg-sw-01> (enable) set vlan 34 name RaoDian
Bg-sw-01> (enable) set vlan 35 name JinSanLou
Bg-sw-01> (enable) set vlan 36 name WuZi

Bg-sw-01> (enable) set port channel 1/1-2 on          /设置Channel #sh port channel
Bg-sw-01> (enable) set trunk 1/1 on dot1q 1-1005

Bg-sw-01> (enable) set trunk 2/2 on dot1q 1-1005 /设置trunk口 #sh trunk #
Bg-sw-01> (enable) set trunk 2/3 on dot1q 1-1005
Bg-sw-01> (enable) set trunk 2/4 on dot1q 1-1005
Bg-sw-01> (enable) set trunk 2/5 on dot1q 1-1005
Bg-sw-01> (enable) set trunk 2/6 on dot1q 1-1005
Bg-sw-01> (enable) set trunk 2/7 on dot1q 1-1005
                             
Bg-sw-01> (enable) set spantree root 1-40 dia 4 /设为spantree的根 #sh spantree
Bg-sw-01> (enable) set spantree portfast 1/1-2 enable /设spantree端口快速启用  
Bg-sw-01> (enable) set spantree portfast 2/1-8 enable       
Bg-sw-01> (enable) set spantree uplinkfast enable /设spantree端口快速切换       
Bg-sw-01> (enable) set spantree backbonefast enable /设spantree端口快速定位根
1.2、配置路由

Console> (enable) session 15            /进入路由子卡

Router(config)# hostname c6509-msfc /设备名
c6509-msfc (config)# enable password test         /设口令
c6509-msfc (config)# enable secret test
C6509-msfc(config)# banner motd % Welcome to the c6509-msfc in the Office % /设提示文本
c6509-msfc (config)# line vty 0 4 / 进入VTY模式
c6509-msfc (config-line)#login              / 登入提示
c6509-msfc (config-line)#password test          / 设用户级口令
c6509-msfc (config-line)# end

相关文章


网络工程师应该注意的4个问题
教你认识并配置应用路由再分配
利用打环技术排除网络线路故障简介
RouterOS的Hot ot设置说明
经典配置Catalyst65094006交换机配置方案(推荐)
IPmulticast学习笔记
一些网络的基础名词详细分解
ICMP攻击和基于ICMP的路由欺骗
澳大利亚华人论坛
考好网
日本华人论坛
华人移民留学论坛
英国华人论坛