分享
 
 
 

Cisco交换机综合配置实例(一)

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

本实例综合性很强,基本上包含了Cisco交换机的所有交换技术

1.网络拓扑和相应设计

目录:

网络配置实例

网络拓扑和相应设计

Catalyst 5509 配置

Catalyst 4003配置

RSM配置

Catalyst 5505配置

网络拓扑和相关设计

网络拓扑图

2.Catalyst 5509 的配置

下面列出 Catalyst 5509 的基本配置

Enter passWord:

Console> enable

Enter password:

Console> (enable) set system name 5509-ER-F1

System name set.

5509-ER-F1> (enable) set system location 1st Floor Equipment Room

System location set.

5509-ER-F1> (enable) set system contact sysadmin@bigcorp.com

System contact set.

5509-ER-F1> (enable) set time 04/30/1999 9:30:00

Fri APR 30 1999, 09:30:00

5509-ER-F1> (enable) set password

Enter old password:

Enter new password:

Retype new password:

Password changed.

5509-ER-F1> (enable) set enablepass

Enter old password:

Enter new password:

Retype new password:

Password changed.

5509-ER-F1> (enable) set banner motd %

5509-ER-F1 (Catalyst 5509)

access Restricted

%

MOTD banner set

5509-ER-F1> (enable) set interface sc0 10.10.1.10/24

Interface sc0 IP address set.

5509-ER-F1> (enable) set ip route default 10.10.1.1

Route added.

5509-ER-F1> (enable) set ip dns server 10.10.10.100

10.10.10.100 added to DNS server table as primary server.

5509-ER-F1> (enable) set ip dns domain bigcorp.com

Default DNS domain name set to bigcorp.com

5509-ER-F1> (enable) set ip dns enable

DNS is enabled

5509-ER-F1> (enable) set vtp domain BigCorp mode server

VTP domain BigCorp modified

5509-ER-F1> (enable) set vlan 10 name Corporate

Vlan 10 configuration sUCcessful

5509-ER-F1> (enable) set vlan 20 name DevEng

Vlan 20 configuration successful

5509-ER-F1> (enable) set vlan 30 name Mfg

Vlan 30 configuration successful

5509-ER-F1> (enable) set vlan 40 name QA

Vlan 40 configuration successful

5509-ER-F1> (enable) set vlan 50 name Finance&Admin

Vlan 50 configuration successful

5509-ER-F1> (enable) set vlan 60 name Sales&Mktg

Vlan 60 configuration successful

5509-ER-F1> (enable) set module name 1 Supervisor III

Module name set.

5509-ER-F1> (enable) set port flowcontrol 1/1-2 send off

Ports 1/1-2 flow control send administration status set to off

(ports will not send flowcontrol to far end)

5509-ER-F1> (enable) set port flowcontrol 1/1-2 receive off

Ports 1/1-2 flow control receive administration status set to off

(ports will not allow far end to send flowcontrol)

5509-ER-F1> (enable) set port negotiation 1/1-2 enable

Ports 1/1-2 negotiation enabled

5509-ER-F1> (enable) set port name 1/1-2 GEC 802.1Q Trunk

Ports 1/1-2 name set.

5509-ER-F1> (enable) set port channel 1/1-2 desirable

Port(s) 1/1-2 channel mode set to desirable.

5509-ER-F1> (enable) set trunk 1/1 desirable dot1q

Port(s) 1/1 trunk mode set to desirable.

Port(s) 1/1 trunk type set to dot1q.

5509-ER-F1> (enable) set module name 3 RSM (RSM-ER-F1)

Module name set.

5509-ER-F1> (enable) set module name 5 Fast Ether Uplinks

Module name set.

5509-ER-F1> (enable) set port name 5/1-4 FEC ISL Trunk

Ports 5/1-4 name set.

5509-ER-F1> (enable) set port speed 5/1-4 100

Ports 5/1-4 transmission speed set to 100Mbps.

5509-ER-F1> (enable) set port duplex 5/1-4 full

Ports 5/1-4 set to full-duplex.

5509-ER-F1> (enable) set port flowcontrol 5/1-4 send off

Ports 5/1-4 flow control send administration status set to off

(ports will not send flowcontrol to far end)

5509-ER-F1> (enable) set port flowcontrol 5/1-4 receive off

Ports 5/1-4 flow control receive administration status set to off

(ports will not allow far end to send flowcontrol)

5509-ER-F1> (enable) set port negotiation 5/1-4 enable

Ports 5/1-4 negotiation enabled

5509-ER-F1> (enable) set port channel 5/1-4 desirable

Port(s) 5/1-4 channel mode set to desirable.

5509-ER-F1> (enable) set trunk 5/1 desirable isl

Port(s) 5/1 trunk mode set to desirable.

Port(s) 5/1 trunk type set to isl.

5509-ER-F1> (enable) set module name 6 DevEng 100Mb Hosts

Module name set.

5509-ER-F1> (enable) set port name 6/1 DE Sparc Ultra

Port 6/1 name set.

5509-ER-F1> (enable) set port name 6/2-7 DE Sparc20

Ports 6/2-7 name set.

5509-ER-F1> (enable) set port name 6/8-12 DE NT Workstation

Ports 6/8-12 name set.

5509-ER-F1> (enable) set port speed 6/1-12 100

Ports 6/1-12 transmission speed set to 100Mbps.

5509-ER-F1> (enable) set port duplex 6/1-12 full

Ports 6/1-12 set to full-duplex.

5509-ER-F1> (enable) set port flowcontrol 6/1-12 send desired

Ports 6/1-12 flow control send administration status set to desired

(ports will send flowcontrol to far end if far end supports it)

5509-ER-F1> (enable) set port flowcontrol 6/1-12 receive desired

Ports 6/1-12 flow control receive administration status set to desired

(ports will allow far end to send flowcontrol if far end supports it)

5509-ER-F1> (enable) set port channel 6/1-12 off

Port(s) 6/1-12 channel mode set to off.

5509-ER-F1> (enable) set trunk 6/1-12 off

Port(s) 6/1-12 trunk mode set to off.

5509-ER-F1> (enable) set spantree portfast 6/1-12 enable

Warning: Spantree port fast start should only be enabled on ports connected

to a single host. Connecting hubs, concentrators, switches, bridges, etc. to

a fast start port can cause temporary spanning tree loops. Use with caution.

Spantree ports 6/1-12 fast start enabled.

5509-ER-F1> (enable) set vlan 20 6/1-12

VLAN 20 modified.

VLAN 1 modified.

VLANMod/Ports

---- -----------------------

201/1-2

5/1-4

6/1-12

5509-ER-F1> (enable) set module name 7 Corp/Mfg 10Mb Hosts

Module name set.

5509-ER-F1> (enable) set port name 7/1-12 Corp Win98 PC

Ports 7/1-12 name set.

5509-ER-F1> (enable) set port name 7/13-48 Mfg Win98 PC

Ports 7/13-48 name set.

5509-ER-F1> (enable) set port duplex 7/1-48 full

Ports 7/1-48 set to full-duplex.

5509-ER-F1> (enable) set spantree portfast 7/1-48 enable

Warning: Spantree port fast start should only be enabled on ports connected

to a single host. Connecting hubs, concentrators, switches, bridges, etc. to

a fast start port can cause temporary spanning tree loops. Use with caution.

Spantree ports 7/1-48 fast start enabled.

5509-ER-F1> (enable) set vlan 10 7/1-12

VLAN 10 modified.

VLAN 1 modified.

VLANMod/Ports

---- -----------------------

101/1-2

5/1-4

7/1-12

5509-ER-F1> (enable) set vlan 30 7/13-48

VLAN 30 modified.

VLAN 1 modified.

VLANMod/Ports

---- -----------------------

301/1-2

5/1-4

7/13-48

5509-ER-F1> (enable) set module name 8 DevEng 10Mb Hosts

Module name set.

5509-ER-F1> (enable) set port name 8/1-48 DevEng WinNT PC

Ports 8/1-48 name set.

5509-ER-F1> (enable) set port duplex 8/1-48 full

Ports 8/1-48 set to full-duplex.

5509-ER-F1> (enable) set spantree portfast 8/1-48 enable

Warning: Spantree port fast start should only be enabled on ports connected

to a single host. Connecting hubs, concentrators, switches, bridges, etc. to

a fast start port can cause temporary spanning tree loops. Use with caution.

Spantree ports 8/1-48 fast start enabled.

5509-ER-F1> (enable) set vlan 20 8/1-48

VLAN 20 modified.

VLAN 1 modified.

VLANMod/Ports

---- -----------------------

201/1-2

5/1-4

6/1-12

8/1-48

5509-ER-F1> (enable) set module name 9 DevEng 10Mb Hosts

Module name set.

5509-ER-F1> (enable) set port name 9/1-48 DevEng WinNT PC

Ports 9/1-48 name set.

5509-ER-F1> (enable) set port duplex 9/1-48 full

Ports 9/1-48 set to full-duplex.

5509-ER-F1> (enable) set spantree portfast 9/1-48 enable

Warning: Spantree port fast start should only be enabled on ports connected

to a single host. Connecting hubs, concentrators, switches, bridges, etc. to

a fast start port can cause temporary spanning tree loops. Use with caution.

Spantree ports 9/1-48 fast start enabled.

5509-ER-F1> (enable) set vlan 20 9/1-48

VLAN 20 modified.

VLAN 1 modified.

VLANMod/Ports

---- -----------------------

201/1-2

5/1-4

6/1-12

8/1-48

9/1-48

5509-ER-F1> (enable)

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有