Documente Academic
Documente Profesional
Documente Cultură
Step 2:
Since the erase startup-config command is a privileged-level command, entering it in user EXEC mode will have no effect to the system. You were informed that the command is invalid:
Switch>erase startup-config
^
% Invalid input detected at '^' marker.
Step 3:
When you have a right arrow (>) symbol after the device hostname, you are in user EXEC mode. When you issued the enable command, you moved into privileged EXEC mode, which is
indicated by the pound sign (#) after the hostname. Enter privileged EXEC mode by typing enable in user EXEC mode.
Switch>enable
Switch#
Step 4:
When you enter the erase startup-config command within privileged EXEC mode, it is accepted and you are prompted to press Enter to confirm this action.
Switch#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] <Enter>
[OK]
Erase of nvram: complete
When you enter the reload command within privileged EXEC mode, you are asked to confirm the reload. Press Enter at that point.
Switch#reload
Proceed with reload? [confirm]
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 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
Step 5:
Your results should resemble the output displayed here. You should have answered No to the question (Would you like to enter the initial configuration dialog?).
--- System Configuration Dialog --Would you like to enter the initial configuration dialog? [yes/no]: no
Press RETURN to get started!
If you skipped initial configuration dialog there is no startup configuration present. Alternatively, you can verify that there is no configuration present by entering privileged EXEC mode and
issuing the show startup-config command.
Switch>enable
Switch#show startup-config
startup-config is not present
Step 6:
You can issue the show version command from either user or privileged EXEC mode.
In the output here, you see that the switch software is running on the Solaris Unix.
Note that your device may have different properties.
Switch#show 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.
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.
Solaris Unix (Sparc) processor with 111929K bytes of memory.
Processor board ID 213017
24 Ethernet interfaces
16K bytes of NVRAM.
Step 1:
Enter privileged EXEC mode and then global configuration mode. Issue the hostname command, as shown in the following output. Notice the change in the hostname of the device in the last
line of the output.
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line.
Switch(config)#hostname SW1
SW1(config)#
Step 2:
First, make sure that you are in global configuration mode.
SW1(config)#
Then enter interface configuration mode for VLAN 1, enable interface and assign the proper IP address and network mask.
SW1(config)#interface vlan 1
SW1(config-if)#ip address 10.1.1.11 255.255.255.0
SW1(config-if)#no shutdown
SW1(config-if)#
*Feb 27 22:11:31.987: %LINK-3-UPDOWN: Interface Vlan1, changed state to up
SW1(config-if)#
*Feb 27 22:11:31.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
SW1(config-if)#
Configuring the IP address on the switch is not mandatory to start the switch running, but it is necessary for IP connectivity with other devices.
Step 4:
Then enter interface configuration mode for e0/0, enable interface and assign the proper IP address and network mask.
PC1>enable
PC1#configure terminal
Enter configuration commands, one per line.
PC1(config)#interface Ethernet 0/0
Step 5:
On PC1 enter ping, followed by the IP address of the VLAN 1 interface on the SW1 switch. This Layer 3 test should succeed.
PC1(config-if)#exit
PC1(config)#exit
PC1#ping 10.1.1.11
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.11, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/4 ms
Task 3: Explore Context-Sensitive Help
Step 1:
After you enter privileged EXEC mode and enter ?, you are presented with a list of available commands. Each command is listed with a description.
SW1#?
Exec commands:
access-enable
access-profile
access-template
archive
beep
where
write
Step 2:
First, make sure that you are in privileged EXEC mode. Enter clock, followed by ?. Complete the configuration as displayed here.
The Tab key can be used to automatically complete the command if the characters that you have entered are not ambiguous.
SW1#clock ?
read-calendar
set
update-calendar
SW1#clock
SW1#clock set ?
hh:mm:ss
Current Time
SW1#clock set
SW1#clock set 12:57:22 ?
<1-31>
MONTH
Year
Step 3:
When you are familiar only with how a command begins, you can get help by using the ? command. It will list all commands that begin with the sequence of letters that you entered.
SW1#sh?
show
SW1#sh
SW1#show ?
aaa
access-expression
access-lists
accounting
acircuit
adjacency
Adjacent nodes
aliases
alignment
archive
Archive functions
arp
ARP table
checkpoint
class-map
clns
clock
cns
CNS agents
compress
configuration
connection
Show Connection
SW1#show
SW1#show clock?
clock
SW1#show clock
SW1#show clock
13:01:24.145 UTC Fri Aug 17 2012
SW1#
Task 4: Improve the Usability of the CLI
Step 1:
You can enter the show terminal command and then investigate the output to determine the current history size. Alternatively, you can use the pipe (|) along with the include command and
the keyword history size to print out just the line with the information.
Step 2:
Enter global configuration mode.
SW1#configure terminal
Enter configuration commands, one per line.
Enter line console 0 configuration mode.
SW1(config)#line console 0
Change the history size to 100.
SW1(config-line)#exit
SW1(config)#exit
Verify that the history size is changed.
Step 3:
You must be in global configuration mode before issuing the no ip domain lookup command.
SW1>enable
SW1#configure terminal
SW1(config)#no ip domain lookup
Step 4:
Issue the exec-timeout 60 command to set the console timeout expiration timer to one hour.
SW1(config)#line console 0
SW1(config-line)#exec-timeout 60
Step 5:
Make sure that you are in global configuration mode and then enter line console 0 configuration mode. Last, enable synchronous logging as shown in the output here.
SW1(config-line)#logging synchronous
SW1(config-line)#exit
SW1(config)#exit
SW1#
Make sure that you are in console line configuration mode.
Step 6:
This command copies the running configuration to the startup configuration. If you do not save the configuration, you will lose it the next time the switch is restarted.