cisco交换机命令全集(1)
交换机命令全集
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]
cisco交换机命令全集(2)
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参数.
分享到:
相关推荐
主要是cisco交换机的命令!一般要用的基本都有,有中文介绍的!
三层交换机配置命令 4000>(enable) set spantree backbonefast enable|disable 启用/禁用BackboneFast 4000>(enable) show spantree backbonefast 验证BackboneFast配置
思科3560交换机中文配置手册.doc第1章 概述 1-1 1.1 概述 1-1 1.2 初次访问设备 1-2 1.2.1 通过Console口访问设备 1-2 第2章 命令行方式访问设备 2-1 2.1.1 命令行模式 2-1 2.1.2 基本设置命令 2-1 2.2 通过Console...
这是“Cisco现场手册”系列图书的第二部,它着眼于介绍Cisco Catalyst系列的交换机产品。...这也是您可以找到的唯一一本讲述用Catalyst操作系统命令所有不同的变化形式(COS和IOS)配置交换机功能的书。
本文档为Cisco-3560交换机最详细的配置手册,从最简单的登录打开方式到各种命令的详细讲解和演示。
思科N9K配置文档,厂方给的文档,自己在网上找了很久都没找到全的。这个是最全。从设备的说明到设备的各种类型,用途下的配置。 只是英文。这个东西没有中文文档,英语太差的人略过。
思科3560交换机中文配置手册,介绍3560基本配置命令,便于工程项目实施
命令很全,对常接触cisco设备的初级工程师有帮助,有中文解释
文章详细技术了一个云计算项目中涉及到思科N9K设备的配置内容,N9K和普通的2系3系还是有比较大的不同,如果有同样喜欢研究路由协议的同学,可以留言相互交流。
CISCO配置手册,带领我们配置CISCO各类路由器和交换机!
CISCO基础中文命令集,内含常用各种思科路由器、交换机配置命令,适合初学者。
主要介绍 S3600 系列以太网交换机命令的分级、命令视图、命令 行特性。 登录交换机。主要介绍登录 S3600 系列以太网交换机可以采用的几种方法。 配置文件管理。主要介绍配置文件的管理。 VLAN。主要介绍 VLAN 的原理...
2960交换机简要配置手册(中文)针对思科基础二层设备进行配置讲解
cisco交换机和路由器命令 带中文注释
实训要求及操作规程 正确使用交换机VLAN的设置命令 所用仪器设备/软件 运行windows xp的PC一台 思科路由器配置模拟软件 实训步骤 1.规划ip地址 2.设置VLAN 3测试可通性 4. 设置干线trunk 5. 三个交换机的情况 实...
最新版本的CISCO IOS配置手册,从思科官网搬运下来的,总共16分册,适合思科所有网络设备,大家知道,思科的教材更新很慢的,其中命令可能有改动,唯一紧跟最新命令的手册只能在思科网站上下载,有了这个15.0手册,...
SW1 和 SW2 是将要安装到图中所示拓扑中的新交换机。交换机 SW1 的 Fa0/1 接口已将中继模式配置为“打开”。下列关于交换机 SW1 和 SW2 之间形成中继链路的说法中哪项正确? 交换机 SW2 的 Fa0/2 接口如果支持 DTP...
思科3560交换机打命令配置 第1章概述 1-1 1.1 概述 1-1 1.2 初次访问设备 1-2 1.2.1 通过Console口访问设备 1-2 第2章命令行方式访问设备 2-1 2.1.1 命令行模式 2-1 2.1.2 基本设置命令 2-1 2.2 通过Console口进入...
cisco Nexus 5000和2000系列交换机命令、配置文档
1.7 认证目标1.07:配置Cisco交换机 和集线器 20 1.8 认证总结 20 1.9 2分钟练习 22 1.10 自我测试 23 第2章 从Cisco IOS软件开始 31 2.1 认证目标 2.01:用户界面 31 2.1.1 用户模式和特权模式 31 2.1.2 ...