CCNA Lab: Configuración de un router a través del comando setup
Posted in cisco, Networking, Scripting, Sistemas, Utilidades on Sep 30th, 2010
Accedemos por consola al router:
router> enable !entramos al modo exec privilegiado
router# erase startup-config !borramos la config de inicio y confirmamos
router# reload !reiniciamos .
…
router# setup ! empezamos a configurar …
Router>enable
Router#dir flash:
Directory of flash:/
3 -rw- 5571584 <no date> pt1000-i-mz.122-28.bin
2 -rw- 28282 <no date> sigdef-category.xml
1 -rw- 227537 <no date> sigdef-default.xml
64016384 bytes total (58188981 bytes free)
Router#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
Router#reload
Proceed with reload? [confirm]
System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
Copyright (c) 2000 by cisco Systems, Inc.
PT 1001 (PTSC2005) processor (revision 0x200) with 60416K/5120K bytes of memory
Self decompressing the image :
########################################################################## [OK]
Restricted Rights Legend
...
Cisco Internetwork Operating System Software
IOS (tm) PT1000 Software (PT1000-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
...
63488K bytes of ATA CompactFlash (Read/Write)
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>en
Router#setup
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: yes
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]: yes
Configuring global parameters:
Enter host name [Router]: R1
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: 1234
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: 1234
% Please choose a password that is different from the enable secret
Enter enable password: 12345
The virtual terminal password is used to protect
access to the router over a network interface.
Enter virtual terminal password: 1234
Configure SNMP Network Management? [no]:
Current interface summary
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES manual administratively down down
FastEthernet1/0 unassigned YES manual administratively down down
Enter interface name used to connect to the
management network from the above interface summary: FastEthernet0/0
Configuring interface FastEthernet0/0:
Configure IP on this interface? [yes]:
IP address for this interface: 192.168.1.254
Subnet mask for this interface [255.255.255.0] :
The following configuration command script was created:
!
hostname R1
enable secret 5 $1$mERr$4dpRATIgxQacPVK0CfNV4/
enable password 12345
line vty 0 4
password 1234
!
interface FastEthernet0/0
no shutdown
ip address 192.168.1.254 255.255.255.0
!
interface FastEthernet1/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
Building configuration...
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%SYS-5-CONFIG_I: Configured from console by console[OK]
Use the enabled mode 'configure' command to modify this configuration.
R1#
Clika en el altavoz para oir el post

















