


全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
十条华为交换机命令最基本的用法十条华为交换机命令最基本的用法,下面例举了十条最基本的命令,比如:华为交换机命令在基于IOS的交换机上设置登录口令,华为交换机命令在基于IOS的交换机上设置主机名/系统名等。华为交换机命令在基于IOS的交换机上设置主机名/系统名:switch(config)# hostname hostname在基于CLI的交换机上设置主机名/系统名:switch(enable) set system name name-string华为交换机命令在基于IOS的交换机上设置登录口令:switch(config)# enable password level 1 password在基于CLI的交换机上设置登录口令:switch(enable) set passwordswitch(enable) set enalbepass华为交换机命令在基于IOS的交换机上设置远程访问:switch(config)# interface vlan 1switch(config-if)# ip address ip-address netmaskswitch(config-if)# ip default-gateway ip-address在基于CLI的交换机上设置远程访问:switch(enable) set interface sc0 ip-address netmask broadcast-addressswitch(enable) set interface sc0 vlanswitch(enable) set ip route default gateway华为交换机命令在基于IOS的交换机上启用和浏览CDP信息:switch(config-if)# cdp enableswitch(config-if)# no cdp enable为了查看Cisco邻接设备的CDP通告信息:switch# show cdp interface type modle/portswitch# show cdp neighbors type module/port detail在基于CLI的交换机上启用和浏览CDP信息:switch(enable) set cdp enable|disable module/port为了查看Cisco邻接设备的CDP通告信息:switch(enable) show cdp neighborsmodule/port vlan|duplex|capabilities|detail华为交换机命令基于IOS的交换机的端口描述:switch(config-if)# description description-string基于CLI的交换机的端口描述:switch(enable)set port name module/number description-string在基于IOS的交换机上设置端口速度:switch(config-if)# speed10|100|auto在基于CLI的交换机上设置端口速度:switch(enable) set port speed moudle/number 10|100|autoswitch(enable) set port speed moudle/number 4|16|auto在基于IOS的交换机上设置以太网的链路模式:switch(config-if)# duplex auto|full|half在基于CLI的交换机上设置以太网的链路模式:switch(enable) set port duplex module/number full|half华为交换机命令在基于IOS的交换机上配置静态VLAN:switch# vlan databaseswitch(vlan)# vlan vlan-num name vlaswitch(vlan)# exitswitch# configure teriminalswitch(config)# interface interface module/numberswitch(config-if)# switchport mode accessswitch(config-if)# switchport access vlan vlan-numswitch(config-if)# end在基于CLI的交换机上配置静态VLAN:switch(enable) set vlan vlan-num name nameswitch(enable) set vlan vlan-num mod-num/port-list在基于IOS的交换机上配置VLAN中继线:switch(config)# interface interface mod/portswitch(config-if)# switchport mode trunkswitch(config-if)# switchport trunk encapsulation isl|dotlqswitch(config-if)# switchport trunk allowed vlan remove vlan-listswitch(config-if)# switchport trunk allowed vlan add vlan-list在基于CLI的交换机上配置VLAN中继线:switch(enable) set trunk module/port on|off|desirable|auto|nonegotiateVlan-range isl|dotlq|dotl0|lane|negotiate华为交换机命令在基于IOS的交换机上配置
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年人力资源专员招聘笔试备考要点与试题集
- 2025年站台安全门系统项目建议书
- 2025年金属波纹管膨胀节(钢)项目发展计划
- 2025年经济与商务咨询服务项目合作计划书
- 2025年年化妆品原料合作协议书
- 2025年抗滴虫病药项目建议书
- 2025年虚拟轴坐标测量机合作协议书
- 2025年行李自动分检系统项目发展计划
- 2025年手工制纸及纸板项目发展计划
- 2025年植物施药保护机械项目发展计划
- 主题思政课铸牢中华民族共同体意识
- 邮政行业痛点与解决措施
- 二年级《劳动最光荣》课件
- 帕夫雷什中学
- 2023年人教版美术六年级上册全册教案
- 道路交通安全法知识试题库完整
- 《铁路交通事故调查处理规则》解读
- 研究生学术行为规范讲座
- 水资源论证水土保持防洪评价收费标准
- 年处理12万吨煤焦油加工工艺初步设计
- 烟化炉车间技术操作规程-附一:烟化炉开炉、停炉、故障处理及正常操作原则
评论
0/150
提交评论