华为S5700交换机的基础配置命令

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

华为S5700交换机的基础配置命令#设置设备的名称为GSH-FZ-Frontsystem-view[Quidway]sysnameGSH-FZ-Front?#设置查看设备的时区,时间clocktimezoneBJadd8clockdatetime18:20:302011-06-08displayclock#telnet远程登录system-view[Quidway]aaa[Quidway-aaa]local-usertestadminpasswordcipherp@ssw0rdprivilegelevel15[Quidway-aaa]quit[Quidway]user-interfacevty04[Quidway-vty0-4]authentication-modeaaa#添加VLANsystem-view[Quidway]vlan128[Quidway-vlan128]quit#设定端口模式system-view[Quidway]intgigabitethernet0/0/1[Quidway-GigabitEthernet0/0/1]portlink-typeaccess#将端口加入Vlansystem-view[Quidway]vlan131[Quidway-vlan131]portgigabitethernet0/0/21to0/0/22[Quidway-Vlan131]quit#设置Trunksystem-view[Quidway]interfaceGigabitEthernet0/0/23[Quidway-GigabitEthernet0/0/23]portlink-typetrunk[Quidway-GigabitEthernet0/0/23]porttrunkallow-passvlan128131#设置VLANIP(管理IP)system-view[Quidway]interfacevlanif131[Quidway-Vlanif131]ipaddress192.168.0.253255.255.255.0[Quidway-Vlanif131]shutdown[Quidway-Vlanif131]undoshutdown#设置默认路由system-view[Quidway]iproute-static0.0.0.00.0.0.0192.168.0.254#设定NTPsystem-view[Quidway]ntp-serviceunicast-peer192.168.0.254#关闭WEBServer,dhcpsystem-view[Quidway]undohttpserverenable[Quidway]undodhcpenable#保存配置save#相关查看命令[Quidway]displayversion显示VRP版本号[Quidway]displaycurrent-configuration显示系统运行配置信息[Quidway]displaysaved-configuration显示保存的配置信息[Quidway]displayinterfacesbrief显示接口配置信息

1 / 3
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功