思科常用命令

lml2021-11-13运维分享80

划分vlan

cs-1-100#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

cs-1-100(config)#int

cs-1-100(config)#interface gi

cs-1-100(config)#interface gigabitEthernet 1/0/1

cs-1-100(config-if)#sw

cs-1-100(config-if)#switchport acc

cs-1-100(config-if)#switchport access vlan 103

cs-1-100(config-if)#ex

cs-1-100(config)#






show running-config  查看全部端口的配置信息



show running-config


1、查看所有端口的详细状态信息


show interfaces



show interfaces status            查看端口的基本状态信息


  show ip interfaces brief          查看包括IP信息在内的端口简要状态信息



1、简单地回顾一下上边几条命令


l  查看当前所有配置:


show running-config   


l  查看指定端口配置:


show running-config in3terfaces <int-type int-number>


l  查看所有端口详细信息:


show interfaces                                                    


l  查看指定端口详细信息:


show interfaces <interface-type interface-number>           


l  查看所有端口简要信息:


show interfaces status


l  查看3层端口简要信息:


show ip interfaces brief


l  查看指定端口简要信息


show interfaces <interface-type interface-number> status


l  查看聚合端口的状态信息


   查看每个聚合组内包含哪些端口


   show etherchannel summary        


   查看所有聚合组信息及其所含端口的简要状态信息


   show etherchannel detail      


   查看所有聚合组的简要信息及其包含哪些端口


   show etherchannel port-channel   


   查看指定聚合组的端口信息


   show interfaces port-channel <group-number>          


   查看光纤端口的状态信息


   查看所有光纤口的详细状态信息


   show interfaces transceiver detail                  


   查看指定光口的详细状态信息


   show interfaces <int-type int-number> transceiver detail 


   查看所有光纤口的简要状态信息


   show interfaces transceiver           


   查看指定光纤口的简要状态信息


   show interfaces <int-type int-number> transceiver 


本文链接:https://www.ywjdlhs.xyz/?id=8 欢迎转载 转载请注明出处。

分享到:

相关文章

简单云erp源码 ERP进销存仓库管理系统_多仓库版商品管理供应商管理

简单云erp源码 ERP进销存仓库管理系统_多仓库版商品管理供应商管理

2022v8更新 ERP进销存仓库管理系统_多仓库版商品管理供应商管理PHP源码+mysql数据库  可自用 学习 二开均可 不可商用安装说明 请按照以下方法安装程序1、首先把更目录的erpv8.sql导入到数据库2、打...

激活工具 几乎可激活所有版本windows和office

链接https://heshangdaoye.lanzoui.com/b015a2syb 密码:lldll...

阿里云盘映射为本地磁盘

吾爱论坛大佬制作 链接https://kudoushinichi.lanzoui.com/ipsGgutsixi...

打印某个报表提示打印过程被强制中断

大概率是选择打印机错误 选择错误的打印机打印任务无法进行就会强制中断   找打印设置调整为正确的打印机...

MySQL常用命令

创建与管理mysql数据库的常用命令:1,使用SHOW语句找出在服务器上当前存在什么数据库:mysql> SHOW DATABASES;2,创建一个数据库MYSQLDATAmysql> CREATE DATABASE MYSQL...

win11断网激活

1:在联网界面按 Shift + F10(笔记本可能需要加 Fn 键)。‌‌2输入命令‌:输入 OOBE\BYPASSNRO 并回车,系统自动重启。‌...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。