1.设置主机名/系统名 switch(config)# hostname “hostname” switch(enable) set system name name-string
2.设置登录口令 switch(config)# enable password level 1 password switch(enable) set password
switch(enable) set enalbepass
3.设置远程访问 switch(config)# inte***ce vlan 1
switch(config-if)# ip address ip-address netmask
switch(config-if)# ip default-gateway ip-address switch(enable) set inte***ce sc0 ip-address netmask broadcast-address
switch(enable) set inte***ce sc0 vlan
switch(enable) set ip route default gateway
4.启用和浏览CDP信息 switch(config-if)# cdp enable
switch(config-if)# no cdp enable switch(enable) set cdp {enable|disable} module/port
5.查看Cisco邻接设备的CDP通告 switch# show cdp inte***ce [type modle/port]
switch# show cdp neighbors [type module/port] [detail] switch(enable) show cdp neighbors[module/port] [vlan|duplex|capabilities|detail]
6.端口描述 switch(config-if)#description escription-string switch(enable)set port name module/number description-string
7.设置端口速度 switch(config-if)# speed{10|100|auto} switch(enable) set port speed moudle/number {10|100|auto}
switch(enable) set port speed moudle/number {4|16|auto}
8.设置以太网的链路模式 switch(config-if)# duplex {auto|full|half} switch(enable) set port duplex module/number {full|half
9.配置静态VLAN switch# vlan database
switch(vlan)# vlan vlan-num name vla
switch(vlan)# exit
switch# configure teriminal
switch(config)#inte***ce inte***ce module/number
switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan vlan-num
switch(config-if)# end switch(enable) set vlan vlan-num [name name]
switch(enable) set vlan vlan-num mod-num/port-list
10.配置VLAN中继线 switch(config)# inte***ce inte***ce 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 switch(enable)set trunk module/port [on|off|desirable|auto|nonegotiate]
Vlan-range [isl|dotlq|dotl0|lane|negotiate]

思科交换机命令大全 一相关推荐

  1. 【思科交换机命令大全,含巡检命令,网工建议收藏!】

    思科交换机基本配置命令 switch>enable 进入特权模式 switch#config terminal 进入全局模式 switch(config)#hostname+xxx 设置主机名 ...

  2. 思科交换机命令大全 二

    11.配置VTP管理域 switch# vlan database switch(vlan)# vtp domain domain-name switch(enable) set vtp [domai ...

  3. 思科交换机命令大全(二)

    11 :cdp相关命令 <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" / ...

  4. 全网最优质的思科设备命令大全

    前两天给大家分享了H3C和华为的命令大全,得到了大家的认可,昨天有粉丝在华为命令大全中提到锐捷相关的命令大全,我寻思了一下,其实思科和锐捷的命令是相近的,所以想着直接整理一下思科的就可以了,希望大家能 ...

  5. 这份思科设备命令大全火了~

    本文整理了以下思科设备命令: 模式转换命令 静态路由相关配置 RIP命令汇总 EIGRP相关配置命令 OSPF相关配置命令 IS-IS基本配置命令 BGP基本配置命令 二层链路封装 帧中继相关配置命令 ...

  6. vlan的基本指令_思科交换机命令(vlan相关)

    交换机命令 交换机基本状态: switch: : ROM 状态, 路由器是 rommon> hostname> :用户模式 hostname# :特权模式 hostname(config) ...

  7. cisco交换机命令大全(5)

    41. 配置默认路由: switch(enable) set ip route default gateway 42. 为一个路由处理器分配VLANID,可在接口模式下使用下列命令: router(c ...

  8. 链路聚合和端口镜像技术(交换机命令大全)

    链路聚合和端口镜像技术 链路聚合技术命令如下: Switch(Config)#link-aggregation group 100 interface e 1-4 //将端口1-4加入链路聚合组100 ...

  9. cisco交换机命令大全(10)

    91. 用命令access-list在扩展通信量过滤表中创建一条记录: Router(config)# access-list access-list-number {permit|deny{prot ...

  10. 华三交换机ping大包命令_H3C交换机命令大全

    用户视图 ************************************************************************************** ***** sy ...

最新文章

  1. 当YOLOv5遇见OpenVINO
  2. java调用权报表的代码_ireport5.6使用table组件,如何用table显示javaBean数据源
  3. Mysql —— C语言链接mysql数据库,实现可以增删改查的角色权限登录系统
  4. 实现软件自动启动代码
  5. Spring Boot 定时任务
  6. 4邻接、8邻接、m邻接
  7. canvas全局合成画月牙_GIF动态图,视频?都能用Python转换成字符画图像
  8. 百度SEO站群wordpress设置网站TDK源码插件
  9. 实战系列-分布式缓存
  10. 在web浏览器上显示室内温度(nodeJs+arduino+socket.io)
  11. 数据降维之多维缩放MDS(Multiple Dimensional Scaling)
  12. java需要了解的几个算法
  13. foobar 2000 介绍
  14. 分享积累5年的人工智能网站,很大帮助
  15. 小程序UI框架推荐:Vant让你优雅的飞
  16. 小米的服务器地址怎么修改,小米无线路由器IP地址怎么修改
  17. 5分钟latex 使用入门写llncs论文
  18. 阿里巴巴服务器泡进“水里”液冷服务器技术
  19. MYSQL 数据库详解
  20. 冒泡排序和插入排序傻傻分不清

热门文章

  1. Inno Setup打包基本笔记
  2. javaweb超市仓库管理系统
  3. SQL的笛卡尔积简记
  4. SpringBoot启动流程原理+自动装配原理
  5. 【IDM】IDM下载器安装
  6. xy转utm坐标(个人推算)
  7. 2020-03-13 MySQL 8 绿色安装
  8. 安卓智能手机完全装机手册,让安卓拥有无限可能!
  9. 2022年6月大学英语六级作文
  10. MPC控制笔记(一)