华为配置命令手册.docx





《华为配置命令手册.docx》由会员分享,可在线阅读,更多相关《华为配置命令手册.docx(4页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、华为配置命令手册 配置名称和密码system-view 进入系统视图配置quit或return 退出系统视图模式sysname 名称 设置主机名user-interface console 0 进入控制台authentication-mode passwordset authentication password cipher 密码 配置密文密码配置远程管理IP地址interface vlanif 1 进入VLANip add 192.168.1.254 24 配置IPundo shutdown 开启接口dns domain 域名 设置域名dns server 192.168.254.254
2、设置域名IPdis vlan 显示vlansave 保存配置dis curr 显示当前配置reboot 重启设备undo terminal monitor 取消提示信息配置端口速率、双工、ARP:int g0/0/1 进入接口description 内容 端口描述undo negotiation auto 取消协商duplex full 全双工auto duplex full 自动协商速率speed 10 速率10Mauto speed 100 自动协商速率arp static 192.168.1.8 5489-99cf-2603 绑定MAC地址dis arp 或 dis arp all 查看
3、ARP配置接口IP和静态路由int g0/0/1 进入接口ip add 192.168.1.6 24 配IP地址undo shutdown 开启dis cur 或 dis cur 查看ARPip route-static 192.168.20.0 2410.0.12.2 配置静态路由ip route-static 192.168.10.0 24serial 0/0/1端口ip route-static 0.0.0.0 0 192.168.1.5 默认路由8个0display ip routing-table 查看路由表配置VLANvlan 10 创建vlan 10description 内容
4、vlan描述vlan batch 30 40 创建多个vlan 2 to 20int g0/0/1 进入接口port link-type access 访问口port default vlan 10 加入vlanport link-type trunk 干道口port trunk allow pass vlan 10 20 允许通过potr turnk allow pass vlan all 所有通过int e0/0/2 进入接口port link-type hybrid 混合口模式undo port default vlan 删除默认vlanport hybrid untagged vlan
5、 20 去标签port hybrid pvid vlan 2 设置默认vlanport trunk allow-pass vlan 10 to 100 允许通过不连续用空格(前面加undo不允许)dis port vlan 查看vlandisplay vlan 查看vlan配置VLAN一致性GVRP 双向注册Normal模式(服务器模式)gvrp 开启gvrp也是默认模式 Fixed模式(客户机模式)gvrp registration fixed Fobbidden模式(透明模式)gvrp registration forbiddendis vlan summary 查看vlan汇总dis g
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 华为 配置 命令 手册

限制150内