返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
* [$ `# p0 w. j4 m3 _•        ip default-gateway [address]: This is a global command and set default gateway.
, I0 z' i6 p+ O6 O+ g•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.  f9 N# R1 u7 m; u
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.1 K+ Q8 h# v; t, A7 X
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
! P) F7 r" s8 n: K•        duplex {auto/full/half}: This command sets duplex mode for the interface.
. ^! L$ d  b1 p2 P) V) _/ H4 }•        hostname [name]: This command assigns a host name to the switch.
' m2 w8 j& w+ b, k•        line vty 0 15: This command enters vty (telnet) configuration mode.
* u4 o8 s, b7 V+ ~7 Q8 S; F9 G5 b•        line con 0: This command enters console configuration mode.
" I6 {- U* T6 w4 D" t2 P* X" P, U' Y•        login: This command tells the switch to ask for a password.5 n. s- ?9 J- K
•        password [password]: This command sets the password.2 e$ O. Q4 E: D% A
•        enable password [password]: This command sets the password to enter privileged mode.
4 A$ p5 A( W: S0 U- w•        enable secret [password]: This command sets encrypted password.
5 |4 _0 T+ d2 X; n1 L  i: |•        configure terminal: This command enters configuration mode.2 i& l* Z8 D* B' I9 |
•        show interfaces fastethernet 0/x: This command displays interface status.  b* L; s& U; r
•        show interfaces: This command displays information of all interfaces.
* s$ A& e! E* z•        show interfaces vlan 1: This command displays the ip address configuration.
9 v% R- u+ @% p  P) n•        show [running/startup]-config: This command displays RAM/NVRAM settings./ O( ]1 Q* a, V  B1 Q
•        show-mac-address-table: This command displays the MAC address table.
5 y& T8 K5 r# i: R$ ?•        show version: This command displays the switch’s hardware and software status.
5 ]) ?% I7 i/ \. ?" u  l0 s•        show flash: This command displays the files and directories in the flash.$ j' w- w6 z+ A+ P( S" \+ X
•        show history: This command displays the last ten commands.
% @+ J2 j$ D& S! ~& t8 x# x•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.1 e# Q6 N: b! d+ e2 i% W
•        show log: This command displays logging messages of the switch.' I. `# C" L1 @# t  f' T
•        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

返回列表