实验总结端口速率和双工配置讲解.docx

上传人:b****6 文档编号:7955641 上传时间:2023-01-27 格式:DOCX 页数:18 大小:595.71KB
下载 相关 举报
实验总结端口速率和双工配置讲解.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.端口速率和双工配置

端口速率和双工配置

显示:

dispcu

language-modechinese改变语言模式

system-view进入系统视图

undoinfo-centerenable关闭信息中心提示

systemnameBJ-SYS-S5700-1设置设备名称

interfaceGigabitEthernet0/0/3进入接口视图

undonegotiationauto取消自动协商

speed100设置端口速率

duplexhalf设置端口双工

descriptionkuandai配置端口描述

 

2.端口链路聚合配置

端口链路聚合配置

sysnameSW1更换名称

undoinfo-centerenable关闭信息中心

interfaceEth-Trunk0创建聚合组

interfaceGigabitEthernet0/0/1进入端口视图

eth-trunk0将端口加入聚合组

interfaceGigabitEthernet0/0/2

eth-trunk0

 

dispcu

dispinteth-trunk0

3.交换机端口类型vlan配置

Ping截图测试

配置步骤:

sysnamesw1设置设备名称

vlanbatchvlan1020

interfaceGigabitEthernet0/0/1

portlink-typeaccess配置端口类型为access

portdefaultvlan10配置access端口的vlan

interfaceGigabitEthernet0/0/2

portlink-typeaccess

portdefaultvlan20

interfaceGigabitEthernet0/0/3

portlink-typetrunk配置端口类型为trunk

porttrunkallow-passvlan1020配置trunk端口允许通过的vlan

interfaceGigabitEthernet0/0/4

portlink-typetrunk配置端口类型为trunk

porttrunkallow-passvlan2to4094配置trunk端口允许通过的vlan

4.以太网链路聚合

步骤:

interfaceEth-Trunk0创建聚合组

interfaceGigabitEthernet0/0/3进入端口视图

eth-trunk0将端口加入聚合组

interfaceGigabitEthernet0/0/4

eth-trunk0

interfaceEth-Trunk0定义端口

portlink-typetrunk

porttrunkallow-passvlan1020

Ping截图

5.三层交换机不同vlan互通

步骤:

language-modechinese改变语言模式

system-view进入系统视图

sysnamesw1设置系统名称

undoinfo-centerenable

vlanbatch1020创建vlan

interfaceVlanif1创建vlanif

interfaceVlanif10创建vlan10的三层接口

ipaddress10.1.1.1(网关号)255.255.255.0在vlan10的三层接口下配置IP地址

interfaceVlanif20创建vlan10的三层接口

ipaddress20.1.1.1(网关号)255.255.255.0在vlan10的三层接口下配置IP地址

interfaceGigabitEthernet0/0/1进入端口视图

portlink-typeaccess配置接口类型

portdefaultvlan10配置接口vlan

interfaceGigabitEthernet0/0/2

portlink-typeaccess

portdefaultvlan20

实验验证ping结果:

实现vlan之间路由的方法:

1.用路由器物理接口连接不同的vlan

2.单臂路由(路由器+L2交换机)

3.三层交换机(实现方法如上图所示)

6.单臂路由:

步骤:

language-modechinese改变语言模式

system-view进入系统视图

sysnamesw1设置系统名称

路由器:

interfaceEthernet0/0/0.1进入端口的子接口视图

dot1qterminationvid10用8021q协议封装vlan10

ipaddress10.1.1.1255.255.255.0给vlan10配置ip

ARPbroadcastenable在端口下把arp的广播方式使能

interfaceEthernet0/0/0.2进入端口的子接口视图

dot1qterminationvid20用8021q协议封装vlan10

ipaddress20.1.1.1255.255.255.0给vlan20配置ip

ARPbroadcastenable在端口下把arp的广播方式使能

交换机:

language-modechinese改变语言模式

system-view进入系统视图

sysnamesw1设置系统名称

vlanbatch1020

interfaceGigabitEthernet0/0/1

portlink-typetrunk

porttrunkallow-passvlan2to4094

#

interfaceGigabitEthernet0/0/2

portlink-typeaccess

portdefaultvlan10

#

interfaceGigabitEthernet0/0/3

portlink-typeaccess

portdefaultvlan20

连接结果:

7.TELNET的password认证配置(用路由器)

步骤:

客户端配置

language-modechinese改变语言模式

system-view进入系统视图

sysnamekehuduan

interfaceGigabitEthernet0/0/0

ipaddress10.1.1.2255.255.255.0

服务器配置:

步骤:

language-modechinese改变语言模式

system-view进入系统视图

sysnamefuwuqi

interfaceGigabitEthernet0/0/0

ipaddress10.1.1.1255.255.255.0

user-interfacevty04

authentication-modepassword

setauthenticationpasswordsimpleHUAWEI

在客户端验证,通过客户端远程登录到服务器

telnet10.1.1.1

连接结果:

8.Dhcp的interface方式下发ip

PC端运行结果:

9.Dhcp的global方式下发ip

步骤sysnamer1

dhcpenable

ippool1创建地址池

gateway-list10.1.1.1配置网段的网关地址

network10.1.1.0mask255.255.255.0配置地址

excluded-ip-address10.1.1.10010.1.1.254

leaseday0hour3minute0配置租期

dns-list8.8.8.8222.222.222.222配置dns

interfaceGigabitEthernet0/0/0

ipaddress10.1.1.1255.255.255.0

dhcpselectglobal在接口下配置dhcp的全局地址

运行结果:

PC>ipconfig

LinklocalIPv6address...........:

fe80:

:

5689:

98ff:

fe1d:

277c

IPv6address......................:

:

:

/128

IPv6gateway......................:

:

:

IPv4address......................:

10.1.1.99

Subnetmask.......................:

255.255.255.0

Gateway...........................:

10.1.1.1

Physicaladdress..................:

54-89-98-1D-27-7C

DNSserver........................:

8.8.8.8

222.222.222.222

Pc端运行结果

10.项目一:

步骤

R:

sysnamer

aaa

interfaceGigabitEthernet0/0/0.1

dot1qterminationvid10

ipaddress192.168.10.254255.255.255.0

arpbroadcastenable

interfaceGigabitEthernet0/0/0.2

dot1qterminationvid20

ipaddress192.168.20.254255.255.255.0

arpbroadcastenable

s3700-1

sysnames3700-1

vlanbatch1020

interfaceVlanif10

ipaddress192.168.10.254255.255.255.0

interfaceVlanif20

ipaddress192.168.20.254255.255.255.0

interfaceEthernet0/0/2

portlink-typetrunk

porttrunkallow-passvlan2to4094

interfaceEthernet0/0/3

undonegotiationauto

speed10

portlink-typeaccess

portdefaultvlan10

interfaceEthernet0/0/4

undonegotiationauto

speed10

portlink-typeaccess

portdefaultvlan20

user-interfacecon0

user-interfacevty04

sysnames3700-2

vlanbatch1020

interfaceVlanif10

ipaddress192.168.10.254255.255.255.0

interfaceVlanif20

ipaddress192.168.20.254255.255.255.0

interfaceEthernet0/0/1

portlink-typetrunk

porttrunkallow-passvlan2to4094

interfaceEthernet0/0/2

undonegotiationauto

speed100

duplexhalf

portlink-typeaccess

portdefaultvlan10

interfaceEthernet0/0/4

undonegotiationauto

speed100

duplexhalf

portlink-typeaccess

portdefaultvlan20

user-interfacecon0

user-interfacevty04

运行结果:

11.帧中继的组网(动态映射)

步骤:

sysnameR1

interfaceSerial0/0/0

link-protocolfr

ipaddress10.1.1.1255.255.255.0

frinterface-typedte

frinarp

sysnameR2

interfaceSerial0/0/0

link-protocolfr

ipaddress10.1.1.2255.255.255.0

frinterface-typedte

frinarp

sysnameR3

interfaceSerial0/0/0

link-protocolfr

ipaddress10.1.1.3255.255.255.0

frinterface-typedte

frinarp

discu

disfrmap-info

disfrpvc-info

运行结果:

12.帧中继组网(静态映射)

步骤:

sysnameR1

interfaceSerial0/0/0

link-protocolfr

undofrinarp

frmapip10.1.1.2102

frmapip10.1.1.3103

ipaddress10.1.1.1255.255.255.0

sysnameR2

interfaceSerial0/0/0

link-protocolfr配置接口协议为帧中继

frinterface-typedte配置帧中继接口协议型

undofrinarp取消帧中继的映射表(对端IP+本端DLCI)

frmapip10.1.1.1201

frmapip10.1.1.3203

ipaddress10.1.1.2255.255.255.0

sysnameR3

interfaceSerial0/0/0

link-protocolfr

undofrinarp

frmapip10.1.1.1301

frmapip10.1.1.2302

ipaddress10.1.1.3255.255.255.0

13.项目二:

步骤:

sysnamelsw1

vlanbatch1020

ippool1

gateway-list192.168.20.254

network192.168.20.0mask255.255.255.0

excluded-ip-address192.168.20.100192.168.20.253

leaseday0hour3minute0

dns-list8.8.8.8222.222.222.222

interfaceVlanif10

ipaddress192.168.10.254255.255.255.0

dhcpselectinterface

dhcpserverexcluded-ip-address192.168.10.200192.168.10.253

dhcpserverleaseday0hour2minute30

dhcpserverdns-list8.8.8.8114.114.114.114

interfaceVlanif20

ipaddress192.168.20.254255.255.255.0

dhcpselectglobal

interfaceGigabitEthernet0/0/1

portlink-typetrunk

porttrunkallow-passvlan2to4094

sysnamelsw2

vlanbatch1020

interfaceEth-Trunk0

portlink-typetrunk

porttrunkallow-passvlan1020

interfaceEthernet0/0/2

eth-trunk0

interfaceEthernet0/0/3

eth-trunk0

interfaceEthernet0/0/4

portlink-typeaccess

portdefaultvlan10

interfaceEthernet0/0/5

portlink-typeaccess

portdefaultvlan20

sysnamelsw3

vlanbatch1020

interfaceEth-Trunk0

portlink-typetrunk

porttrunkallow-passvlan1020

interfaceEthernet0/0/2

eth-trunk0

interfaceEthernet0/0/3

eth-trunk0

interfaceEthernet0/0/4

portlink-typeaccess

portdefaultvlan10

interfaceEthernet0/0/5

portlink-typeaccess

portdefaultvlan20

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

当前位置:首页 > 解决方案 > 学习计划

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

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