全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
十条华为交换机命令最基本的用法十条华为交换机命令最基本的用法,下面例举了十条最基本的命令,比如:华为交换机命令在基于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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 精.品解析:2024学年七年级下学期期末考试地理试题(解析版)
- 易居AI无佣模式-经纪人智能体与房地产流通“新模式”研究
- 第3章 积极领导力
- 第1章 心理健康概述
- 农村人居环境整治中农户付费意愿的心理机制研究意义
- 宝石优化处理与裂隙填充监理细则
- 【备课综合】2023年春北师大版生物八年级下册 23.2生态系统概述课件
- 2026年医院感染管理造口护理考核试卷及答案
- 产后大出血术后康复护理查房
- 消防工程工作指引
- 北京市西城区2026年中考二模英语试题(含答案)
- 2026年人教版初一政治(道德与法治)下学期期末考试试卷及答案(共四套)
- 2026眼镜镜片制造过程评估及镀膜工艺Plus偏光镜研发趋势说明
- (三模)济南市2026届高三5月针对性训练生物试卷(含答案)
- 2026宁夏电投永利能源有限公司招聘21人考试备考题库及答案解析
- 广东省湛江航运集团有限公司招聘笔试题库2026
- 金牛区驷马桥等街道2026年公开招聘社区专职工作人员(26人)笔试备考试题及答案详解
- 成都市青白江区区属国有企业2026年春季第一批次公开招聘工作人员(17人)考试参考题库及答案解析
- 2026中国报废汽车拆解行业盈利动态与需求趋势预测报告
- 一对一党员帮扶工作制度
- 山东博政投资发展(集团)有限公司招聘笔试题库2026
评论
0/150
提交评论