这是设备的setup配置模式。
从上面的接口中选择一个用来管理这个设备的接口,比如选择fastethernet0/0,一定要写全名,然后会让你配置此接口的IP地址和子网掩码。看例子:
开机后显示:
% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: y
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Basic management setup configures only enough connectivity
for management of the system, extended setup will ask you
to configure each interface on the system
Would you like to enter basic management setup? [yes/no]: y
Configuring global parameters:
Enter host name [Router]:SW1
The enable secret is a password used to protect access to
privileged EXEC and configuration modes. This password, after
entered, becomes encrypted in the configuration.
Enter enable secret: cisco
The enable password is used when you do not specify an
enable secret password, with some older software versions, and
some boot images.
Enter enable password: c
The virtual terminal password is used to protect
access to the router over a network interface.
Enter virtual terminal password: yuancheng
Configure SNMP Network Management? [yes]: y
Community string [public]:
Current interface summary
Any interface listed with OK? value "NO" does not have a valid configuration
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned NO unset up up
Serial1/0 unassigned NO unset up down
Serial1/1 unassigned NO unset up down
Serial1/2 unassigned NO unset up down
Serial1/3 unassigned NO unset up down
FastEthernet2/0 unassigned NO unset up up
Enter interface name used to connect to the
management network from the above interface summary: fastethernet0/0 这是选择的接口。
Configuring interface FastEthernet0/0:
Use the 100 Base-TX (RJ-45) connector? [yes]: y
Operate in full-duplex mode? [no]: y
Configure IP on this interface? [yes]: y
IP address for this interface: 192.168.1.1
Subnet mask for this interface [255.255.255.0] :
Class C network is 192.168.1.0, 24 subnet bits; mask is /24
The following configuration command script was created:
hostname R1
enable secret 5 $1$uc9G$OJmYXA5u.x.xTwjy3.bCJ0
enable password c
line vty 0 4
password yuancheng
snmp-server community public
!
no ip routing
!
interface FastEthernet0/0
no shutdown
media-type 100BaseX
full-duplex
ip address 192.168.1.1 255.255.255.0
!
interface Serial1/0
shutdown
no ip address
!
interface Serial1/1
shutdown
no ip address
!
interface Serial1/2
shutdown
no ip address
!
interface Serial1/3
shutdown
no ip address
!
interface FastEthernet2/0
shutdown
no ip address
!
end
[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.
Enter your selection [2]: 2
这是路由setup配置的过程,交换机类似,交换机只能给vlan 配置ip地址。如果是交换机,就用vlan1。不过一般不用这种配置方法,都用命令行模式,也就是开机选择no。
Cisco Catalyst 3560G系列交换机配置:
特性 说明
3560E-24TD 24个以太网10/100/1000端口和2个X2万兆以太网上行链路
3560E-24PD 24个以太网10/100/1000端口,带PoE,2个X2万兆以太网上行链路
3560E-48TD 48个以太网10/100/1000端口和2个X2万兆以太网上行链路
3560E-48PD 48个以太网10/100/1000端口,带PoE,2个X2万兆以太网上行链路
3560E-48PD-F 48 个以太网10/100/1000端口,每个端口支持15.4W PoE,2个X2万兆 以太网上行链路
Cisco® Catalyst® 3560G系列交换机是一个企业级独立式配线间交换机系列,支持安全融合应用的部署,并能根据网络和应用需求的发展,最大限度地保护投资。
通过将10/100/1000和以太网供电(PoE)配置与万兆以太网上行链路相结合,Cisco Catalyst 3560G能够支持IP电话、无线和视频等应用,提高了员工生产率。
Cisco Catalyst 3560G系列的主要特性:
Cisco TwinGig转换器模块,将上行链路从千兆以太网移植到万兆以太网。
PoE配置,为所有48个端口提供了15.4W PoE 。
模块化电源,可带外部可用备份电源。
在硬件中提供组播路由、IPv6路由和访问控制列表。
带外以太网管理端口,以及RS-232控制台端口