网路设备互联课程设计报告参考例文.docx

上传人:b****7 文档编号:10504704 上传时间:2023-02-17 格式:DOCX 页数:18 大小:16.92KB
下载 相关 举报
网路设备互联课程设计报告参考例文.docx_第1页
第1页 / 共18页
网路设备互联课程设计报告参考例文.docx_第2页
第2页 / 共18页
网路设备互联课程设计报告参考例文.docx_第3页
第3页 / 共18页
网路设备互联课程设计报告参考例文.docx_第4页
第4页 / 共18页
网路设备互联课程设计报告参考例文.docx_第5页
第5页 / 共18页
点击查看更多>>
下载资源
资源描述

网路设备互联课程设计报告参考例文.docx

《网路设备互联课程设计报告参考例文.docx》由会员分享,可在线阅读,更多相关《网路设备互联课程设计报告参考例文.docx(18页珍藏版)》请在冰豆网上搜索。

网路设备互联课程设计报告参考例文.docx

网路设备互联课程设计报告参考例文

网络设备互联课程设计

姓名学号

班级指导老师饶

具体配置如下:

1在二层交换机上划分vlan

L2-sw#configureterminal

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

L2-sw(config)#vlan10

2012-04-1213:

59:

54@5-CONFIG:

Configuredfromoutband

L2-sw(config-vlan)#name2-1

2012-04-1214:

00:

02@5-CONFIG:

Configuredfromoutband

L2-sw(config-vlan)#vlan20

2012-04-1214:

00:

08@5-CONFIG:

Configuredfromoutband

L2-sw(config-vlan)#name2-2

2012-04-1214:

00:

19@5-CONFIG:

Configuredfromoutband

L2-sw(config)#vlan30

2012-04-1213:

59:

54@5-CONFIG:

Configuredfromoutband

L2-sw(config-vlan)#name2-3

2012-04-1214:

00:

19@5-CONFIG:

Configuredfromoutband

L2-sw(config-vlan)#exit

2012-04-1214:

00:

22@5-CONFIG:

Configuredfromoutband

L2-sw(config)#interfacerangefastEthernet0/1-5

2012-04-1214:

00:

44@5-CONFIG:

Configuredfromoutband

L2-sw(config-if-range)#switchportmodeaccess

2012-04-1214:

00:

52@5-CONFIG:

Configuredfromoutband

L2-sw(config-if-range)#switchportaccessvlan20

2012-04-1214:

01:

18@5-CONFIG:

Configuredfromoutband

L2-sw(config-if-range)#exit

2012-04-1214:

01:

23@5-CONFIG:

Configuredfromoutband

L2-sw(config)#interfacerangefastEthernet0/6-10

2012-04-1214:

00:

44@5-CONFIG:

Configuredfromoutband

L2-sw(config-if-range)#switchportmodeaccess

2012-04-1214:

00:

52@5-CONFIG:

Configuredfromoutband

L2-sw(config-if-range)#switchportaccessvlan20

2012-04-1214:

01:

18@5-CONFIG:

Configuredfromoutband

L2-sw(config-if-range)#exit

2012-04-1214:

01:

23@5-CONFIG:

Configuredfromoutband

L2-sw(config)#interfacerangefastEthernet0/11-15

2012-04-1214:

01:

41@5-CONFIG:

Configuredfromoutband

L2-sw(config-if-range)#switchportmodeaccess

2012-04-1214:

01:

56@5-CONFIG:

Configuredfromoutband

L2-sw(config-if-range)#switchportaccessvlan30

2012-04-1214:

02:

03@5-CONFIG:

Configuredfromoutband

L2-sw(config-if-range)#exit

2012-04-1214:

02:

10@5-CONFIG:

Configuredfromoutband

L2-sw#configureterminal

2在三层交换机上划分vlan

L3-sw#configureterminal

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

L3-sw(config)#vlan10

2012-04-1213:

59:

54@5-CONFIG:

Configuredfromoutband

L3-sw(config-vlan)#namexiaoshou

2012-04-1214:

00:

02@5-CONFIG:

Configuredfromoutband

L3-sw(config-vlan)#vlan20

2012-04-1214:

00:

08@5-CONFIG:

Configuredfromoutband

L3-sw(config-vlan)#namejishu

2012-04-1214:

00:

19@5-CONFIG:

Configuredfromoutband

L3-sw(config-vlan)#exit

2012-04-1214:

00:

22@5-CONFIG:

Configuredfromoutband

L3-sw(config)#interfacerangefastEthernet0/6-10

2012-04-1214:

00:

44@5-CONFIG:

Configuredfromoutband

L3-sw(config-if-range)#switchportmodeaccess

2012-04-1214:

00:

52@5-CONFIG:

Configuredfromoutband

L3-sw(config-if-range)#switchportaccessvlan10

2012-04-1214:

01:

18@5-CONFIG:

Configuredfromoutband

L3-sw(config-if-range)#exit

L3-sw(config)#vlan40

2012-04-1213:

59:

54@5-CONFIG:

Configuredfromoutband

L3-sw(config-vlan)#name3-1

2012-04-1214:

00:

02@5-CONFIG:

Configuredfromoutband

L3-sw(config-vlan)#exit

2012-04-1214:

00:

22@5-CONFIG:

Configuredfromoutband

L3-sw(config)#interfacerangefastEthernet0/8

2012-04-1214:

00:

44@5-CONFIG:

Configuredfromoutband

L3-sw(config-if-range)#switchportmodeaccess

2012-04-1214:

00:

52@5-CONFIG:

Configuredfromoutband

L3-sw(config-if-range)#switchportaccessvlan40

2012-04-1214:

01:

18@5-CONFIG:

Configuredfromoutband

L3-sw(config-if-range)#exit

 

3设置交换机之间的链路为trunk

l3-sw(config)#interfacefastEthernet0/1

2012-04-1213:

49:

37@5-CONFIG:

Configuredfromoutband

l3-sw(config-if)#switchportmodetrunk

2012-04-1213:

49:

48@5-CONFIG:

Configuredfromoutband

l3-sw(config-if)#exit

2012-04-1213:

49:

50@5-CONFIG:

Configuredfromoutband

l3-sw(config)#exit

2012-04-1213:

49:

54@5-CONFIG:

Configuredfromoutband

L2-sw(config)#interfacefastEthernet0/1

2012-04-1213:

49:

37@5-CONFIG:

Configuredfromoutband

L2-sw(config-if)#switchportmodetrunk

2012-04-1213:

49:

48@5-CONFIG:

Configuredfromoutband

L2-sw(config-if)#exit

2012-04-1213:

49:

50@5-CONFIG:

Configuredfromoutband

L2-sw(config)#exit

2012-04-1213:

49:

54@5-CONFIG:

Configuredfromoutband

 

4在三层交换机上配置SVI端口

L3-SW#configureterminal

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

L3-SW(config)#interfacevlan10

%LINK-5-CHANGED:

InterfaceVlan10,changedstatetoup

%LINEPROTO-5-UPDOWN:

LineprotocolonInterfaceVlan10,changedstatetoupL3-SW(config-if)#ipaddress172.16.10.1255.255.255.0

L3-SW(config-if)#noshutdown

L3-SW(config-if)#exit

L3-SW(config)#interfacevlan20

%LINK-5-CHANGED:

InterfaceVlan20,changedstatetoup

L3-SW(config-if)#ipaddress192.168.20.1255.255.255.0

L3-SW(config-if)#noshutdown

L3-SW(config-if)#exit

L3-SW(config)#

L3-SW(config)#interfacevlan30

%LINK-5-CHANGED:

InterfaceVlan20,changedstatetoup

L3-SW(config-if)#ipaddress192.168.30.1255.255.255.0

L3-SW(config-if)#noshutdown

L3-SW(config-if)#exit

L3-SW(config)#interfacevlan40

%LINK-5-CHANGED:

InterfaceVlan20,changedstatetoup

L3-SW(config-if)#ipaddress192.168.40.1255.255.255.0

L3-SW(config-if)#noshutdown

L3-SW(config-if)#exit

L3-SW(config)#

5将二层交换机于三层交换机连起来

(1)三层交换机

S3760-1>enable14

Password:

S3760-1#configureterminal

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

S3760-1(config)#hostnameL3-SW

2012-04-0714:

25:

00@5-CONFIG:

Configuredfromoutband

L3-SW(config)#interfacevlan1

2012-04-0714:

25:

14@5-CONFIG:

Configuredfromoutband

L3-SW(config-if)#ipaddress192.168.1.1255.255.255.0

2012-04-0714:

25:

33@5-CONFIG:

Configuredfromoutband

L3-SW(config-if)#noshutdown

2012-04-0714:

25:

42@5-CONFIG:

Configuredfromoutband

L3-SW(config-if)#exit

2012-04-0714:

25:

45@5-CONFIG:

Configuredfromoutband

L3-SW(config)#interfacef0/23

2012-04-0714:

25:

58@5-CONFIG:

Configuredfromoutband

L3-SW(config-if)#switchportmodetrunk

2012-04-0714:

26:

21@5-CONFIG:

Configuredfromoutband

L3-SW(config-if)#exit

2012-04-0714:

26:

25@5-CONFIG:

Configuredfromoutband

L3-SW(config)#interfacef0/24

2012-04-0714:

26:

30@5-CONFIG:

Configuredfromoutband

L3-SW(config-if)#switchportmodetrunk

2012-04-0714:

26:

33@5-CONFIG:

Configuredfromoutband

L3-SW(config-if)#exit

2012-04-0714:

26:

35@5-CONFIG:

Configuredfromoutband

L3-SW(config)#spanning-tree

2012-04-0714:

27:

09@5-CONFIG:

Configuredfromoutband

L3-SW(config)#spanning-treemoderstp

2012-04-0714:

27:

22@5-CONFIG:

Configuredfromoutband

L3-SW(config)#exit

2012-04-0714:

29:

49@5-CONFIG:

Configuredfromoutband

L3-SW#showspanning-tree

StpVersion:

RSTP

SysStpStatus:

Enabled

BaseNumPorts:

28

MaxAge:

20

HelloTime:

2

ForwardDelay:

15

BridgeMaxAge:

20

BridgeHelloTime:

2

BridgeForwardDelay:

15

MaxHops:

20

TxHoldCount:

3

PathCostMethod:

Long

BPDUGuard:

Disabled

BPDUFilter:

Disabled

BridgeAddr:

00d0.f805.b692

Priority:

32768

TimeSinceTopologyChange:

0d:

0h:

16m:

36s

TopologyChanges:

0

DesignatedRoot:

800000D0F805B692

RootCost:

0

RootPort:

0

L3-SW#configureterminal

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

L3-SW(config)#spanning-treepriority?

<0-61440>Bridgepriorityinincrementsof4096

L3-SW(config)#spanning-treepriority4096

L3-SW(config)#

L3-SW(config)#interfacef0/2

2012-04-0714:

32:

50@5-CONFIG:

Configuredfromoutband

L3-SW(config-if)#spanning-treeport-priority?

<0-240>Portpriorityinincrementsof16

L3-SW(config-if)#exit

2012-04-0714:

33:

43@5-CONFIG:

Configuredfromoutband

L3-SW(config)#interfacef0/2

2012-04-0714:

35:

51@5-CONFIG:

Configuredfromoutband

L3-SW(config-if)#spanning-treeport-priority96

2012-04-0714:

36:

17@5-CONFIG:

Configuredfromoutband

L3-SW(config-if)#exit

2012-04-0714:

36:

27@5-CONFIG:

Configuredfromoutband

L3-SW(config)#spanning-treepathcostmethodshort

2012-04-0714:

36:

55@5-CONFIG:

Configuredfromoutband

L3-SW(config)#exit

2012-04-0714:

36:

59@5-CONFIG:

Configuredfromoutband

(2)二层交换机

S2126G-2>enable14

Password:

S2126G-2#configureterminal

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

S2126G-2(config)#hostnameL2-SW

2012-04-0714:

57:

31@5-CONFIG:

Configuredfromoutband

L2-SW(config)#interfacevlan1

2012-04-0714:

57:

46@5-CONFIG:

Configuredfromoutband

L2-SW(config-if)#ipaddress192.168.1.2255.255.255.0

2012-04-0714:

58:

07@5-CONFIG:

Configuredfromoutband

L2-SW(config-if)#noshutdown

2012-04-0714:

58:

13@5-CONFIG:

Configuredfromoutband

L2-SW(config-if)#exit

2012-04-0714:

58:

32@5-CONFIG:

Configuredfromoutband

L2-SW(config)#interfacefastEthernet0/23

2012-04-0714:

58:

47@5-CONFIG:

Configuredfromoutband

L2-SW(config-if)#switchportmodetrunk

2012-04-0714:

58:

58@5-CONFIG:

Configuredfromoutband

L2-SW(config-if)#exit

2012-04-0714:

59:

02@5-CONFIG:

Configuredfromoutband

L2-SW(config)#interfacefastEthernet0/24

2012-04-0714:

59:

23@5-CONFIG:

Configuredfromoutband

L2-SW(config-if)#switchportmodetrunk

2012-04-0714:

59:

36@5-CONFIG:

Configuredfromoutband

L2-SW(config-if)#exit

2012-04-0714:

59:

40@5-CONFIG:

Configuredfromoutband

L2-SW(config)#spanning-tree

2012-04-0715:

00:

04@5-CONFIG:

Configuredfromoutband

L2-SW(config)#spanning-treemoderstp

2012-04-0715:

00:

25@5-CONFIG:

Configuredfromoutband

L2-SW(config)#

2012-04-0715:

00:

35@4-TOPOCHANGE:

Topologyischanged

L2-SW(config)#exit

2012-04-0715:

00:

46@5-CONFIG:

Configuredfromoutband

L2-SW#showspanning-tree

StpVersion:

RSTP

SysStpStatus:

Enabled

BaseNumPorts:

24

MaxAge:

20

HelloTime:

2

ForwardDelay:

15

BridgeMaxAge:

20

BridgeHelloTime:

2

BridgeForwardDelay:

15

MaxHops:

20

TxHoldCount:

3

PathCostMethod:

Long

BPDUGuard:

Disabled

BPDUFilter:

Disabled

BridgeAddr:

00d0.f88c.36b2

Priority:

32768

TimeSinceTopologyChange:

0d:

0h:

0m:

44s

TopologyChanges:

0

DesignatedRoot:

100000D0F805B592

RootCost:

200000

RootPort:

Fa0/15

将端口路径成本计算方法指定为短整型

L2-SW#configureterminal

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

L2-SW(config)#spanning-treepathcostmethodshort

2

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

当前位置:首页 > 高等教育 > 军事

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1