文档详情

实训二十、华为交换机的配置.ppt

发布:2019-07-29约4.38千字共12页下载文档
文本预览下载声明
实训二十、华为交换机的配置 重点内容 华为交换机的基本配置命令; 掌握华为交换机的配置; * 实训一、华为交换机的基本配置 Console线 PCA 图20-1 登录华为交换机 一、配置PC机的IP地址 IP地址:172.16.1.5;子网掩码:255.255.0.0; 网关:172.16.1.1; 二、配置S3026交换机 Quidwaysystem 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 //设置口令为222 [S3026-ui-vty0-4]user privilege level 3 //设置用户级别为3 [S3026-ui-vty0-4]quit //退回上一级模式 [S3026]quit //从系统视图返回用户视图 S3026system-view Password: //输入“111”口令 [S3026]display currect-config //显示配置信息 [S3026]interface vlan 1 //配置交换机的管理IP地址 [S3026-Vlan-interface1]ip address 172.16.1.1 255.255.0.0 //为Vlan1配置IP地址 [S3026-Vlan-interface1]quit [S3026]ip route-static 0.0.0.0 0.0.0.0 172.16.1.2 //配置交换机的静态路由 [S3026]ip default-gateway 172.16.1.2 //设置交换机默认网关 [S3026]dis curr [S3026]save //保存配置信息 三、验证测试 PCA:ping 172.16.1.1 PCA:telnet 172.16.1.1 实训二、华为交换机端口聚合的配置 SwitchA SwitchB 图20-2 端口聚合配置 一、配置SwitchA交换机 [Quidway]sysname SwitchA //更改交换机名称为SwitchA [SwitchA]interface ethernet0/1 //进入交换机e0/1端口 [SwitchA-Ethernet0/1]duplex full //设置端口工作模式为全双工 [SwitchA-Ethernet0/1]speed 100 //设置端口速率为100Mbps [SwitchA-Ethernet0/1]port link-type trunk //设置该端口为trunk模式 [SwitchA-Ethernet0/1]port trunk permit vlan all //该trunk允许所有VLAN信息通过 [SwitchA-Ethernet0/1]int e0/2 [SwitchA-Ethernet0/2]duplex full [SwitchA-Ethernet0/2]speed 100 [SwitchA-Ethernet0/2]port link-type trunk [SwitchA-Ethernet0/
显示全部
相似文档