zoukankan      html  css  js  c++  java
  • 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 }

  • 相关阅读:
    EMC、Pure和NetApp推新品,NAS闪存场景在哪里
    Tomcat 开启Gzip压缩
    win10+ubuntu双系统安装方案
    游戏中水的渲染技术系列一
    什么时候用到线程
    高并发和多线程
    angularJS双向绑定和依赖反转
    javascript ES6
    angularJS核心原理
    javascript限定输入textarea输入长度
  • 原文地址:https://www.cnblogs.com/-bobo/p/11587207.html
Copyright © 2011-2022 走看看