You are on page 1of 40

switch: ?

? -- Present list of available commands

boot -- Load and boot an executable image

cat -- Concatenate (type) file(s)

copy -- Copy a file

delete -- Delete file(s)


dir -- List files in directories

flash_init -- Initialize flash filesystem(s)

format -- Format a filesystem

fsck -- Check filesystem consistency

help -- Present list of available commands

load_helper -- Load and initialize a helper image

memory -- Present memory heap utilization information

mkdir -- Create dir(s)

more -- Concatenate (display) file(s)

rename -- Rename a file

reset -- Reset the system

rmdir -- Delete empty dir(s)

set -- Set or display environment variables

set_bs -- Set attributes on a boot sector filesystem

set_param -- Set system parameters in flash

sleep -- Pause (sleep) for a specified number of seconds

-- MORE --

trap -- Cause a software breakpoint to occur

type -- Concatenate (type) file(s)

unset -- Unset one or more environment variables

version -- Display boot loader version

switch: reset

Are you sure you want to reset the system (y/n)?y

System resetting...
Base ethernet MAC Address: 00:1b:0d:50:96:00

Xmodem file system is available.

The password-recovery mechanism is enabled.

Initializing Flash...

flashfs[0]: 601 files, 19 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 32514048

flashfs[0]: Bytes used: 7714304

flashfs[0]: Bytes available: 24799744

flashfs[0]: flashfs fsck took 10 seconds.

...done Initializing Flash.

Boot Sector Filesystem (bs) installed, fsid: 3

done.

Loading "flash:c2960-lanbase-mz.122-25.SEE3/c2960-lanbase-mz.122-
25.SEE3.bin"...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@

File "flash:c2960-lanbase-mz.122-25.SEE3/c2960-lanbase-mz.122-25.SEE3.bin"
uncompressed and installed, entry point: 0x3000

executing...

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

Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)SEE3,


RELEASE SOFTWARE (fc2)

Copyright (c) 1986-2007 by Cisco Systems, Inc.


Compiled Thu 22-Feb-07 13:57 by myl

Image text-base: 0x00003000, data-base: 0x00AA3380

Initializing flashfs...

flashfs[1]: 601 files, 19 directories

flashfs[1]: 0 orphaned files, 0 orphaned directories

flashfs[1]: Total bytes: 32514048

flashfs[1]: Bytes used: 7714304

flashfs[1]: Bytes available: 24799744

flashfs[1]: flashfs fsck took 1 seconds.

flashfs[1]: Initialization complete....done Initializing flashfs.

POST: CPU MIC register Tests : Begin

POST: CPU MIC register Tests : End, Status Passed

POST: PortASIC Memory Tests : Begin

POST: PortASIC Memory Tests : End, Status Passed

POST: CPU MIC PortASIC interface Loopback Tests : Begin

POST: CPU MIC PortASIC interface Loopback Tests : End, Status Passed

POST: PortASIC RingLoopback Tests : Begin

POST: PortASIC RingLoopback Tests : End, Status Passed

POST: PortASIC CAM Subsystem Tests : Begin


POST: PortASIC CAM Subsystem Tests : End, Status Passed

POST: PortASIC Port Loopback Tests : Begin

POST: PortASIC Port Loopback Tests : End, Status Passed

Waiting for Port download...Complete

cisco WS-C2960-24TT-L (PowerPC405) processor (revision C0) with 61440K/4088K bytes


of memory.

Processor board ID FOC1122U3C6

Last reset from power-on

1 Virtual Ethernet interface

24 FastEthernet interfaces

2 Gigabit Ethernet interfaces

The password-recovery mechanism is enabled.

64K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address : 00:1B:0D:50:96:00

Motherboard assembly number : 73-10390-03

Power supply part number : 341-0097-02

Motherboard serial number : FOC112219DX

Power supply serial number : DCA111780AR

Model revision number : C0

Motherboard revision number : C0

Model number : WS-C2960-24TT-L

System serial number : FOC1122U3C6

Top Assembly Part Number : 800-27221-02


Top Assembly Revision Number : D0

Version ID : V02

CLEI Code Number : COM3L00BRA

Hardware Board Revision Number : 0x01

Switch Ports Model SW Version SW Image

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

* 1 26 WS-C2960-24TT-L 12.2(25)SEE3 C2960-LANBASE-M

Press RETURN to get started!

00:00:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to


down

00:00:39: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan

00:00:59: %SYS-5-RESTART: System restarted --

Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)SEE3,


RELEASE SOFTWARE (fc2)

Copyright (c) 1986-2007 by Cisco Systems, Inc.

Compiled Thu 22-Feb-07 13:57 by myl

Would you like to terminate autoinstall? [yes]:


--- System Configuration Dialog ---

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

% Please answer 'yes' or 'no'.

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

% Please answer 'yes' or 'no'.

Would you like to enter the initial 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 [Switch]: Kelompok5

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: admin

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: admin

% Please choose a password that is different from the enable secret

Enter enable password: admin

The virtual terminal password is used to protect

access to the router over a network interface.

Enter virtual terminal password: admin

Configure SNMP Network Management? [no]: no

Current interface summary

Interface IP-Address OK? Method Status Protocol

Vlan1 unassigned YES unset up down

FastEthernet0/1 unassigned YES unset down down

FastEthernet0/2 unassigned YES unset down down

FastEthernet0/3 unassigned YES unset down down

FastEthernet0/4 unassigned YES unset down down

FastEthernet0/5 unassigned YES unset down down

FastEthernet0/6 unassigned YES unset down down

FastEthernet0/7 unassigned YES unset down down

FastEthernet0/8 unassigned YES unset down down


FastEthernet0/9 unassigned YES unset down down

FastEthernet0/10 unassigned YES unset down down

FastEthernet0/11 unassigned YES unset down down

FastEthernet0/12 unassigned YES unset down down

FastEthernet0/13 unassigned YES unset down down

FastEthernet0/14 unassigned YES unset down down

FastEthernet0/15 unassigned YES unset down down

FastEthernet0/16 unassigned YES unset down down

FastEthernet0/17 unassigned YES unset down down

FastEthernet0/18 unassigned YES unset down down

FastEthernet0/19 unassigned YES unset down down

FastEthernet0/20 unassigned YES unset down down

FastEthernet0/21 unassigned YES unset down down

FastEthernet0/22 unassigned YES unset down down

FastEthernet0/23 unassigned YES unset down down

FastEthernet0/24 unassigned YES unset down down

GigabitEthernet0/1 unassigned YES unset down down

GigabitEthernet0/2 unassigned YES unset down down

Enter interface name used to connect to the

management network from the above interface summary: FastEthernet0/24

Configuring interface FastEthernet0/24:

Configure IP on this interface? [no]: 192.168.5.5

% Please answer 'yes' or 'no'.

Configure IP on this interface? [no]: yes


IP address for this interface: 192.168.5.5

Subnet mask for this interface [255.255.255.0] : 255.255.255.0

Class C network is 192.168.5.0, 24 subnet bits; mask is /24

Would you like to enable as a cluster command switch? [yes/no]: no

The following configuration command script was created:

hostname Kelompok5

enable secret 5 $1$s9wS$yaw/oC/NMParHB.I.DekR/

enable password admin

line vty 0 15

password admin

no snmp-server

interface Vlan1

shutdown

no ip address

interface FastEthernet0/1

interface FastEthernet0/2

interface FastEthernet0/3

interface FastEthernet0/4
!

interface FastEthernet0/5

interface FastEthernet0/6

interface FastEthernet0/7

interface FastEthernet0/8

interface FastEthernet0/9

interface FastEthernet0/10

interface FastEthernet0/11

interface FastEthernet0/12

interface FastEthernet0/13

interface FastEthernet0/14

interface FastEthernet0/15

interface FastEthernet0/16

interface FastEthernet0/17
!

interface FastEthernet0/18

interface FastEthernet0/19

interface FastEthernet0/20

interface FastEthernet0/21

interface FastEthernet0/22

interface FastEthernet0/23

interface FastEthernet0/24

no shutdown

ip address 192.168.5.5 255.255.255.0

interface GigabitEthernet0/1

interface GigabitEthernet0/2

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

The enable password you have chosen is the same as your enable secret.

This is not recommended. Re-enter the enable password.

ip address 192.168.5.5 255.255.255.0

% Invalid input detected at '^' marker.

Building configuration...

[OK]

Use the enabled mode 'configure' command to modify this configuration.

Kelompok5>

00:04:21: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down

Kelompok5>enable

Password:

Kelompok5#conf t

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

Kelompok5(config)#vlan 20

Kelompok5(config-vlan)#name admin

Kelompok5(config-vlan)#int fa0/2

Kelompok5(config-if)#swit

Kelompok5(config-if)#switchport mod

Kelompok5(config-if)#switchport mode ac
Kelompok5(config-if)#switchport mode access

Kelompok5(config-if)#swi

Kelompok5(config-if)#switchport ac

Kelompok5(config-if)#switchport access vl

Kelompok5(config-if)#switchport access vlan 20

Kelompok5(config-if)#int fa0/3

Kelompok5(config-if)#sw

Kelompok5(config-if)#switchport ac

Kelompok5(config-if)#switchport mo

Kelompok5(config-if)#switchport mode ac

Kelompok5(config-if)#switchport mode access

Kelompok5(config-if)#sw

Kelompok5(config-if)#switchport ac

Kelompok5(config-if)#switchport access v

Kelompok5(config-if)#switchport access vlan 20

Kelompok5(config-if)#int fa0/1

Kelompok5(config-if)#sw

Kelompok5(config-if)#switchport ac

Kelompok5(config-if)#switchport access tr

Kelompok5(config-if)#switchport mo

Kelompok5(config-if)#switchport mode tr

Kelompok5(config-if)#switchport mode trunk

Kelompok5(config-if)#int fa0/4

Kelompok5(config-if)#ex

Kelompok5(config)#vlan 10

Kelompok5(config-vlan)#name karyawan
Kelompok5(config-vlan)#int fa0/4

Kelompok5(config-if)#sw

Kelompok5(config-if)#switchport mo

Kelompok5(config-if)#switchport mode ac

Kelompok5(config-if)#switchport mode access

Kelompok5(config-if)#sw

Kelompok5(config-if)#switchport ac

Kelompok5(config-if)#switchport access v

Kelompok5(config-if)#switchport access vlan 10

Kelompok5(config-if)#ex

Kelompok5(config)#ex

% Ambiguous command: "ex"

Kelompok5(config)#do wr

Building configuration...

[OK]

Kelompok5(config)#conf t

% Invalid input detected at '^' marker.

Kelompok5(config)#enable

% Incomplete command.

Kelompok5(config)#?

Configure commands:

aaa Authentication, Authorization and Accounting.

access-list Add an access list entry


alias Create command alias

archive Archive the configuration

arp Set a static ARP entry

banner Define a login banner

boot Boot Commands

buffers Adjust system buffer pool parameters

cdp Global CDP configuration subcommands

class-map Configure QoS Class Map

clock Configure time-of-day clock

cluster Cluster configuration commands

cns CNS agents

control-plane Configure control plane services

default Set a command to its defaults

default-value Default character-bits values

define interface range macro definition

do To run exec commands in config mode

dot1x IEEE 802.1X Global Configuration Commands

downward-compatible-config Generate a configuration compatible with older

software

eap EAP Global Configuration Commands

enable Modify enable password parameters

end Exit from configure mode

errdisable Error disable

exception Exception handling

exit Exit from configure mode

file Adjust file system parameters


help Description of the interactive help system

hostname Set system's network name

interface Select an interface to configure

ip Global IP configuration subcommands

ixi IXI Config command

kron Kron interval Facility

lacp LACP configuration

line Configure a terminal line

link Enable Link State Tracking feature

logging Modify message logging facilities

login Enable secure login checking

mac Global MAC configuration subcommands

mac-address-table Configure the MAC address table

macro Create a command macro

map-class Configure static map class

map-list Configure static map list

memory Configure memory management

mls mls global commands

monitor Monitoring different system events

mvr Enable/Disable MVR on the switch

no Negate a command or set its defaults

ntp Configure NTP

parser Configure parser

platform platform specific config commands

policy-manager Policy Manager configuration commands

policy-map Configure QoS Policy Map


port-channel EtherChannel configuration

priority-list Build a priority list

privilege Command privilege parameters

process Configure process

process-max-time Maximum time for process to run before

voluntarily relinquishing processor

queue-list Build a custom queue list

regexp regexp commands

resource Configure Resource settings

rmon Remote Monitoring

rtr RTR base configuration

scheduler Scheduler parameters

sdm Switch database management

service Modify use of network based services

setup Configure setup options

shutdown Shutdown system elements

snmp Modify non engine SNMP parameters

snmp-server Modify SNMP engine parameters

spanning-tree Spanning Tree Subsystem

stackmaker Specify stack name and add its member

standby Global HSRP configuration commands

system Set the system configuration

table-map Configure Table Map

tacacs-server Modify TACACS query parameters

template Select a template to configure

tftp-server Provide TFTP service for netload requests


time-range Define time range entries

udld Configure global UDLD setting

username Establish User Name Authentication

vlan Vlan commands

vmps VMPS settings

vtp Configure global VTP state

Kelompok5(config)#inte

Kelompok5(config)#interface vlan 10

Kelompok5(config-if)#

00:16:33: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed state to


down

Kelompok5(config-if)#ip ad

Kelompok5(config-if)#ip address 10.10.10.254 255.255.255.0

Kelompok5(config-if)#ex

Kelompok5(config)#inte

Kelompok5(config)#interface vl

Kelompok5(config)#interface vlan 20

Kelompok5(config-if)#ip ad

Kelompok5(config-if)#ip address

00:17:10: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed state to


down

% Incomplete command.

Kelompok5(config-if)#int

Kelompok5(config-if)#int

Kelompok5(config-if)#ip ad
Kelompok5(config-if)#ip address 20.20.20.254 255.255.255.0

Kelompok5(config-if)#ex

Kelompok5(config)#sh vlan

% Invalid input detected at '^' marker.

Kelompok5(config)#ex

% Ambiguous command: "ex"

Kelompok5(config)#sh vlan

% Invalid input detected at '^' marker.

Kelompok5(config)#ex

% Ambiguous command: "ex"

Kelompok5(config)#exit

Kelompok5#

00:18:01: %SYS-5-CONFIG_I: Configured from console by consolesh

% Type "show ?" for a list of subcommands

Kelompok5#sh vlan

VLAN Name Status Ports

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

1 default active Fa0/1, Fa0/5, Fa0/6, Fa0/7

Fa0/8, Fa0/9, Fa0/10, Fa0/11

Fa0/12, Fa0/13, Fa0/14, Fa0/15

Fa0/16, Fa0/17, Fa0/18, Fa0/19


Fa0/20, Fa0/21, Fa0/22, Fa0/23

Fa0/24, Gi0/1, Gi0/2

10 karyawan active Fa0/4

20 admin active Fa0/2, Fa0/3

1002 fddi-default act/unsup

1003 token-ring-default act/unsup

1004 fddinet-default act/unsup

1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2

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

1 enet 100001 1500 - - - - - 0 0

10 enet 100010 1500 - - - - - 0 0

20 enet 100020 1500 - - - - - 0 0

1002 fddi 101002 1500 - - - - - 0 0

1003 tr 101003 1500 - - - - - 0 0

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2

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

1004 fdnet 101004 1500 - - - ieee - 0 0

1005 trnet 101005 1500 - - - ibm - 0 0

Remote SPAN VLANs

------------------------------------------------------------------------------
Primary Secondary Type Ports

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

Kelompok5#do wr

Kelompok5#do write

% Invalid input detected at '^' marker.

Kelompok5#enable

Kelompok5#enable

Kelompok5#

00:19:50: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up

00:19:51: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2,


changed state to up

Kelompok5#do write

% Invalid input detected at '^' marker.

Kelompok5#enable

Kelompok5#exit
Kelompok5 con0 is now available

Press RETURN to get started.

Kelompok5>do write

% Invalid input detected at '^' marker.

Kelompok5>enable

Password:

00:20:19: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed state to


up

Kelompok5#do write

% Invalid input detected at '^' marker.


Kelompok5#conf t

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

Kelompok5(config)#do write

Building configuration...

[OK]

Kelompok5(config)#

00:22:54: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up

00:22:55: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3,


changed state to up

00:23:00: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3,


changed state to down

00:23:01: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to down

Kelompok5(config)#

00:23:16: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up

00:23:17: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3,


changed state to up

Kelompok5(config)#ping 20.20.20.2

% Invalid input detected at '^' marker.

Kelompok5(config)#exit

Kelompok5#ping

00:24:24: %SYS-5-CONFIG_I: Configured from console by console

Protocol [ip]:

Kelompok5#ping 20.20.20.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 20.20.20.2, timeout is 2 seconds:


!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/202/1007 ms

Kelompok5#

00:26:06: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2,


changed state to down

00:26:07: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to down

00:26:09: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up

00:26:10: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2,


changed state to up

00:26:11: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2,


changed state to down

00:26:12: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to down

You might also like