返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).1 T' O  K4 {% `$ k0 i; I
•        ip default-gateway [address]: This is a global command and set default gateway.
4 u* f  p# Z# k% y- L•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.( M" \2 Q1 S" s$ L" R
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.2 I' k1 `3 P5 }) O$ T) n" J
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.$ p  d2 _) j3 [4 `
•        duplex {auto/full/half}: This command sets duplex mode for the interface.$ D9 f! x. j0 M! f  x
•        hostname [name]: This command assigns a host name to the switch.) z+ ]6 w* Q8 _7 ?- |
•        line vty 0 15: This command enters vty (telnet) configuration mode." a  K9 q; r) x' w+ a% ^% O
•        line con 0: This command enters console configuration mode.
2 s: L/ f' S/ n. z, A5 H•        login: This command tells the switch to ask for a password.
3 Y* d; r: r9 j; ^•        password [password]: This command sets the password.- \: {+ l; o" t$ S- n2 r
•        enable password [password]: This command sets the password to enter privileged mode.
2 \: g8 R' Y3 q9 t" X6 y. n# t•        enable secret [password]: This command sets encrypted password." F) s- U# V8 k
•        configure terminal: This command enters configuration mode.3 ?9 P' \2 R+ S7 M' [# X% ]
•        show interfaces fastethernet 0/x: This command displays interface status.
+ w* S: j; y: K, m•        show interfaces: This command displays information of all interfaces.' }1 q7 d$ ~, v5 x6 i8 H
•        show interfaces vlan 1: This command displays the ip address configuration.2 l4 }$ `1 Q* T* ?# h1 r9 u
•        show [running/startup]-config: This command displays RAM/NVRAM settings.. l3 d: e8 l# v- W& _2 Y# V5 r5 t1 m
•        show-mac-address-table: This command displays the MAC address table.0 q( a3 X% [4 l! _) D; u
•        show version: This command displays the switch’s hardware and software status.( j( t/ x) M) S' S. r
•        show flash: This command displays the files and directories in the flash.1 t: P% f  z* X' V9 `$ Z6 Z9 Y( f
•        show history: This command displays the last ten commands.2 S( j* H- ^, a; q% _
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.- N+ D( a: x& V4 w7 C1 V+ \
•        show log: This command displays logging messages of the switch.2 a6 H. y( l1 C8 I0 i/ H
•        copy run start / write mem: This command saves configurations from RAM to NVRAM.
Bill Tang     MSN:billtang@openplatform.com.hk
Openplatform Technology Co.,Ltd. 資訊坊科技有限公司  
無線工程施工、方案設計、無線產品、天饋材料、終端設備綜合供應商
Tel: 852-27491011  Fax: 852-81483532

现在我这边都是在用h3c的,命令差别多,思科的还就都没用了,不过现在还有这个型号设备在网。
来自生活现象

TOP

返回列表