网络组建实训指导书 (华为 交换机 路由器 配置).doc
文本预览下载声明
《网络维护实训》指导书实验一 计算机和交换机基本设置
项目图示:
添加一个交换机,一个计算机,双击交换机,进入终端配置:
Quidwaysystem
password: 系统进入口令(默认值:为空 直接回车)
[Quidway]sysname S3026 ;交换机命名
[S3026]super password 111 ;设置特权密码 111
[S3026]user-interface vty 0 4 ;进入vty用户视图
[S3026-ui-vty0-4]authentication-mode password 远程登录口令
[S3026-ui-vty0-4]set authentication-mode password simple 222 设置远程登录口令 222
[S3026-ui-vty0-4]user privilege level 3
[S3026-ui-vty0-4]quit
[S3026]quit
S3026sys ;进入系统视图
password:111;输入登录密码 111
[S3026]display currect-config
[S3026]dis curr
[S3026]vlan 2
[S3026-vlan2]port ethernet0/2
[S3026-vlan2]port e0/4 to et0/6
[S3026-vlan2]quit
[S3026]dis vlan
[S3026]int e0/3
[S3026-Ethernet1]port access vlan 2
[S3026-Ethernet1]quit
[S3026]dis vlan
[S3026]dis curr
[S3026]interface vlan 1
[S3026-Vlan-interface1]ip address ;设交换机的管理IP地址、子网掩码
[S3026-Vlan-interface1]quit
[S3026]ip route-static
[S3026]ip default-gateway
[S3026]dis curr
[S3026]save
双击小电脑:
login:root
password:linux
[root@PCA root]#ifconfig eth0 netmask
[root@PCA root]#ifconfig
[root@PCA root]#route add default gw
[root@PCA root]#route
[root@PCA root]#ping (不通)
[root@PCA root]#telnet (无法登录)
#######################################
改进:
将计算机PCA,连接到Switch A的VLAN 1的任意端口(port 1、 port 7、 port 8)。
2、再运行下列命令:
[root@PCA root]#ping (通)
[root@PCA root]#telnet (可以登录)
注释:PCA(配置用户端)的连接端口要属于交换机Switch A的VLAN 1(管理IP地址) 。
#######################################
实验二 配置端口聚合
项目图示:
要求聚合的端口工作在全双工,速度一致,在同一槽口且连续。
参数:ingress:源MAC, both:源和目的MAC
SwitchA:设置
[SwitchA]interface ethernet0/1 ;进入端口模式[SwitchA-Ethernet0/1]duplex full ;配置端口工作状态[SwitchA-Ethernet0/1]speed 100 ;配置端口工作速率[SwitchA-Ethernet0/1]int e0/2
[SwitchA-Ethernet0/2]duplex full
[SwitchA-Ethernet0/2]speed 100
SwitchB:设置
[SwitchB]interface ethernet0/1
[SwitchB-Ethernet0/1]duplex full
[SwitchB-Ethernet0/1]speed 100
[SwitchB-Ethernet0/1]int e0/2
[SwitchB-Ethernet0/2]duplex full
[SwitchB-Ethernet0/2]speed 100
聚合操作:
[SwitchA]interface ethernet0/1
[SwitchA-Ethernet0/1]link-aggregation ethernet0/1 to
显示全部