标签:privileged network existing 交换机 running
交换机的命令帮助
Switch>? Exec commands: connect Open a terminal connection disable Turn off privileged commands disconnect Disconnect an existing network connection enable Turn on privileged commands exit Exit from the EXEC logout Exit from the EXEC ping Send echo messages resume Resume an active network connection show Show running system information telnet Open a telnet connection terminal Set terminal line parameters traceroute Trace route to destination
命令后连接参数或配置内容
Switch>show ? arp Arp table cdp CDP information clock Display the system clock crypto Encryption module dtp DTP information etherchannel EtherChannel information flash: display information about flash: file system history Display the session command history interfaces Interface status and configuration ip IP information ipv6 IPv6 information mac MAC configuration mac-address-table MAC forwarding table mls Show MultiLayer Switching information privilege Show current privilege level sessions Information about Telnet connections ssh Status of SSH server connections tcp Status of TCP connections terminal Display terminal configuration parameters users Display information about terminal lines version System hardware and software status vlan VTP VLAN status --More--
忘记命令如何写时
Switch>e? enable exit
配置主机名
Switch(config)#hostname A A(config)#
显示系统IOS名称或版本信息
A#show version Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2005 by Cisco Systems, Inc. Compiled Wed 12-Oct-05 22:05 by pt_team ROM: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEASE SOFTWARE (fc4) System returned to ROM by power-on Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory. 24 FastEthernet/IEEE 802.3 interface(s) 2 Gigabit Ethernet/IEEE 802.3 interface(s) 63488K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address : 0001.42B6.7E4C Motherboard assembly number : 73-9832-06 Power supply part number : 341-0097-02 Motherboard serial number : FOC103248MJ Power supply serial number : DCA102133JA Model revision number : B0 Motherboard revision number : C0 Model number : WS-C2960-24TT System serial number : FOC1033Z1EY --More--
查看MAC地址表
Switch>enable Switch>enable Switch#show mac-address-table Mac Address Table ------------------------------------------- Vlan Mac Address Type Ports ---- ----------- -------- -----
配置接口的双工模式及速率
Switch(config-if)#duplex {full | half | auto}
full:将接口指定为全双工
half:将接口指定为半双工
auto:将接口指定为自动协商
指定接口的通信速率
Switch(config-if)#speed {10 | 100 | 1000 | auto}
本文出自 “arlies” 博客,请务必保留此出处http://arlies.blog.51cto.com/10292766/1659439
标签:privileged network existing 交换机 running
原文地址:http://arlies.blog.51cto.com/10292766/1659439