本文共 4731 字,大约阅读时间需要 15 分钟。
Switch(config)#hostname jsh-sw1 jsh-sw1(config)#
Switch#show version Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2005 by Cisco Systems, Inc. Compiled Wed 12-Oct-05 22:05 by pt_team ROM: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEASE SOFTWARE (fc4) System returned to ROM by power-on Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.
24 FastEthernet/IEEE 802.3 interface(s) ——说明有24个百兆接口 2 Gigabit Ethernet/IEEE 802.3 interface(s) ——说明有 2个千兆接口 63488K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address : 0040.0BE5.7EEE (MAC地址) Motherboard assembly number : 73-9832-06 Power supply part number : 341-0097-02 Motherboard serial number : FOC103248MJ (主板S/N序列号,用于辨别交换机) Power supply serial number : DCA102133JA Model revision number : B0 Motherboard revision number : C0 Model number : WS-C2960-24TT System serial number : FOC1033Z1EY --More--
Switch3#show mac-address-table Mac Address Table ------------------------------------------- Vlan Mac Address Type Ports ---- ----------- -------- ----- 1 0000.0c0c.7a5a DYNAMIC Fa0/24 (其中0000.0c0c.7a5a是MAC地址;类型DYNAMIC表示是动态学习到的;Fa0/24表示该MAC地址对应交换机的端口号) 1 0001.9734.c756 DYNAMIC Fa0/24 1 0001.c981.6818 DYNAMIC Fa0/24 1 0004.9a65.ed19 DYNAMIC Fa0/1 1 00e0.f99e.4637 DYNAMIC Fa0/2
Switch(config-if)#speed ? 10 Force 10 Mbps operation 100 Force 100 Mbps operation auto Enable AUTO speed configuration Switch(config-if)#speed auto Switch(config-if)#
Switch#show interfaces fa 0/24FastEthernet 0/24 is up, line protocol is up (connected)Hardware is Lance, address is 0005.5eb1.7918 (bia 0005.5eb1.7918)BW 100000 Kbit, DLY 1000 usec, reliability 255/255, txload 1/255, rxload 1/255Encapsulation ARPA, loopback not setKeepalive set (10 sec) Full-duplex, 100Mb/s ——双工模式及速率
jingshihai-01>jingshihai-01>enjingshihai-01#config terjingshihai-01#config terminal Enter configuration commands, one per line. End with CNTL/Z.jingshihai-01(config)#line con 0jingshihai-01(config-line)#exec-tjingshihai-01(config-line)#exec-timeout 0 0jingshihai-01(config-line)#
jingshihai-01(config)#line con 0jingshihai-01(config-line)#logging synchronous
jingshihai-01#asdadffffffffffffffffffffTranslating "asdadffffffffffffffffffff"...domain server (255.255.255.255)
jingshihai-01#asdadffffffffffffffffffffTranslating "asdadffffffffffffffffffff"...domain server (255.255.255.255)% Unknown command or computer name, or unable to find computer address (等待很久才会显示该信息)jingshihai-01#config terminalEnter configuration commands, one per line. End with CNTL/Z.jingshihai-01(config)#no ip domain-lookupjingshihai-01(config)#asdadffffffffffffffffffff% Invalid input detected at '^' marker. (直接显示该信息)jingshihai-01(config)#
jingshihai-01#jingshihai-01#show running-config Building configuration...Current configuration : 1157 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname jingshihai-01 (历史输入的命令,可以用来检查输入的是否正确)!!!jingshihai-01#
jingshihai-01#config terminal Enter configuration commands, one per line. End with CNTL/Z.jingshihai-01(config)#enable password 123456jingshihai-01(config)#endjingshihai-01#jingshihai-01#show running-config Building configuration...Current configuration : 1157 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname jingshihai-01!enable password 123456!!jingshihai-01#exitjingshihai-01>enablePassword: jingshihai-01#
转载地址:http://zngia.baihongyu.com/