• Cisco交换机基本使用命令


    一、进入命令行

    switch>                                                                  用户模式

    switch> enable                                                       进入特权模式

    switch#                                                                  特权模式

    switch# config terminal                                 进入全局配置模式

    switch# conf t                                                         简写

    switch(config)#                                              全局配置模式

    switch(config)# interface fastethernet 0/1  进入接口模式

    switch(config)# int f0/1                          简写

    switch(config-if)#                                            接口模式

    switch(config-if)# exit                            回到上一层模式

    switch(config)# end                                        快速退到特权模式

    switch# disable                                        从特权模式回到用户模式

    switch>

    二、命令行基本配置

    switch(config)# hostname ws1                             更改主机名为“sw1”

    switch(config)# host ws1                               简写

    switch# show version                      显示系统“IOS”名称及版本信息

    switch# sh ver                                                                简写

    switch# show mac-address-table [dynamic]       查看MAC地址表

    三、配置交换机速率

    switch(config-if)# duplex { full | half | auto }                     指定接口的双工模式

    full:全双工

    half:半双工

    auto:自动协商

    指定接口的通信速率:

    switch(config-if)# speed { 10 | 100 | 1000 | auto }

  • 相关阅读:
    python基础学习(九)
    python基础学习(八)
    python基础学习(七)
    python基础学习(六)
    python基础学习(五)
    python基础学习(四)
    python基础学习(三)
    mysql-binlog server的实现
    percona-toolkit常用工具
    Linux下如何快速定位系统瓶颈在哪里
  • 原文地址:https://www.cnblogs.com/-bobo/p/11587207.html
Copyright © 2020-2023  润新知