1 / 19
文档名称:

华为交换机与路由配置.doc

格式:doc   页数:19
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

华为交换机与路由配置.doc

上传人:cdsqbyl 2015/8/29 文件大小:0 KB

下载得到文件列表

华为交换机与路由配置.doc

文档介绍

文档介绍:目录
实验一计算机和交换机基本设置 - 1 -
实验二配置端口聚合 - 2 -
实验三基本VLAN设置 - 3 -
实验四配置primary VLAN和secondary VLAN - 3 -
实验五交换机的镜像与生成树 - 3 -
实验六路由器BootROM升级 - 3 -
实验七直联路由 - 3 -
实验八单臂路由 - 3 -
实验九静态路由实验 - 3 -
实验十动态路由实验 - 3 -
实验十一访问控制列表实验 - 3 -
实验十二地址转换配置 - 3 -
实验一计算机和交换机基本设置
添加一个交换机,一个计算机,双击交换机,进入终端配置:
<Quidway>system
password:
[Quidway]sysname S3026 ;交换机命名
[S3026]super password 111 ;设置特权密码
[S3026]user-interface vty 0 4
[S3026-ui-vty0-4]authentication-mode password
[S3026-ui-vty0-4]set authentication-mode password simple 222
[S3026-ui-vty0-4]user privilege level 3
[S3026-ui-vty0-4]quit
[S3026]quit
<S3026>sys
password:111
[S3026]display currect-config
[S3026]dis curr
[S3026]vlan 2
[S3026-vlan2]port 0/2
[S3026-vlan2]port e0/4 to et0/6
[S3026-vlan2]quit
[S3026]dis vlan
[S3026]int e0/3
[S3026-1]port access vlan 2
[S3026-1]quit
[S3026]dis vlan
[S3026]dis curr
[S3026]interface vlan 1
[S3026-Vlan-interface1]ip address
[S3026-Vlan-interface1]quit
[S3026]ip route-static
[S3026]ip default-gateway
[S3026]dis curr
[S3026]save
双击小电脑:
login:root
password:linux
[******@PCA root]#ifconfig eth0
[******@PCA root]#ifconfig
[******@PCA root]#route add default gw
[******@PCA root]#route
[******@PCA root]#ping
[******@PCA root]#
实验二配置端口聚合
要求聚合的端口工作在全双工,速度一致,在同一槽口且连续。
参数:ingress:源MAC, both:源和目的MAC
对于SwitchA:
[Quidway]sysname SwitchA
[SwitchA]interface 0/1
[SwitchA-0/1]duplex full
[SwitchA-0/1]speed 100
[SwitchA-0/1]port link-type trunk
[SwitchA-0/1]port trunk permit vlan all
[SwitchA-0/1]int e0/2
[SwitchA-0/2]duplex full
[SwitchA-0/2]speed 100
[SwitchA-0/2]port link-type trunk
[SwitchA-0/2]port trunk permit vlan all
对于SwitchB:
[Quidway]sysname SwitchB
[SwitchB]interface 0/1
[SwitchB-0/1]duplex full
[SwitchB-0/1]speed 100
[SwitchB-0/1]port link-type trunk
[SwitchB-0/1]port trunk permit vlan all
[SwitchB-0/1]int e0/2
[SwitchB-0/2]duplex fu