科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网网络频道配置Cisco交换机启动及基本设置(1)

配置Cisco交换机启动及基本设置(1)

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

本实验是对Cisco Catalyst 1900系列交换机的启动和基本设置的操作。在PC机启动正常,PC机与交换机使用Console电缆连接起来,并且已经进入超级终端程序的情况下。监测清单3.1记录了Catalyst 1912交换机启动的全过程。
  • 评论
  • 分享微博
  • 分享邮件

  本实验是对Cisco Catalyst 1900系列交换机的启动和基本设置的操作。

  1.实验目的

  通过本实验,读者可以掌握以下技能

  熟悉交换机的开机界面;

  对交换机进行基本的设置;

  理解交换机的端口及其编号。

  

  2.设备需求

  

  本实验需要以下设备:

  

  Cisco Catalyst 1900系列交换机1台,型号不限,企业版软件,本实验中使用了1912交换机;

  PC机1台,操作系统为Windows系列。装有超级终端程序;

  Console电缆1条及相应的接口转换器。

  3.线缆连接及配置说明

  

  如图3.1所示,PC机通过串口与交换机的Console端口相连。

  

  和路由器一样,Cisco交换机的Console端口的缺省设置如下

  

  端口速率:9600bit/s

  数据位:8

  奇偶校验:无

  停止位:1

  流控:无

  

  把PC机超级终端程序中串行端口的属性设置成与上述参数一致后,便可以开始实验。

  

  4.实验配置及监测结果

  

  在PC机启动正常,PC机与交换机使用Console电缆连接起来,并且已经进入超级终端程序的情况下。接通交

  

  换机电源。

  

  由于交换机没有电源开关,接通电源即直接插上电源插头。

  

  监测清单3.1记录了Catalyst 1912交换机启动的全过程。

  

  监测清单3-1 Catalyst 1912交换机启动及基本配置

  

  第1段:交换机的启动

  Catalyst 1900 Management Console

  Copyright (c) Cisco Systems, Inc. 1993-1999

  All rights reserved.

  Emter[rose Edotopm Software

  Ethernet Address: 00-04-DD-4E-9C-80

  

  PCA Number: 73-3122-04

  PCA Serial Number: FAB0503D0B4

  Model Number: WS-C1912-EN

  System Serial Number: FAB0503W0FA

  Power Supply S/N PHI044207FR

  PCB Serial Number: FAB0503D0B4,73-3122-04

  1 user(s)now active on Management Console.

  User Interface Menu

  [M] Menus

  [K] Command Line

  [1] IP Configuration

  [P] Console Password

  

  Enter Selection:

  第2段:进行交换机基本配置

  Enter Selection: K

  

  CLI session with the switch is open.

  To end the CLI session, enter [Exit].

  >?

  Exec commands:

  enable Turn on privileged commands

  exit Exit from the EXEC

  help Description of the interactive help system

  ping Send echo messages

  session Tunnel to module

  show Show running system information

  terminal Set terminal line parameters

  >enable

  #

  #conft

  

  Enter configuration commands, one per line. End with CNTL/Z

  (config)#?

  Configure commands:

  address-violation Set address violation action

  back-pressure Enable back pressure

  banner Define a login banner

  bridge-group Configure port grouping using bridge groups

  cdp Global CDP configuration subcommands

  cgroup Enable CGMP

  cluster Cluster configuration commands

  ecc Enable enhanced congestion control

  enable Modift enable password parameters

  end Exit from configure mode

  exit Exit from configure mode

  help Description of the interactive help system

  hostname Set the system's network name

  interface Select an interface to configure

  ip Global IP configureation subcommands

  line Configure a terminal line

  login Configure options for logging in

  mac-address-table Configure the mac address table

  monitor-port Set port monitoring

  --More--

  mlilticast-store-and-forward Enables multicast store and forward

  network-port Set the network port

  no Negate a cominand or set its defaults

  port-channel Configure Fast EtherChannel

  rip Routing information protocol configuration

  service Configuration Command

  sump-server Modify SNMP parameters

  spantree Spanning subsystem

  spantree-template Set bridge template parameter

  storm-control Configure broadcast storm contfolpirameters

  switching-mode Set the switching mode

  tacacs-server Modify TACACS query parameters

  tftp Configure TFTP

  uplink-fast Enable Uplink fast

  vlan VLAN configuration

  vlan-membership VLAN membership server configuration

  vtp Global VTP configuration commands

  (config)#SiostBiame SW1912

  

  SW1912(config)#enabSe password ?

  level Set exec level password

  SW1912(config)#enable password level 1 pass1

  

  SW1912(config)#enabSe password level 15 passl5

  

  SW1912(config)#enable secret Cisco

  

  SW1912#disable

  SW1912>

  SW1912>en

  Enter password: ***** ( 键入cisco )

  SW1912#conf t

  Enter configuration commands, one per line. End with CNTL/Z

  SW1912(config)#ip address 192.168.1.1255.255.255.0

  SW1912(config)#ip default-gateway 192.168.1.254

  

  SW1912(config)#ip domain-name ?

  WORD Domain name

  SW1912(config)#ip domain-name cisco.com

  

  SW1912(config)#ip name-server 200.1.1.1

  

  SW1912(config)#end

  SW1912#sh version

  

  Cisco Catalyst 1900/2820 Enterprise Edition Software

  Version V9.00,05 written from 192.168.000.005

  Copyright (c) Cisco Systems, Inc. 1993-1999

  SW1912 uptime is 0day(s)00hour(s)12minute(s)44secibd(s)

  cisco Catalyst 1900(486sxl)processor with 2048K/1024K bytes of memory

  Hardware board revision is 5

  Upgrade Status: No upgrade currently in progress.

  Config File Status: No configuration upload/download is in progress

  15 Fixed Ethernet/IEEE802.3interface(s)

  Base Ethernet Address: 00-04-DD-4E-9C-80

  

  SW1912#show ip

  

  IP Address:192.168.1.1

  Subnet Mask:255.255.255.0

  Default Gateway:192.168.1.254

  Management VLANl: 1

  Domain name:cisco.com

  Name server1:200.1.1.1

  HTTP server:Enabled

  HTTP port: 80

  RIP:Enabled

  SW1912#show running-config

  

  Building configuration...

  Current configuration:

  !

  tftp accept

  tftp server "192.168.0.5"

  tftp filename "catl900EN.9.00.05.bin"

  !

  hostname "SW1912"

  !

  ip address 192.168.1.1255.255.255.0

  ip default-gateway 192.168.1.254

  ip domain-name "cisco.com"

  ip name-server 200.1.1.1

  !

  enable secret 5 $l$FMFQ$mlNHW7EzaJpG9uhKPWBvf/

  enable password level 1 "PASS 1"

  enable password level 15 "PASS 15"

  !

  interface Ethernet 0/1

  !

  interface Ethernet 0/2

  !

  interface Ethernet 0/3

  !

  interface Ethernet 0/4

  !

  interface Ethernet 0/5

  !

  interface Ethernet 0/6

  !

  interface Ethernet 0/7

  !

  interface Ethernet 0/8

  !

  interface Ethernet 0/9

  interface Ethernet 0/10

  !

  interface Ethernet 0/11

  !

  interface Ethernet 0/12

  !

  interface Ethernet 0/25

  !

  interface FastEthernet 0/26

  !

  interface FastEthernet 0/27

  !

  line console

  end

  SW1912#show int e0/l

  Ethernet 0/1 is Suspended-no-linkbeat

  802.1 dSTP State: Forwarding Forward Transitions:1

  Port monitoring: Disabled

  Unknown unicast flooding: Enabled

  Unregistered multicast flooding: Enabled

  Description:

  Duplex setting: Half duplex

  Back pressure: Disabled

  Receive Statistics Transmit Statistics

  Total good frames 0 Total frames 0

  Total octets 0 Total octets 0

  Broadcast/multicast frames 0 Broadcast/multicast frames 0

  Broadcast/multicast octets 0 Broadcast/multicast octets 0

  Good frames forwarded 0 Deferrals 0

  Frames filtered 0 Single collisions 0

  Runt frames 0 Multiple collisions 0

  No buffer discards 0 Excessive collisions 0

    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章