大家一起来学习.docx

上传人:b****7 文档编号:15687460 上传时间:2023-07-06 格式:DOCX 页数:20 大小:38.23KB
下载 相关 举报
大家一起来学习.docx_第1页
第1页 / 共20页
大家一起来学习.docx_第2页
第2页 / 共20页
大家一起来学习.docx_第3页
第3页 / 共20页
大家一起来学习.docx_第4页
第4页 / 共20页
大家一起来学习.docx_第5页
第5页 / 共20页
大家一起来学习.docx_第6页
第6页 / 共20页
大家一起来学习.docx_第7页
第7页 / 共20页
大家一起来学习.docx_第8页
第8页 / 共20页
大家一起来学习.docx_第9页
第9页 / 共20页
大家一起来学习.docx_第10页
第10页 / 共20页
大家一起来学习.docx_第11页
第11页 / 共20页
大家一起来学习.docx_第12页
第12页 / 共20页
大家一起来学习.docx_第13页
第13页 / 共20页
大家一起来学习.docx_第14页
第14页 / 共20页
大家一起来学习.docx_第15页
第15页 / 共20页
大家一起来学习.docx_第16页
第16页 / 共20页
大家一起来学习.docx_第17页
第17页 / 共20页
大家一起来学习.docx_第18页
第18页 / 共20页
大家一起来学习.docx_第19页
第19页 / 共20页
大家一起来学习.docx_第20页
第20页 / 共20页
亲,该文档总共20页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

大家一起来学习.docx

《大家一起来学习.docx》由会员分享,可在线阅读,更多相关《大家一起来学习.docx(20页珍藏版)》请在冰点文库上搜索。

大家一起来学习.docx

大家一起来学习

大家一起来学习。

我做一个模拟环境,大家一起学习吧。

主旨是大家能共同学习,用实践来巩固自己学习的成果。

有什么问题尽管跟帖,相信大家一起讨论,一定能解决一切问题。

一、Catalyst6509交换机配置方案

1.1、配置6509二层交换

Console>(enable)setsystemnamebg-sw-01/设备名称

Bg-sw-01>(enable)setpassword

Enteroldpassword:

Enternewpassword:

test      /设备口令

Retypenewpassword:

test

Bg-sw-01>(enable)setenablepass

Enteroldpassword:

Enternewpassword:

test      /设备口令

Retypenewpassword:

test

Bg-sw-01>(enable)setbannermotd%Welcometothec6509intheoffice%  /提示文本

Bg-sw-01>(enable)setinterfacesc010.234.180.21255.255.255.0 /设置管理接口#shint

Bg-sw-01>(enable)setiproutedefault10.234.180.234   /设置默认网关#shiproute

Bg-sw-01>(enable)setvtpmodeserver         /设置VTP模式#shvtpdomain

Bg-sw-01>(enable)setvtpdomainCore_Net         /设置VTP域名

Bg-sw-01>(enable)setvlan31nameZhongSanLu       /创建VLAN#shvlan

Bg-sw-01>(enable)setvlan32nameYiYang

Bg-sw-01>(enable)setvlan33nameJianXiu

Bg-sw-01>(enable)setvlan34nameRaoDian

Bg-sw-01>(enable)setvlan35nameJinSanLou

Bg-sw-01>(enable)setvlan36nameWuZi

Bg-sw-01>(enable)setportchannel1/1-2on         /设置Channel#shportchannel

Bg-sw-01>(enable)settrunk1/1ondot1q1-1005

Bg-sw-01>(enable)settrunk2/2ondot1q1-1005/设置trunk口#shtrunk#

Bg-sw-01>(enable)settrunk2/3ondot1q1-1005

Bg-sw-01>(enable)settrunk2/4ondot1q1-1005

Bg-sw-01>(enable)settrunk2/5ondot1q1-1005

Bg-sw-01>(enable)settrunk2/6ondot1q1-1005

Bg-sw-01>(enable)settrunk2/7ondot1q1-1005

                             

Bg-sw-01>(enable)setspantreeroot1-40dia4/设为spantree的根 #shspantree

Bg-sw-01>(enable)setspantreeportfast1/1-2enable/设spantree端口快速启用 

Bg-sw-01>(enable)setspantreeportfast2/1-8enable      

Bg-sw-01>(enable)setspantreeuplinkfast enable/设spantree端口快速切换      

Bg-sw-01>(enable)setspantreebackbonefastenable/设spantree端口快速定位根      

     

1.2、配置路由

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

Router(config)#hostnamec6509-msfc/设备名

c6509-msfc(config)#enablepasswordtest        /设口令

c6509-msfc(config)#enablesecrettest

C6509-msfc(config)#bannermotd%Welcometothec6509-msfcintheOffice% /设提示文本

c6509-msfc(config)#linevty04/进入VTY模式

c6509-msfc(config-line)#login              /登入提示

c6509-msfc(config-line)#passwordtest         /设用户级口令

c6509-msfc(config-line)#end

C6509-msfc#configureterminal/进入全局模式

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

C6509-msfc(config)#interfacevlan1          /进入虚子接口

C6509-msfc(config-if)#ipaddress10.234.180.232255.255.255.0/加ip地址

C6509-msfc(config-if)#noshutdown                /开启端口

C6509-msfc(config-if)#standby1ip10.234.180.234        /建HSRP组并设虚IP地址

C6509-msfc(config-if)#standby1priority110          /设优先级

C6509-msfc(config-if)#standby1preempt             /设切换许可

C6509-msfc(config-if)#interfacevlan31

C6509-msfc(config-if)#ipaddress10.234.181.60255.255.255.192

C6509-msfc(config-if)#noshutdown

C6509-msfc(config-if)#standby31ip10.234.181.62

C6509-msfc(config-if)#standby31priority110

C6509-msfc(config-if)#standby31preempt

C6509-msfc(config-if)#interfacevlan32

C6509-msfc(config-if)#ipaddress10.234.181.124255.255.255.192

C6509-msfc(config-if)#noshutdown

C6509-msfc(config-if)#standby32ip10.234.181.126

C6509-msfc(config-if)#standby32priority110

C6509-msfc(config-if)#standby32preempt

C6509-msfc(config-if)#interfacevlan33

C6509-msfc(config-if)#ipaddress10.234.181.188255.255.255.192

C6509-msfc(config-if)#noshutdown

C6509-msfc(config-if)#standby33ip10.234.181.190

C6509-msfc(config-if)#standby33priority110

C6509-msfc(config-if)#standby33preempt

C6509-msfc(config-if)#interfacevlan34

C6509-msfc(config-if)#ipaddress10.234.181.220255.255.255.224

C6509-msfc(config-if)#noshutdown

C6509-msfc(config-if)#standby34ip10.234.181.222

C6509-msfc(config-if)#standby34priority110

C6509-msfc(config-if)#standby34preempt

C6509-msfc(config-if)#interfacevlan35

C6509-msfc(config-if)#ipaddress10.234.181.254252.255.255.224

C6509-msfc(config-if)#noshutdown

C6509-msfc(config-if)#standby35ip10.234.181.254

C6509-msfc(config-if)#standby35priority110

C6509-msfc(config-if)#standby35preempt

C6509-msfc(config-if)#interfacevlan36

C6509-msfc(config-if)#ipaddress10.234.182.28255.255.255.224

C6509-msfc(config-if)#noshutdown

C6509-msfc(config-if)#standby36ip10.234.182.30

C6509-msfc(config-if)#standby36priority110

C6509-msfc(config-if)#standby36preempt

C6509-msfc(config-if)#exit

C6509-msfc#copyrunningconfig

二、Catalyst4006交换机配置方案

2.1、配置4006二层交换(三层交换模块安置在第二个槽)

Console>(enable)setsystemnamebg-sw-02/设备名称

Bg-sw-02>(enable)setpassword

Enteroldpassword:

Enternewpassword:

test      /设备口令

Retypenewpassword:

test

Bg-sw-02>(enable)setenablepass

Enteroldpassword:

Enternewpassword:

test      /设备口令

Retypenewpassword:

test

Bg-sw-02>(enable)setbannermotd%Welcometothec4006intheoffice%/提示文本

Bg-sw-02>(enable)setinterfacesc010.234.180.22255.255.255.0/设置管理接口#shint

Bg-sw-02>(enable)setiproutedefault10.234.180.234/设置默认网关#shiproute

Bg-sw-02>(enable)setvtpmodeserver/设置VTP模式#shvtpdomain

Bg-sw-02>(enable)setvtpdomainCore_Net/设置VTP域名

Bg-sw-02>(enable)setvlan31nameZhongSanLu/创建VLAN#shvlan

Bg-sw-02>(enable)setvlan32nameYiYang

Bg-sw-02>(enable)setvlan33nameJianXiu

Bg-sw-02>(enable)setvlan34nameRaoDian

Bg-sw-02>(enable)setvlan35nameJinSanLou

Bg-sw-02>(enable)setvlan36nameWuZi

Bg-sw-02>(enable)setportchannel1/1-2on/设置Channel#shportchannel

Bg-sw-02>(enable)settrunk1/1ondot1q1-1005

Bg-sw-02>(enable)setportchannel2/1-2on/设置Channel#shportchannel

Bg-sw-02>(enable)settrunk2/1ondot1q1-1005

Bg-sw-02>(enable)settrunk4/1ondot1q1-1005/设置trunk口#shtrunk#

Bg-sw-02>(enable)settrunk4/3ondot1q1-1005

Bg-sw-02>(enable)settrunk4/4ondot1q1-1005

Bg-sw-02>(enable)setspantreerootsecondary1-40dia4

Bg-sw-02>(enable)setspantreeportfast1/1-2enable/设spantree端口快速启用 

Bg-sw-02>(enable)setspantreeportfast2/1-34enable      

Bg-sw-02>(enable)setspantreeportfast3/1-32enable      

Bg-sw-02>(enable)setspantreeportfast4/1-6enable      

Bg-sw-02>(enable)setspantreeuplinkfast enable/设spantree端口快速切换      

Bg-sw-02>(enable)setspantreebackbonefastenable/设spantree端口快速定位根      

2.1、配置三层交换模块(三层交换模块安置在第二)

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

Router(config)#hostnamec4006-L3/设备名

c4006-L3(config)#enablepasswordtest        /设口令

c4006-L3(config)#enablesecrettest

c4006-L3(config)#bannermotd%Welcometothec4006-l3intheOffice%/设提示文本

c4006-L3(config)#linevty04/进入VTY模式

c4006-L3(config-line)#login              /登入提示

c4006-L3(config-line)#passwordtest         /设用户级口令

c4006-L3(config-line)#end

C4006-L3#configureterminal

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

C4006-L3(config)#interfaceport-channel1/建内部虚端口

C4006-L3(config)#interfaceg3            /进入接口模式

C4006-L3(config-if)#channel-group1         /加入到channel组中

C4006-L3(config-if)#exit

C4006-L3(config)#interfaceg4            /进入接口模式

C4006-L3(config-if)#channel-group1/加入到channel组中

C4006-L3(config-if)#exit

C4006-L3(config)#interfaceport-channel1.1/进入子接口模式

C4006-L3(config-if)#encapsulationdot1q1native   /封装trunk

C4006-L3(config-if)#ipaddress10.234.180.233255.255.255.0 /加ip地址

C4006-L3(config-if)#noshutdown               /开启端口

C4006-L3(config-if)#standby1ip10.234.180.234/建HSRP组并设虚IP地址

C4006-L3(config-if)#standby1priority100/设优先级

C4006-L3(config-if)#standby1preempt/设切换许可

C4006-L3(config-if)#interfaceport-channel1.31

C4006-L3(config-if)#encapsulationdot1q31

C4006-L3(config-if)#ipaddress10.234.181.61255.255.255.192

C4006-L3(config-if)#noshutdown

C4006-L3(config-if)#standby31ip10.234.181.62

C4006-L3(config-if)#standby31priority100

C4006-L3(config-if)#standby31preempt

C4006-L3(config-if)#interfaceport-channel1.32

C4006-L3(config-if)#encapsulationdot1q32

C4006-L3(config-if)#ipaddress10.234.181.125255.255.255.192

C4006-L3(config-if)#noshutdown

C4006-L3(config-if)#standby32ip10.234.181.126

C4006-L3(config-if)#standby32priority100

C4006-L3(config-if)#standby32preempt

C4006-L3(config-if)#interfaceport-channel1.33

C4006-L3(config-if)#encapsulationdot1q33

C4006-L3(config-if)#ipaddress10.234.181.189255.255.255.192

C4006-L3(config-if)#noshutdown

C4006-L3(config-if)#standby33ip10.234.181.190

C4006-L3(config-if)#standby33priority100

C4006-L3(config-if)#standby33preempt

C4006-L3(config-if)#interfaceport-channel1.34

C4006-L3(config-if)#encapsulationdot1q34

C4006-L3(config-if)#ipaddress10.234.181.221255.255.255.224

C4006-L3(config-if)#noshutdown

C4006-L3(config-if)#standby34ip10.234.181.222

C4006-L3(config-if)#standby34priority100

C4006-L3(config-if)#standby34preempt

C4006-L3(config-if)#interfaceport-channel1.35

C4006-L3(config-if)#encapsulationdot1q35

C4006-L3(config-if)#ipaddress10.234.181.253255.255.255.224

C4006-L3(config-if)#noshutdown

C4006-L3(config-if)#standby35ip10.234.181.254

C4006-L3(config-if)#standby35priority100

C4006-L3(config-if)#standby35preempt

C4006-L3(config-if)#interfaceport-channel1.36

C4006-L3(config-if)#encapsulationdot1q36

C4006-L3(config-if)#ipaddress10.234.182.29255.255.255.224

C4006-L3(config-i

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 农林牧渔 > 林学

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2