返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).* p4 G9 u, J; Q
•        ip default-gateway [address]: This is a global command and set default gateway.. x" z9 Q  S9 V6 O. j% m
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.$ o/ M+ A9 H3 M" j
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.* a: M( f5 d, \& l3 p# w
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.* _( ^$ |8 i' _- H, I1 ^% S
•        duplex {auto/full/half}: This command sets duplex mode for the interface.  h& H6 y- y- R
•        hostname [name]: This command assigns a host name to the switch.6 I$ m5 U' ]. a& Q. t# R8 `4 y
•        line vty 0 15: This command enters vty (telnet) configuration mode.# f8 Y; P# O" ]
•        line con 0: This command enters console configuration mode.3 w( S* i7 i' @
•        login: This command tells the switch to ask for a password.
+ G7 b+ N1 q! a4 T2 M•        password [password]: This command sets the password.
8 t. U, B2 ?: N: Q+ b9 Q8 \•        enable password [password]: This command sets the password to enter privileged mode.
. \6 H% [, j4 e3 q•        enable secret [password]: This command sets encrypted password.
! k5 v) m* p; A7 S•        configure terminal: This command enters configuration mode.# U& P$ v6 Q3 g( V9 b  S, {" o
•        show interfaces fastethernet 0/x: This command displays interface status.
* Q6 B( Q# v9 I( V% y/ Q•        show interfaces: This command displays information of all interfaces.
/ {/ V4 {4 n  J2 e•        show interfaces vlan 1: This command displays the ip address configuration.1 }" T1 O+ z. x7 O
•        show [running/startup]-config: This command displays RAM/NVRAM settings.! U2 |8 ^6 P9 s: ^' S0 H  ^3 Q
•        show-mac-address-table: This command displays the MAC address table.2 b* E- C) m7 _) D0 r2 T
•        show version: This command displays the switch’s hardware and software status.# |. t! B/ y4 k  }' F: a
•        show flash: This command displays the files and directories in the flash.
  K" m( t+ J8 k; j( ]•        show history: This command displays the last ten commands.* B; b: O% B& _6 ]2 x
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
6 T* z5 B2 T9 U. D  V; {+ z1 @•        show log: This command displays logging messages of the switch.: V" x) K1 E% v3 f3 B& ]& ]
•        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

返回列表