Sie sind auf Seite 1von 12

Lab 2-1 Performing Initial Router Setup and Configuration

Solutions
Task 1: Inspect the Router Hardware and Software

Step 1:
Enter this command on the Branch router:

Router>enable
Router#

Step 2:
In this example the software version is 15.2(3)T and router is virtualized using Solaris Software, processor board ID is 213017, there is 62915K bytes of RAM, 64K bytes of Flash memory.

Router#show version
Cisco IOS Software, Solaris Software (UNIX-ENTSERVICESK9-M), Version 15.2(3)T, DEVELOPMENT TEST SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Sat 24-Mar-12 09:02 by prod_rel_team
ROM: Bootstrap program is Solaris
Router uptime is 23 minutes
System returned to ROM by reload at 0
System image file is "unix:/iou_root/iou_images/Cisco-IOS/unix-entservicesk9-ms.152-3.T"

Lab 2-1 Performing Initial Router Setup and Configuration

Last reload reason: Unknown reason

This product contains cryptographic features and is subject to United


States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.

Lab 2-1 Performing Initial Router Setup and Configuration

Solaris Unix (Sparc) processor with 62915K bytes of memory.


Processor board ID 213017
4 Ethernet interfaces
64K bytes of NVRAM.

Configuration register is 0x0

Step 3:
Erase the startup configuration.

Router#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Router#
After you have erased the startup configuration, verify that it no longer exists.

Router#show startup-config
startup-config is not present

Step 4:

Router#reload
3

Lab 2-1 Performing Initial Router Setup and Configuration

Proceed with reload? [confirm] <Enter>


*Dec 18 09:54:41.742: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
unix_reload()
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706

Lab 2-1 Performing Initial Router Setup and Configuration

Cisco IOS Software, Solaris Software (UNIX-ENTSERVICESK9-M), Version 15.2(3)T, DEVELOPMENT TEST SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Sat 24-Mar-12 09:02 by prod_rel_team

This product contains cryptographic features and is subject to United


States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.

Lab 2-1 Performing Initial Router Setup and Configuration

Solaris Unix (Sparc) processor with 62915K bytes of memory.


Processor board ID 213017
4 Ethernet interfaces
64K bytes of NVRAM.
Task 2: Create the Initial Router Configuration

Step 1:
Answer No to the initial configuration dialog question and use the enable command to enter privileged EXEC mode.

Would you like to enter the initial configuration dialog? [yes/no]: no


<output omitted>
Router>
Router>enable
Router#

Step 2:
Use the command hostname to set the host name.

Router#configure terminal
Enter configuration commands, one per line.
Router(config)#hostname Branch

End with CNTL/Z.

Lab 2-1 Performing Initial Router Setup and Configuration

Branch(config)#

Step 3:

Branch#

Step 4:
Enter these commands on the Branch router to enter interface configuration mode, enable the interface, and provide a description:

Branch(config)#interface Ethernet 0/0


Branch(config-if)#no shutdown
*Dec 18 10:02:59.761: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Dec 18 10:03:00.761: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up
Branch(config-if)#description Link to LAN Switch

Step 5:
Enter this command on the Branch router:

Branch(config-if)#ip address 10.1.1.1 255.255.255.0

Step 6:

Branch(config-if)#end
*Dec 18 10:04:58.697: %SYS-5-CONFIG_I: Configured from console by console
Branch#show interfaces Ethernet 0/0
Ethernet0/0 is up, line protocol is up
Hardware is AmdP2, address is aabb.cc00.1900 (bia aabb.cc00.1900)

Lab 2-1 Performing Initial Router Setup and Configuration

Description: Link to LAN Switch


Internet address is 10.1.1.1/24
MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
<text omitted>

Step 7:

Branch#ping 10.1.1.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.100, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/4 ms
The ping might fail due to slow STP convergence on the SW1 switch. If the ping fails, try to issue another ping after few seconds.
The first ICMP packet could time out because Address Resolution Protocol (ARP) needs to obtain Layer 2 addressing before the packet can be sent out of the interface.

Step 8:
Use this command on the Branch router:

Branch#copy running-config startup-config


Destination filename [startup-config]?
Building configuration...

Lab 2-1 Performing Initial Router Setup and Configuration

[OK]
Branch#
Task 3: Improve the Usability of the CLI

Step 1:
Enter these commands on the Branch router:

Branch#configure terminal
Branch(config)#line console 0
Branch(config-line)#exec-timeout 60 0

Step 2:

Branch#show line console 0


Tty Typ
*

Tx/Rx

0 CTY

A Modem
-

Roty AccO AccI

Uses
-

Noise
0

Overruns
0

Line 0, Location: "", Type: ""


Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600, no parity, 2 stopbits, 8 databits
Status: PSI Enabled, Ready, Active, Automore On
Capabilities: none
Modem state: Ready
Special Chars: Escape

Hold

Stop

Start

Disconnect

Activation

0/0

Int
-

Lab 2-1 Performing Initial Router Setup and Configuration

^^x
Timeouts:

none

Idle EXEC

Idle Session

01:00:00

none
Modem Answer

Session

never

none

Dispatch
not set

Idle Session Disconnect Warning


never
Login-sequence User Response
00:00:30
Autoselect Initial Wait
not set
<output omitted>

Step 3:
Use the logging synchronous command on the Branch router:

Branch(config)#line console 0
Branch(config-line)#logging synchronous

Step 4:
On the Branch router, use the command no ip domain lookup in global configuration mode to disable the resolution of symbolic names.

Branch(config)#no ip domain lookup

Step 5:
On the Branch router, use command copy running-config startup-config to copy the configuration into NVRAM.

10

Lab 2-1 Performing Initial Router Setup and Configuration

Branch# copy running-config startup-config


Task 4: Discover Connected Neighbors with Cisco Discovery Protocol

Step 1:

Branch#show cdp
Global CDP information:
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements is enabled

Step 2:
On the Branch router, use the show cdp neighbors command to display all neighboring Cisco devices:

Branch#show cdp neighbors


Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID

Local Intrfce

SW1

Eth 0/0

Holdtme

Capability

145

Write down the information about the discovered neighbors in the table:

Branch#show cdp neighbors detail


-------------------------

11

R S

Platform

Port ID

Solaris U Eth 1/0

Lab 2-1 Performing Initial Router Setup and Configuration

Device ID: SW1


Entry address(es):
IP address: 10.1.1.11
Platform: Solaris Unix,

Capabilities: Router Switch

Interface: Ethernet0/0,

Port ID (outgoing port): Ethernet1/0

Holdtime : 161 sec


Version :
Cisco IOS Software, Solaris Software (UNIXL2-UPK9-M), Experimental Version 15.0(20120621:035549) [dstivers-june20-2012golden_spike 100]
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Wed 20-Jun-12 21:37 by dstivers
advertisement version: 2
VTP Management Domain: ''

12

Das könnte Ihnen auch gefallen