eNSP使用初步资料.docx

上传人:b****2 文档编号:336785 上传时间:2023-04-29 格式:DOCX 页数:46 大小:1.91MB
下载 相关 举报
eNSP使用初步资料.docx_第1页
第1页 / 共46页
eNSP使用初步资料.docx_第2页
第2页 / 共46页
eNSP使用初步资料.docx_第3页
第3页 / 共46页
eNSP使用初步资料.docx_第4页
第4页 / 共46页
eNSP使用初步资料.docx_第5页
第5页 / 共46页
eNSP使用初步资料.docx_第6页
第6页 / 共46页
eNSP使用初步资料.docx_第7页
第7页 / 共46页
eNSP使用初步资料.docx_第8页
第8页 / 共46页
eNSP使用初步资料.docx_第9页
第9页 / 共46页
eNSP使用初步资料.docx_第10页
第10页 / 共46页
eNSP使用初步资料.docx_第11页
第11页 / 共46页
eNSP使用初步资料.docx_第12页
第12页 / 共46页
eNSP使用初步资料.docx_第13页
第13页 / 共46页
eNSP使用初步资料.docx_第14页
第14页 / 共46页
eNSP使用初步资料.docx_第15页
第15页 / 共46页
eNSP使用初步资料.docx_第16页
第16页 / 共46页
eNSP使用初步资料.docx_第17页
第17页 / 共46页
eNSP使用初步资料.docx_第18页
第18页 / 共46页
eNSP使用初步资料.docx_第19页
第19页 / 共46页
eNSP使用初步资料.docx_第20页
第20页 / 共46页
亲,该文档总共46页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

eNSP使用初步资料.docx

《eNSP使用初步资料.docx》由会员分享,可在线阅读,更多相关《eNSP使用初步资料.docx(46页珍藏版)》请在冰点文库上搜索。

eNSP使用初步资料.docx

eNSP使用初步资料

eNSP使用初步

1.eNSP安装

1.1下载

一、下载最新版本VirtualBox(当前版本为VirtualBox-4.3.26-98988)并安装

一路next就完成了。

二、下载华为工具eNSP最新版本及相应操作系统镜像如下图

图1

安装eNSP,会跳出支持软件的相关工具软件,如图2所示,由于VirtualBox已经安装了,所以不要选,如果选择了自带的VirtualBox,就等着看无穷无尽的“##”吧!

图2

将svrpbox.img文件,将该文件拷贝到"eNSP安装路径\plugin\svrp\Database"即可

三、重启windows系统

四、Windows防火墙设置

1.若是xp,直接关闭防火墙

2.Win7以上的,控制面板→允许程序或功能通过

图3

将eNSP相关的选项都勾上。

如图4。

图4

五、启动

六、根据系统及机器本身的物理结构的不同,可能会出现各种狗血的情况,只有根据实际情况,实际分析解决。

1.2eNSP启动

一、准备工作

为了更具真是性,我们要从主机直接访问网络设备。

为此,当准备好MicrosoftLoopback网卡。

1如果是xp/2003,按照“控制面板→添加硬件向导→是,我已经连接了此硬件→添加新的硬件设备→安装我手动从列表选择的硬件→网络适配器→Microsoft→MicrosoftLoopback→

2如果是win7

运行hdwwiz,如图5至图7

图5

图6

图7

二、将添加的MicrosoftLoopback网卡ip地址设置为192.168.1.101/24

三、搭建网络拓扑

1.以管理员身份运行eNSP,如图8

图8

图9

序号

区域名

简要描述

1

快捷按钮

提供“新建”和“打开”拓扑的操作入口。

2

样例

提供常用的拓扑案例。

3

最近打开

显示最近已浏览的拓扑文件名称。

4

学习

提供学习eNSP操作方法的入口。

2.搭建网络拓扑

拖一朵云和一台路由器到工作区

首先在设备云上进行端口设定

图10

然后再进行连线,启动AR。

现在就要给AR配置IP地址了,这个地址首先要确认本机所在的网段没有该地址使用。

比如我绑定的网卡是xx.xx.xx.101,所以网段中得试出一个没有在使用的IP。

这边试出来的xx.xx.xx.200是没有其他的PC使用。

可以将这个地址设置在AR上。

图11

启动设备AR

图12

[Quidway]interfaceEthernet0/0

[Quidway-Ethernet0/0]ipaddress1.1.1.4255.0.0.0

配置完路由器的ip地址,你还需要配置PC的ip地址(比如1.1.1.2/8)

(2)配置Telnet方式登陆时的密码

[Quidway]User-interfacevty04

[Quidway-ui-vty0]authentication-modepassword

[Quidway-ui-vty0]setauthenticationpasswordcipherhuawei

[Quidway-ui-vty0]userprivilegelevel3

2.交换机

2.1交换机基本配置

在实验中,我们采用华为三层交换机来组建实验环境。

具体实验环境如图所示。

用标准Console线缆的水晶头一端插在交换机的Console口上,另一端的接口插在PC机上的Console上。

同时为了实现Telnet配置,用一根网线的一段连接交换机的以太网口,另一端连接PC机的网口。

我们采用eNSP来模拟:

1.选择华为S5700交换机和Cloud连接,如图:

2.右击交换机图标,设置,看见串口号为2000

3.启动超级终端hypertrm,按下图设置,启动s5700

4.Telnet配置

system

[huawei]sysS5700

[S5700]intvlanif1

[S5700-Vlanif1]ipadd192.168.1.22224

[S5700-Vlanif1]quit

[S5700]user-interfacevty04

[S5700-ui-vty0-4]au

[S5700-ui-vty0-4]auth

[S5700-ui-vty0-4]authentication-modep

[S5700-ui-vty0-4]authentication-modepassword

[S5700-ui-vty0-4]setauthenticationpasswordcipherhuawei

[S5700-ui-vty0-4]userprivilegelevel3

[S5700-ui-vty0-4]return

save

另外:

可以用汉语

language-modechin

Changelanguagemode,confirm?

[Y/N]y

Apr21201509:

58:

39-08:

00LSW1%%01CMD/4/LAN_MODE(l)[62]:

TheuserchoseYwhend

ecidingwhethertochangethelanguagemode.

提示:

改变语言模式成功。

新建超级终端连接telnet,并按上述地址配置:

确定

输入口令huawei后

[S5700]dispcu

#

sysnameS5700

#

clusterenable

ntdpenable

ndpenable

#

dropillegal-macalarm

#

diffservdomaindefault

#

drop-profiledefault

#

aaa

authentication-schemedefault

authorization-schemedefault

accounting-schemedefault

domaindefault

domaindefault_admin

local-useradminpasswordsimpleadmin

local-useradminservice-typehttp

#

interfaceVlanif1

ipaddress192.168.1.222255.255.255.0

#

interfaceMEth0/0/1

#

interfaceGigabitEthernet0/0/1

#

……

interfaceGigabitEthernet0/0/24

#

interfaceNULL0

#

user-interfacecon0

user-interfacevty04

userprivilegelevel3

setauthenticationpasswordciphere]i*R(/MB7`S/0Rb{DzNIUd#

save

Thiswillsavetheconfiguratonintheflashmemory

Theswitchconfigurationswillbewrittentoflash

Areyousure?

[y/n]y

Nowsavingcurrentconfigurationtoflashmemory

Pleasewaitforawhile…..

Savecurrentconfigurationtoflashmemorysuccessfully

去除配置

resetsaved-configuration

重启

在模拟情况下,大多要出错。

这点和GNS3很像,不知什么时候才会更改过来。

5.交换机端口配置

交换机端口涉及到①端口速率、②端口双工、③接口类型、④流量控制

[S5700-GigabitEthernet0/0/1]speed?

[S5700-GigabitEthernet0/0/1]duplex?

[S5700-GigabitEthernet0/0/1]mdi?

目前以太网接口有MDI和MDIX两种类型。

MDI称为介质相关接口,MDIX称为介质非相关接口。

我们常见的以太网交换机所提供的端口都属于MDIX接口,而路由器和PC提供的都属于MDI接口。

有的交换机同时支持上述两种接口,我们可以强制制定交换机端口的接口类型.

[S5700-GigabitEthernet0/0/1]flow-control?

2.2链路聚合

首先配置聚合组的所有端口工作在全双工模式,端口速率设为一致:

100Mbps:

进入以太网端口Ethernet0/1:

[S3026A]interfaceEthernet0/1(交换机端口默认为自动协商,因此先要停止该模式,再指定)

[S3026A—Ethernet0/1]undoneauto

[S3026A—Ethernet0/1]duplexfull

[S3026A—Ethernet0/1]Speedl00

其余类似。

[S3026A]link-aggregationEthernet0/1toEthernet0/3both

[S3026B]link-aggregationEthernet0/1toEthernet0/3both

(此命令S3700不支持!

不知S5700如何)

一样的,可能命令变了?

命令完全变了:

#

sysnames5700-A

#

lacppriority100

#

clusterenable

ntdpenable

ndpenable

#

dropillegal-macalarm

#

diffservdomaindefault

#

drop-profiledefault

#

aaa

authentication-schemedefault

authorization-schemedefault

accounting-schemedefault

domaindefault

domaindefault_admin

local-useradminpasswordsimpleadmin

local-useradminservice-typehttp

#

interfaceVlanif1

#

interfinterfaceEth-Trunk1

----More----modelacp-static

maxbandwidth-affecte

----More----

interfaceGigabitEthernet0/0/1

eth-trunk1

lacppriority100

#

interfaceGigabitEthernet0/0/2

eth-trunk1

lacppriority100

#

interfaceGigabitEthernet0/0/3

eth-trunk1

#

interfaceGigabitEthernet0/0/4

#

interfaceGigabitEthernet0/0/5

#

interfaceGigabitEthernet0/0/6

#

interfaceGigabitEthernet0/0/7

#

interfaceGigabitEthernet0/0/8

#

interfaceGigabitEthernet0/0/9

#

interfaceGigabitEthernet0/0/10

#

interfaceGigabitEthernet0/0/11

#

interfaceGigabitEthernet0/0/12

#

interfaceGigabitEthernet0/0/13

#

interfaceGigabitEthernet0/0/14

#

interfaceGigabitEinterfaceGigabitEthernet0/0/16

interfaceGigabi#

interfaceGigabi#

interfaceGigabitEthernet0/0/19

#

interfaceGigabitEinterfaceGigabitEthernet0/0/21

#

interfaceGigabitEthernet0/0/22

#

interfaceGigabitEthernet0/0/23

#

interfaceGigabitEthernet0/0/24

#

i

user-interfacecon0

user-interfacevty04

#

return

[s5700-A]

华为S9300核心交换机链路聚合配置实例

配置静态LACP模式链路聚合示例

组网需求

如图1所示,在两台S9300设备上配置静态LACP模式链路聚合组,提高两设备之间的带宽与可靠性,具体要求如下:

2条活动链路具有负载分担的能力。

两设备间的链路具有1条冗余备份链路,当活动链路出现故障链路时,备份链路替代故障链路,保持数据传输的可靠性。

图1配置静态LACP模式链路聚合组网图

配置思路

采用如下的思路配置静态LACP模式链路聚合:

1.在S9300设备上创建Eth-Trunk,配置Eth-Trunk为静态LACP模式。

2.将成员接口加入Eth-Trunk。

3.配置系统优先级确定主动端。

4.配置活动接口上限阈值。

5.配置接口优先级确定活动链路。

数据准备

为完成此配置例,需准备如下的数据:

两端S9300设备链路聚合组编号。

S9300-A系统优先级。

活动接口上限阈值。

活动接口LACP优先级。

操作步骤

1.创建编号为1的Eth-Trunk,配置它的工作模式为静态LACP模式

#配置S9300-A。

system-view

[Quidway]sysnameS9300-A

[S9300-A]interfaceeth-trunk1

[S9300-A-Eth-Trunk1]modelacp-static

[S9300-A-Eth-Trunk1]quit

#配置S9300-B。

system-view

[Quidway]sysnameS9300-B

[S9300-B]interfaceeth-trunk1

[S9300-B-Eth-Trunk1]modelacp-static

[S9300-B-Eth-Trunk1]quit

2.将成员接口加入Eth-Trunk

#配置S9300-A。

[S9300-A]interfacegigabitethernet1/0/1

[S9300-A-Gigabitethernet1/0/1]eth-trunk1

[S9300-A-Gigabitethernet1/0/1]quit

[S9300-A]interfacegigabitethernet1/0/2

[S9300-A-Gigabitethernet1/0/2]eth-trunk1

[S9300-A-Gigabitethernet1/0/2]quit

[S9300-A]interfacegigabitethernet1/0/3

[S9300-A-Gigabitethernet1/0/3]eth-trunk1

[S9300-A-Gigabitethernet1/0/3]quit

#配置S9300-B。

[S9300-B]interfacegigabitethernet1/0/1

[S9300-B-Gigabitethernet1/0/1]eth-trunk1

[S9300-B-Gigabitethernet1/0/1]quit

[S9300-B]interfacegigabitethernet1/0/2

[S9300-B-Gigabitethernet1/0/2]eth-trunk1

[S9300-B-Gigabitethernet1/0/2]quit

[S9300-B]interfacegigabitethernet1/0/3

[S9300-B-Gigabitethernet1/0/3]eth-trunk1

[S9300-B-Gigabitethernet1/0/3]quit

3.在S9300-A上配置系统优先级为100,使其成为LACP主动端

[S9300-A]lacppriority100

4.在S9300-A上配置活动接口上限阈值为2

[S9300-A]interfaceeth-trunk1

[S9300-A-Eth-Trunk1]maxbandwidth-affected-linknumber2

[S9300-A-Eth-Trunk1]quit

7.在S9300-A上配置接口优先级确定活动链路

[S9300-A]interfacegigabitethernet1/0/1

[S9300-A-Gigabitethernet1/0/1]lacppriority100

[S9300-A-Gigabitethernet1/0/1]quit

[S9300-A]interfacegigabitethernet1/0/2

[S9300-A-Gigabitethernet1/0/2]lacppriority100

[S9300-A-Gigabitethernet1/0/2]quit

13.验证配置结果

#查看各S9300设备的Eth-Trunk信息,查看链路是否协商成功。

[S9300-A]displayeth-trunk1

Eth-Trunk1'sstateinformationis:

Local:

LAGID:

1WorkingMode:

STATIC

PreemptDelay:

DisabledHasharithmetic:

AccordingtoSA-XOR-DASystemPriority:

100SystemID:

00e0-fca8-0417

LeastActive-linknumber:

1MaxActive-linknumber:

2

Operatestatus:

UpNumberOfUpPortInTrunk:

2

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

ActorPortNameStatusPortTypePortPriPortNoPortKeyPortStateWeight

GigabitEthernet1/0/1Selected1GE10061452865111111001

GigabitEthernet1/0/2Selected1GE10061462865111111001

GigabitEthernet1/0/3Unselect1GE3276861472865111000001

Partner:

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

PartnerPortNameSysPriSystemIDPortPriPortNoPortKeyPortState

GigabitEthernet1/0/13276800e0-fca6-7f85327686145260911111100

GigabitEthernet1/0/23276800e0-fca6-7f85327686146260911111100

GigabitEthernet1/0/33276800e0-fca6-7f85327686147260911110000

[S9300-B]displayeth-trunk1

 

2.3tftp配置

tftpX.x.x.x(主机IP地址)putvrpcfg.zipQW_5700.zip

2.4vlan设置

GE0/0/24设置为trunk,两个交换机的ge0/0/10设置为vlan2,ge0/0/20设置为vlan3,三个Client分别设置为10/20/30/40

……

#

interfaceGigabitEthernet0/0/9

portlink-typeaccess

portdefaultvlan2

#

interfaceGigabitEthernet0/0/10

portlink-typeaccess

portdefaultvlan2

#

……

#

interfaceGigabitEthernet0/0/19

portlink-typeaccess

portdefaultvlan3

#

interfaceGigabitEthernet0/0/20

portlink-typeaccess

portdefaultvlan3

#

……

#

interfaceGigabitEthernet0/0/24

portlink-typetrunk

porttrunkallow-passvlan2to4094

#

interfaceNULL0

#

在vlan3上的pcB上测试:

[Huawei]vlanbatch1020

[Huawei]inte0/0/5

[Huawei-Ethernet0/0/5]polink-ta

[Huawei-Ethernet0/0/5]quit

[Huawei]vlan10

[Huawei-vlan10]porte0/0/5

[Huawei-vlan10]quit

[Huawei]vlan20

[Huawei]inte0/0/10

[Huawei-Ethernet0/0/10]polink-tacc

[Huawei-Ethernet0/0/10]quit

[Huawei]vlan20

[Huawei-vlan20]poe0/0/10

[Huawei-vlan20]quit

[Huawei]dispvlan

设置vlan’前

设置vlan后

[Huawei]dispvlansu

staticvlan:

Total3s

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

当前位置:首页 > 法律文书 > 调解书

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

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