返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
0 }6 W8 n+ v6 l4 \9 y•        ip default-gateway [address]: This is a global command and set default gateway.1 O0 `# z" x0 v% i6 o' l6 }2 e
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.7 T5 x& ]: k6 N& D$ S
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.( C# P; H( N% M$ h" w/ W! R: m
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.* W4 I- ^, D; r5 C2 Y4 f
•        duplex {auto/full/half}: This command sets duplex mode for the interface./ m6 D4 ]0 p: T' J
•        hostname [name]: This command assigns a host name to the switch.
& m% ~& h5 X) Q) ]7 B/ Y6 T•        line vty 0 15: This command enters vty (telnet) configuration mode.
7 ^$ h# I! z' {5 I•        line con 0: This command enters console configuration mode.' u& ?0 ~/ V- K$ y
•        login: This command tells the switch to ask for a password.
5 F; O* ^$ }' Z•        password [password]: This command sets the password.
2 Y+ k7 A  ~' y8 R4 _4 \1 t: ~•        enable password [password]: This command sets the password to enter privileged mode.
8 {; s9 r; ~2 s4 w•        enable secret [password]: This command sets encrypted password.4 r3 Y6 s: ~  m) L
•        configure terminal: This command enters configuration mode.' Q" F% [* w3 G- H' A
•        show interfaces fastethernet 0/x: This command displays interface status." G& [, I! Z7 E) t" U5 R/ g) Z
•        show interfaces: This command displays information of all interfaces.
- e8 y, O) G2 \. b+ \- y•        show interfaces vlan 1: This command displays the ip address configuration.( l& k  ]* r' A
•        show [running/startup]-config: This command displays RAM/NVRAM settings.$ i; a6 K7 \" }
•        show-mac-address-table: This command displays the MAC address table.
2 P; |- B7 L( g2 ~•        show version: This command displays the switch’s hardware and software status.
5 A! k% f/ o7 N# m& X0 \/ {•        show flash: This command displays the files and directories in the flash.
3 O0 r5 v+ ?, T& \# c. j8 E3 D•        show history: This command displays the last ten commands.
' {$ T, ?; l3 v3 d8 a8 q•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.+ b5 I) i: _" `
•        show log: This command displays logging messages of the switch.) ?- M# \6 {5 g5 S
•        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

返回列表