Cisco交换机配置入门2--帮助与注意事项
Cisco交换机配置入门
机型:Cisco 3750
现在我们来继续讲解关于输入Cisco命令时注意的一些事项与帮助
1、关于帮助
直接使用“?”,可以获得相应模式下的所支持的命令列表,如果再问号前面加上一些命令的开头的字母,就可以获得一些以此字母开头的命令,如: AITG_FrontekCoreSW#s? *s=show send session set setup show systat 输入"S?",就可以获得以S开头的所有字母。 2、命令帮助 如果对某个命令的用法不熟悉时,也可以使用“?”来获取其详细的帮助,如想对show的命令作一个具体的了解,可以使用:“show ?” AITG_FrontekCoreSW#show ?
aaa Show AAA values access-lists List access lists accounting Accounting data for active sessions adjacency Adjacent nodes aliases Display alias commands archive Archive functions arp ARP table auto Show Automation Template auto Show Automation Template boot show boot attributes buffers Buffer pool statistics cable-diagnostics Show Cable Diagnostics Results cca CCA information cdp CDP information cef CEF address family independent status class-map Show QoS Class Map clock Display the system clock cluster Cluster information cns CNS agents configuration Configuration details controllers Interface controller status dampening Display dampening information debugging State of each debugging option derived-config Derived operating configuration dhcp Dynamic Host Configuration Protocol status diagnostic Show command for diagnostic dot1q-tunnel Display dot1q tunnel ports dot1x Dot1x information dtp DTP information eap Shows EAP registration/session information env Environmental facilities eou EAPoUDP errdisable Error disable etherchannel EtherChannel information exception exception informations file Show filesystem information flash1: display information about flash1: file system flash: display information about flash: file system flowcontrol show flow control information history Display the session command history hosts IP domain-name, lookup style, nameservers, and host table html HTML helper commands idb List of Hardware Interface Descriptor Blocks identity Identity profiles and policies idprom show IDPROMs for interfaces interfaces Interface status and configuration inventory Show the physical inventory ip IP information ipc Interprocess communications commands ipv6 IPv6 information key Key information kron Kron Subsystem l2protocol-tunnel Display L2PT status and configurations lacp Port channel information line TTY line information link Show Link location Display the system location logging Show the contents of logging buffers login Display Secure Login Configurations and State mac MAC configuration mac-address-table MAC forwarding table memory Memory statistics mls mls global commands monitor Monitoring different system events mvr Show mvr global parameters ntp Network time protocol pagp Port channel information parser Show parser commands platform platform specific show commands pm Show Port Manager commands policy-manager Policy Manager policy-map Show QoS Policy Map port-security Show secure port information post Show the results of the system POST power Switch Power privilege Show current privilege level processes Active process statistics protocols Active network routing protocols queue Show queue contents queueing Show queueing configuration radius Shows radius information region Region Manager Status registry Function registry information reload Scheduled reload information resource Resource group statistics rhosts Remote-host+user equivalences rmon rmon statistics route-map route-map information rtr Service Assurance Agent (SAA) running-config Current operating configuration scp SCP commands sdm Switch database management service-module Service Module commands sessions Information about Telnet connections setup Show express setup settings snmp snmp statistics spanning-tree Spanning tree topology stacks Process stack utilization standby Hot Standby Router Protocol (HSRP) information startup-config Contents of startup configuration storm-control Show storm control configuration subsys Show subsystem information switch show information about the stack ring system Show the system configuration table-map Show Table Map tacacs Shows tacacs+ server statistics tcp Status of TCP connections tech-support Show system information for Tech-Support template Template information terminal Display terminal configuration parameters time-range Time range track Tracking information udld UDLD information users Display information about terminal lines version System hardware and software status vlan VTP VLAN status vmps VMPS version information vtp VTP information xdr Show details about XDR 3、显示完整的命令 再一个部分命令的后面直接加上“?”就可以显示其输出结果,如例子: AITG_FrontekCoreSW#show interface ? Async Async interface BVI Bridge-Group Virtual Interface CTunnel CTunnel interface Dialer Dialer interface Filter Filter interface Filtergroup Filter Group interface GigabitEthernet GigabitEthernet IEEE 802.3z Loopback Loopback interface Null Null interface Port-channel Ethernet Channel of interfaces Portgroup Portgroup interface Pos-channel POS Channel of interfaces Tunnel Tunnel interface Vif PGM Multicast Host interface Virtual-Template Virtual Template interface Virtual-TokenRing Virtual TokenRing Vlan Catalyst Vlans accounting Show interface accounting capabilities Show interface capabilities information counters Show interface counters crb Show interface routing/bridging info dampening Show interface dampening info debounce Show interface debounce time info description Show interface description etherchannel Show interface etherchannel information fair-queue Show interface Weighted Fair Queueing (WFQ) info fcpa Fiber Channel flowcontrol Show interface flowcontrol information irb Show interface routing/bridging info mac-accounting Show interface MAC accounting info mpls-exp Show interface MPLS experimental accounting info mtu Show interface mtu precedence Show interface precedence accounting info private-vlan Show interface private vlan information pruning Show interface trunk VTP pruning information random-detect Show interface Weighted Random Early Detection (WRED) info rate-limit Show interface rate-limit info stats Show interface packets & octets, in & out, by switching path status Show interface line status summary Show interface summary switchport Show interface switchport information transceiver Show interface transceiver trunk Show interface trunk information vlan Show interface vlan information | Output modifiers <cr> 以上是帮助选项,我们再来看看其他的快捷方式: 1、使用TAB键 当输入命令的一部分字母时,按下TAB键,系统就可以自动输入此命令的剩余字母,如: AITG_FrontekCoreSW#sh ---TAB键 AITG_FrontekCoreSW#show AITG_FrontekCoreSW#show int ---TAB键
AITG_FrontekCoreSW#show interfaces 2、命令缩写 有些命令没有必要将所有的字母输入完全,输入一部分就可以了,如: AITG_FrontekCoreSW#sh int =show interface Vlan1 is up, line protocol is up Hardware is EtherSVI, address is 0019.aa89.dd40 (bia 0019.aa89.dd40) ......... 建议大家最好将命令记全。 |



xwg999
博客统计信息
热门文章
最新评论
友情链接
