77范文网 - 专业文章范例文档资料分享平台

企业网络搭建及应用实例(3)

来源:网络收集 时间:2019-01-10 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

S3500B(config-if)#channel-group 1 mode on S3500B(config-if)#int f0/3 S3500B(config-if)#no switchport S3500B(config-if)#no ip address

S3500B(config-if)#channel-group 1 mode on S3500B(config)#int port-channel 1 S3500B(config-if)#no switchport

S3500B(config-if)#ip add 10.1.2.2 255.255.255.0 配置rip

S3500B(config)#router rip S3500B(config-router)#version 2 S3500B(config)#router ospf 100

S3500B(config-router)#network 10.1.2.0 255.255.255.0 area 0

配置MSTP(优化功能)

S3500A(config)# spanning-tree mst configuration S3500A(config)#revision 5 S3500A(config)#name region 1

S3500A(config-mst)#instance 1 vlan 10 S3500A(config-mst)#instance 2 vlan 20 S3500A(config-mst)#exit

S3500A(config)#spanning-tree mst 1 root primary/priotity 0 //设置此交换机为instance1的生成树根

S3500A(config)#spanning-tree mst 2 root secondary/priotity 4096 //设置此交换机是instance2的生成树备份根 S2900配置

配vtp,TRUNK,vlan

S2900(config)#vtp mode client Setting device to VTP CLIENT mode. S2900(config)#vtp domain server

Changing VTP domain name from NULL to server S2900(config)#int f3/1

S2900(config-if)#switchport mode acce

11

S2900(config-if)#switchport mode access S2900(config-if)#switchport access vlan 10 S2900(config)#int f4/1

S2900(config-if)#switchport access vlan 20 S2900(config-if)#int f2/1

S2900(config-if)#switchport mode trunk S2900(config)#int f0/1

S2900(config-if)#switchport mode trunk

配置MSTP

S2900(config)# spanning-tree mst configuration S2900(config)#revision 5 S2900(config)#name region 1

S2900(config-mst)#instance 1 vlan 10 S2900(config-mst)#instance 2 vlan 20 S2900(config-mst)#exit 配置端口安全

S2900(config-if)#int f3/1

S2900(config-if)#switchport port-security maximum 2 S2900(config-if)#switchport port-security violation shut

2)在下列设备上执行相应的show命令,并将执行结果通过复制粘贴的方式保存到文本文件中。

在R1800上执行下列命令。 Show ip interface brief R1800#show ip interface brief Protocol

up

Interface IP-Address OK? Method Status

FastEthernet0/0 202.10.1.1 YES manual up

FastEthernet1/0 10.1.1.1 YES manual up

12

up

Serial2/0 unassigned YES unset administratively down down

Serial3/0 unassigned YES unset administratively down down

FastEthernet4/0 unassigned YES unset administratively down down

FastEthernet5/0 unassigned YES unset administratively down down

Show ip route S3500A#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route

Gateway of last resort is not set

13

10.0.0.0/24 is subnetted, 2 subnets

C 10.1.1.0 is directly connected, FastEthernet0/1 C 10.1.2.0 is directly connected, Port-channel 1 172.16.0.0/24 is subnetted, 2 subnets

C 172.16.1.0 is directly connected, FastEthernet0/5 C 172.16.2.0 is directly connected, FastEthernet0/4 C 192.168.10.0/24 is directly connected, Vlan10 C 192.168.20.0/24 is directly connected, Vlan20

R 202.10.1.0/24 [120/1] via 10.1.1.1, 00:00:17, FastEthernet0/1

Show access-list R1800#show access-lists Standard IP access list 1 permit 192.168.20.0 0.0.0.255 Show ip nat statistics

pool test: netmask 255.255.255.0 start 202.10.1.6 end 202.10.1.8

type generic, total addresses 3 , allocated 0 (0%), misses 0 在S3500A上执行下列命令。 Show spanning-tree S3500A#show spanning-tree VLAN0001

Spanning tree enabled protocol ieee Root ID Priority 32769

Address 0030.F2D5.6E82 This bridge is the root

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)

14

Address 0030.F2D5.6E82

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 20

Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Fa0/3 Desg FWD 19 128.3 P2p

VLAN0010

Spanning tree enabled protocol ieee Root ID Priority 32778

Address 0030.F2D5.6E82 This bridge is the root

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32778 (priority 32768 sys-id-ext 10) Address 0030.F2D5.6E82

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 20

Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Fa0/3 Desg FWD 19 128.3 P2p

VLAN0020

Spanning tree enabled protocol ieee Root ID Priority 32788

15

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库企业网络搭建及应用实例(3)在线全文阅读。

企业网络搭建及应用实例(3).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/420195.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: