返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).9 i& }: f2 ?: @. F/ z
•        ip default-gateway [address]: This is a global command and set default gateway.
6 ]+ J( `: [/ C•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
6 w  [; l- i+ Q; V8 v3 `•        interface fast Ethernet 0/x: This command puts users into user configuration mode.# {8 P6 v' {5 {1 P$ z
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.% I+ ?9 T/ u' ^# m6 y! |2 F
•        duplex {auto/full/half}: This command sets duplex mode for the interface.# v- ^: J. y: d6 j4 o; y2 ~
•        hostname [name]: This command assigns a host name to the switch.# M! J- L) c' \3 m) A
•        line vty 0 15: This command enters vty (telnet) configuration mode.( W7 X, A& S. B+ t7 v2 N
•        line con 0: This command enters console configuration mode.
3 E1 `  L5 L/ s; J8 P•        login: This command tells the switch to ask for a password.7 \, u* Q5 x% f( o) Y
•        password [password]: This command sets the password.6 G7 v$ T0 S" J7 o
•        enable password [password]: This command sets the password to enter privileged mode.
1 V7 p4 ]% t2 P' d, B+ n8 L3 g•        enable secret [password]: This command sets encrypted password.( v; l5 X+ g" c+ u8 H; t
•        configure terminal: This command enters configuration mode.; b1 w! r# B8 o" g. f/ }
•        show interfaces fastethernet 0/x: This command displays interface status.
, E* U" W6 M5 t. U# q•        show interfaces: This command displays information of all interfaces.
) U4 c) ^6 b7 a  S•        show interfaces vlan 1: This command displays the ip address configuration.
2 n6 W8 C' c$ s; V2 D# i& T2 }•        show [running/startup]-config: This command displays RAM/NVRAM settings.
, L9 s; t) ~9 x•        show-mac-address-table: This command displays the MAC address table.
1 O' L& H, q0 K5 H( ~8 O3 b/ f•        show version: This command displays the switch’s hardware and software status.
) ^! u( o) |/ C, J6 @4 m•        show flash: This command displays the files and directories in the flash.
9 `/ f7 S" v' a3 {•        show history: This command displays the last ten commands.
& j/ m  r; @* B9 ~, O7 `•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.( G$ R- x2 _( M* L$ t
•        show log: This command displays logging messages of the switch.' n$ |# L$ o* z3 v
•        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

返回列表