-
交换机命令
2020-12-15 13:30:51H3C dis link-aggregation verbose Bridge-Aggregation 21 # 查看聚合端口成员 dis arp | include 53.7.115.253 # 根据设备iP 查看端口 -
思科与华为交换机命令对比.txt
2020-06-10 15:30:21cisco交换机命令和华为交换机命令的对比,其实有很多共同之处,cisco交换机命令和华为交换机命令都很常用,华为交换机命令还可在H3C上使用 -
阿尔卡特程控交换机命令
2017-08-03 16:44:09阿尔卡特程控交换机命令 -
华三交换机命令
2014-05-18 19:44:17华三交换机命令,用于华三交换机配置 -
华为交换机主备命令_华为交换机命令汇总
2021-01-14 17:01:30华为交换机命令返回上一级命令:quit配置保存命令:save华为交换机命令<>sys进入配置模式[Quidway]discur;显示当前配置[Quidway]displaycurrent-configuration;显示当前配置[Quidway]displayinterfaces;...华为交换机命令
返回上一级命令:
quit
配置保存命令:
save
华为交换机命令
<>sys
进入配置模式
[Quidway]dis cur
;显示当前配置
[Quidway]display current-configuration
;显示当前配置
[Quidway]display interfaces
;显示接口信息
[Quidway]display vlan all
;显示路由信息
[Quidway]display version
;显示版本信息
[Quidway]super
password
;
修改特权用户密码
[Quidway]sysname
;交换机命名
[Quidway]interface ethernet 0/1
;进入接口视图
[Quidway]interface vlan x
;进入接口视图
[Quidway-Vlan-interfacex]ip address 10.65.1.1 255.255.0.0
;配置
VLAN
的
IP
地址
[Quidway]ip route-static 0.0.0.0 0.0.0.0 10.65.1.2
;静态路由=网关
[Quidway]rip
;三层交换支持
[Quidway]local-user ftp
[Quidway]user-interface vty 0 4
;进入虚拟终端
[S3026-ui-vty0-4]authentication-mode password
;设置口令模式
[S3026-ui-vty0-4]set authentication-mode password simple 222
;设置口令
[S3026-ui-vty0-4]user privilege level 3
;用户级别
[Quidway]interface ethernet 0/1
;进入端口模式
[Quidway]int e0/1
;进入端口模式
[Quidway-Ethernet0/1]duplex
{half|full|auto}
;
配置端口工作状态
[Quidway-Ethernet0/1]speed {10|100|auto}
;配置端口工作速率
[Quidway-Ethernet0/1]flow-control
;配置端口流控
[Quidway-Ethernet0/1]mdi
{across|auto|normal}
;
配置端口平接扭接
[Quidway-Ethernet0/1]port
link-type
{trunk|access|hybrid}
;设置端口工作模式
[Quidway-Ethernet0/1]port access vlan 3
;当前端口加入到
VLAN
[Quidway-Ethernet0/2]port trunk permit vlan {ID|All}
;设
trunk
允许的
VLAN
[Quidway-Ethernet0/3]port
trunk
pvid
vlan
3
;设置
trunk
端口的
PVID
-
avaya交换机命令
2013-07-23 10:49:10avaya交换机命令 很齐全的哦!大家下下看吧 -
华为9300交换机命令参考
2016-11-11 23:15:22华为9300交换机命令参考 -
交换机配置 交换机命令 交换机配置命令
2008-11-15 14:39:32交换机配置命令 类别 命令格式 命令含义 -
北电交换机命令表
2013-10-17 19:13:56北电交换机命令表:资源发送到交换机接口的命令, -
神州数码交换机命令-相对全面
2020-12-11 10:32:06个人笔记整理的神州数码交换机命令,内含:端口管理、安全管理、信息采集、性能优化及常用的三层交换机配置功能介绍 -
中兴交换机命令手册
2013-05-02 09:32:10中兴 交换机命令手册 比较全面请下载 -
Cisco交换机命令
2018-08-17 16:56:39本文档详细总结了Cisco交换机常用命令 命令丰富 内容详细 非常适合初学交换机配置的朋友 -
交换机命令一
2017-11-09 01:28:00交换机命令一 1.在基于IOS的交换机上设置主机名/系统名:switch(config)#hostnamehostname在基于CLI的交换机上设置主机名/系统名:switch(enable)setsystemnamename-string2.在基于IOS的交换机上设置登录口令:switch...交换机命令一
1.在基于IOS的交换机上设置主机名/系统名:
switch(config)# hostname hostname
在基于CLI的交换机上设置主机名/系统名:
switch(enable) set system name name-string
2.在基于IOS的交换机上设置登录口令:
switch(config)# enable password level 1 password
在基于CLI的交换机上设置登录口令:
switch(enable) set password
switch(enable) set enalbepass
3.在基于IOS的交换机上设置远程访问:
switch(config)# interface vlan 1
switch(config-if)# ip address ip-address netmask
switch(config-if)# ip default-gateway ip-address
在基于CLI的交换机上设置远程访问:
switch(enable) set interface sc0 ip-address netmask broadcast-address
switch(enable) set interface sc0 vlan
switch(enable) set ip route default gateway
4.在基于IOS的交换机上启用和浏览CDP信息:
switch(config-if)# cdp enable
switch(config-if)# no cdp enable
为了查看Cisco邻接设备的CDP通告信息:
switch# show cdp interface [type modle/port]
switch# show cdp neighbors [type module/port] [detail]
在基于CLI的交换机上启用和浏览CDP信息:
switch(enable) set cdp {enable|disable} module/port
为了查看Cisco邻接设备的CDP通告信息:
switch(enable) show cdp neighbors[module/port] [vlan|duplex|capabilities|detail]
5.基于IOS的交换机的端口描述:
switch(config-if)# description description-string
基于CLI的交换机的端口描述:
switch(enable)set port name module/number description-string
6.在基于IOS的交换机上设置端口速度:
switch(config-if)# speed{10|100|auto}
在基于CLI的交换机上设置端口速度:
switch(enable) set port speed moudle/number {10|100|auto}
switch(enable) set port speed moudle/number {4|16|auto}
7.在基于IOS的交换机上设置以太网的链路模式:
switch(config-if)# duplex {auto|full|half}
在基于CLI的交换机上设置以太网的链路模式:
switch(enable) set port duplex module/number {full|half}
8.在基于IOS的交换机上配置静态VLAN:
switch# vlan database
switch(vlan)# vlan vlan-num name vla
switch(vlan)# exit
switch# configure teriminal
switch(config)# interface interface module/number
switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan vlan-num
switch(config-if)# end
在基于CLI的交换机上配置静态VLAN:
switch(enable) set vlan vlan-num [name name]
switch(enable) set vlan vlan-num mod-num/port-list
9. 在基于IOS的交换机上配置VLAN中继线:
switch(config)# interface interface mod/port
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk encapsulation {isl|dotlq}
switch(config-if)# switchport trunk allowed vlan remove vlan-list
switch(config-if)# switchport trunk allowed vlan add vlan-list
在基于CLI的交换机上配置VLAN中继线:
switch(enable) set trunk module/port [on|off|desirable|auto|nonegotiate]
Vlan-range [isl|dotlq|dotl0|lane|negotiate]
10.在基于IOS的交换机上配置VTP管理域:
switch# vlan database
switch(vlan)# vtp domain domain-name
在基于CLI的交换机上配置VTP管理域:
switch(enable) set vtp [domain domain-name]
11.在基于IOS的交换机上配置VTP 模式:
switch# vlan database
switch(vlan)# vtp domain domain-name
switch(vlan)# vtp {sever|cilent|transparent}
switch(vlan)# vtp password password
在基于CLI的交换机上配置VTP 模式:
switch(enable) set vtp [domain domain-name] [mode{ sever|cilent|transparent }][password password]
12. 在基于IOS的交换机上配置VTP版本:
switch# vlan database
switch(vlan)# vtp v2-mode
在基于CLI的交换机上配置VTP版本:
switch(enable) set vtp v2 enable
13. 在基于IOS的交换机上启动VTP剪裁:
switch# vlan database
switch(vlan)# vtp pruning
在基于CL I 的交换机上启动VTP剪裁:
switch(enable) set vtp pruning enable
14.在基于IOS的交换机上配置以太信道:
switch(config-if)# port group group-number [distribution {source|destination}]
在基于CLI的交换机上配置以太信道:
switch(enable) set port channel moudle/port-range mode{on|off|desirable|auto}
15.在基于IOS的交换机上调整根路径成本:
switch(config-if)# spanning-tree [vlan vlan-list] cost cost
在基于CLI的交换机上调整根路径成本:
switch(enable) set spantree portcost moudle/port cost
switch(enable) set spantree portvlancost moudle/port [cost cost][vlan-list]16.在基于IOS的交换机上调整端口ID:
switch(config-if)# spanning-tree[vlan vlan-list]port-priority port-priority
在基于CLI的交换机上调整端口ID:
switch(enable) set spantree portpri {mldule/port}priority
switch(enable) set spantree portvlanpri {module/port}priority [vlans]
17. 在基于IOS的交换机上修改STP时钟:
switch(config)# spanning-tree [vlan vlan-list] hello-time seconds
switch(config)# spanning-tree [vlan vlan-list] forward-time seconds
` switch(config)# spanning-tree [vlan vlan-list] max-age seconds
在基于CLI的交换机上修改STP时钟:
switch(enable) set spantree hello interval[vlan]
switch(enable) set spantree fwddelay delay [vlan]
switch(enable) set spantree maxage agingtiame[vlan]
18. 在基于IOS的交换机端口上启用或禁用Port Fast 特征:
switch(config-if)#spanning-tree portfast
在基于CLI的交换机端口上启用或禁用Port Fast 特征:
switch(enable) set spantree portfast {module/port}{enable|disable}
19. 在基于IOS的交换机端口上启用或禁用UplinkFast 特征:
switch(config)# spanning-tree uplinkfast [max-update-rate pkts-per-second]
在基于CLI的交换机端口上启用或禁用UplinkFast 特征:
switch(enable) set spantree uplinkfast {enable|disable}[rate update-rate] [all-protocols off|on]
20. 为了将交换机配置成一个集群的命令交换机,首先要给管理接口分配一个IP地址,然后使用下列命令: switch(config)# cluster enable cluster-name
21. 为了从一条中继链路上删除VLAN,可使用下列命令:
switch(enable) clear trunk module/port vlan-range
22. 用show vtp domain 显示管理域的VTP参数.
23. 用show vtp statistics显示管理域的VTP参数.
24. 在Catalyst交换机上定义TrBRF的命令如下:
switch(enable) set vlan vlan-name [name name] type trbrf bridge bridge-num[stp {ieee|ibm}]
25. 在Catalyst交换机上定义TrCRF的命令如下:
switch (enable) set vlan vlan-num [name name] type trcrf
{ring hex-ring-num|decring decimal-ring-num} parent vlan-num
26. 在创建好TrBRF VLAN之后,就可以给它分配交换机端口.对于以太网交换,可以采用如下命令给VLAN分配端口:
switch(enable) set vlan vlan-num mod-num/port-num
27. 命令show spantree显示一个交换机端口的STP状态.
28. 配置一个ELAN的LES和BUS,可以使用下列命令:
ATM (config)# interface atm number.subint multioint
ATM(config-subif)# lane serber-bus ethernet elan-name
29. 配置LECS:
ATM(config)# lane database database-name
ATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-address
ATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-address
ATM(lane-config-databade)# name …
30. 创建完数据库后,必须在主接口上启动LECS.命令如下:
ATM(config)# interface atm number
ATM(config-if)# lane config database database-name
ATM(config-if)# lane config auto-config-atm-address31. 将每个LEC配置到一个不同的ATM子接口上.命令如下:
ATM(config)# interface atm number.subint multipoint
ATM(config)# lane client ethernet vlan-num elan-num
32. 用show lane server 显示LES的状态.
33. 用show lane bus显示bus的状态.
34. 用show lane database显示LECS数据库可内容.
35. 用show lane client显示LEC的状态.
36. 用show module显示已安装的模块列表.
37. 用物理接口建立与VLAN的连接:
router# configure terminal
router(config)# interface media module/port
router(config-if)# description description-string
router(config-if)# ip address ip-addr subnet-mask
router(config-if)# no shutdown
38. 用中继链路来建立与VLAN的连接:
router(config)# interface module/port.subinterface
router(config-ig)# encapsulation[isl|dotlq] vlan-number
router(config-if)# ip address ip-address subnet-mask
39. 用LANE 来建立与VLAN的连接:
router(config)# interface atm module/port
router(config-if)# no ip address
router(config-if)# atm pvc 1 0 5 qsaal
router(config-if)# atm pvc 2 0 16 ilni
router(config-if)# interface atm module/port.subinterface multipoint本文转自 wqmsl 51CTO博客,原文链接:http://blog.51cto.com/wqmsl/309275,如需转载请自行联系原作者
-
中兴ZXR 10 9916 数据中心交换机命令参考。
2018-05-15 14:59:05中兴ZXR 10 9916 数据中心交换机命令参考 中兴ZXR 10 9916 数据中心交换机命令参考 -
华为交换机命令
2018-04-23 22:18:50华为交换机命令一、交换机视图切换<Huawei> 用户视图 system - view[Huawei]系统视图 interface + 接口类型 + 接口号(如interface Ethernet 0/0/1)[Huawei-Ethernet 0/0/1]接口视图[Huawei]ospf ----- ...华为交换机命令
一、交换机视图切换
<Huawei> 用户视图 system - view
[Huawei]系统视图 interface + 接口类型 + 接口号(如interface Ethernet 0/0/1)
[Huawei-Ethernet 0/0/1]接口视图
[Huawei]ospf ----- [Huwei-ospf-1]协议视图
接口类型通常有
Ethernet 以太网接口,通常是10M
fastEthernet 快速以太网,通常是百兆接口
GigabitEthernet
Quit 命令 <----------- 返回到上一级
Return 命令 <----------- 返回到用户视图(快捷键ctrl + z)
二、交换机基本配置
1、 配置主机名
<Huawei> system - view 进入系统视图
[Huawei] sysname + 主机名字(主机名字任意),如Tedu-sw1
[Tedu-sw1]
2、显示VRP版本 VRP - Versatile Routing Platform 华为通用路由平台
<Huawei>display version
3、查看交换机当前配置
<Huawei>display current-configuration
如查看当前端口的配置则在该端口下敲击display this命令
4、使用密码登录终端
交换机配置密码认证:
<Huawei> system - view 进入系统视图
[Huawei]user-interface console 0 进入console0(进入用户接口视图)
[Huawei-ui-console0]authentication-mode password 设置认证模式为密码认证
认证方式默认是none 没有密码
[Huawei-ui-console0]set authentication password + 密码形式 + 密码 设置密码
该密码有两种形式一种是simple 明文的,另一种是cipher密文的
路由器配置密码认证:
<Huawei> system - view 进入系统视图
[Huawei]user-interface console 0 进入console0(进入用户接口视图)
[Huawei-ui-console0]authentication-mode password 回车 输入密码
5、使用账户和密码登录终端
<Huawei> system - view 进入系统视图
[Huawei]aaa 进入AAA认证模式,创建账户的方式
[Huawei-aaa]local-user + 本地用户的名字 + password + cipher + 密码
[Huawei-aaa]local-user + 本地用户的名字 + service-type terminal
使用类型 在终端
如果之前用的是密码登录,现在想用登录名和密码登录的话,首先进入console0接口
[Huawei]user-interface console 0 进入console0(进入用户接口视图)
[Huawei-ui-console0]authentication-mode aaa 将认证模式改为AAA认证
6、保存交换机设置
用户视图下敲击save命令
<Huawei>Save 回车
Yes覆盖原始的配置 NO不覆盖之前的配置
7、恢复设备出厂默认值
用户视图下敲击reset saved-configuration和Reboot两条命令
<Huawei>reset saved-configuration 回车
No 不保存 yes 确认恢复出厂设置
8、重新启动设备
<Huawei>Reboot 回车
三、一些使用技巧
1、避免自动退出配置界面
<Huawei> system - view 进入系统视图
[Huawei]user-interface console 0 进入console0(进入用户接口视图)
[Huawei-ui-console0]idle timeout + 分钟 + 秒 设置自动退出时间
2、解决信息显示行数过少
<Huawei> system - view 进入系统视图
[Huawei]user-interface console 0 进入console0(进入用户接口视图)
[Huawei-ui-console0]screen-length + 显示的行数 设置显示行数转载于:https://blog.51cto.com/13616527/2107002
-
ZXR10 5900E系列交换机 命令参考.rar
2019-07-08 16:06:07ZXR10 5900E系列(V3.00.11)易维MPLS路由交换机 命令参考 -
Cisco 交换机命令全集
2011-12-20 14:31:02Cisco 交换机命令全集 .在基于IOS的交换机上设置主机名/系统名: switch(config)# hostname hostname 在基于CLI的交换机上设置主机名/系统名: switch(enable) set system name name-string 2.在基于IOS的交换机... -
EMC光纤交换机命令手册
2013-11-20 09:29:53EMC光纤交换机命令手册(英文) Brocade Fabric OS Command Reference Manual 6.3 A01 300-010-360 -
华为9306交换机命令手册
2010-04-22 11:06:24华为9306交换机命令手册,包括所有命令
-
视频转换器WonderFox便携注册版 UI界面好看.rar
-
Spark BulkLoad批量读写Hbase
-
第五章 C语言 PTA函数——作业-答案.html
-
各种显示器色域测试软件和计算显示器色域值软件和表格
-
FPGA进阶学习路线.pdf
-
DHCP 动态主机配置服务(在Linux环境下,配置单网段或跨网段提)
-
MHA 高可用 MySQL 架构与 Altas 读写分离
-
学习方法
-
Liunx 优化思路与实操步骤
-
C++代码规范和Doxygen根据注释自动生成手册
-
其他软件中快捷键ctrl+shift+f会打开印象笔记
-
360手机卫士模块结构图(wainshine制作)[1].jpeg
-
Docker从入门到精通
-
3.注解 反射
-
MySQL 高可用工具 DRBD 实战部署详解
-
零基础极简以太坊智能合约开发环境搭建并开发部署
-
MySQL 高可用(DRBD + heartbeat)
-
二维码实例.zip下载
-
社交运营数据挖掘.ppt
-
整合营销传播系统.pdf