0% found this document useful (0 votes)
55 views3 pages

Konfiguracija Switcha 1900: (Konfiguracija Izvedena Na Simulatoru)

The document describes the configuration of a Cisco switch 1900 simulator including: - Setting the hostname to "Switch" - Configuring IP addresses, default gateway and passwords - Viewing VLANs, MAC address table and running configuration - Adding a static MAC address entry and removing it

Uploaded by

Goran Zdravkov
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views3 pages

Konfiguracija Switcha 1900: (Konfiguracija Izvedena Na Simulatoru)

The document describes the configuration of a Cisco switch 1900 simulator including: - Setting the hostname to "Switch" - Configuring IP addresses, default gateway and passwords - Viewing VLANs, MAC address table and running configuration - Adding a static MAC address entry and removing it

Uploaded by

Goran Zdravkov
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

KONFIGURACIJA SWITCHA 1900

( konfiguracija izvedena na simulatoru )


>enable ( ulazak u privileged mode )
#configure terminal ( ulazak u global config mode )
(config)#hostname Switch ( postavljanje imena tj. Naziva Switcha )
Switch(config)#
( primjer postavljenog naziva switcha sa nazivom SWITCH )
Switch(config)#exit ( izlaz u global privileged mode )
Switch#
Switch#show running-config ( prikaz trenutno pokrenute konfiguracije )
Building configuration...
Current configuration:
!
hostname "Switch"
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ( meu portovi interface-i od 5 25 )
interface FastEthernet0/26
!
interface FastEthernet0/27
!
line console
!
End
Switch#
Switch#configure terminal ( ulazak u global configuration mode )
Switch(config)#enable password level 15 cisco ( postavljanje passw. "cisco" za VTY line )
Switch(config)#enable secret class ( postavljanje passw. "class" za CONSOLE line )
Switch(config)#ip address 192.168.1.2 255.255.255.0 ( postavljanje IP adrese za VLAN 1 )
Switch(config)#ip default-gateway 192.168.1.1 ( postavljanje IP adrese za DEFAULT GATEWAY )
Switch(config)#exit
Switch#show running-config ( prikaz trenutno pokrenute konfiguracije )
Building configuration...
Current configuration:
!
hostname "Switch"
!
ip address 192.168.1.2 255.255.255.0
ip default-gateway 192.168.1.1
!
enable password level 15 "cisco"
!
interface Ethernet0/1
!
interface Ethernet0/2

!
interface Ethernet0/3
!
interface Ethernet0/4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ( meu portovi interface-i od 5 25 )
interface FastEthernet0/26
!
interface FastEthernet0/27
!
line console
!
End
Switch#show vlan ( prikaz VLAN-ova na switchu )
VLAN
Name
-------------------------------------1
default
1002
fddi-default
1003
token-ring-defau
1004
fddinet-default
1005
trnet-default
--------------------------------------

Status

Ports

Enabled
Suspended
Suspended
Suspended
Suspended

1-12, AUI, A, B

VLAN
Type
SAID
MTU Parent RingNo BridgeNo
--------------------------------------------------------------------------1
Ethernet
100001
1500 0
0
0
1002 FDDI
101002
1500 0
0
0
1003 Token-Ring 101003
1500 1005 1
0
1004 FDDI-Net
101004
1500 0
0
1
1005 Token-Ring-Net 101005
1500 0
0
1
---------------------------------------------------------------------------

Stp

Trans1 Trans2

Unkn
Unkn
Unkn
IEEE
IEEE

1002
1
1
0
0

1003
1003
1002
0
0

Switch#
Switch#show mac-address-table ( naredba za prikazivanje MAC adresa PC-a prikljuenih na
interface )
Mac Address Table
-----------------------------------------Vlan Mac Address
Type
Ports
---- -----------------1 000C.9001.1327
DYNAMIC Ethernet0/4
1 000C.7693.5946
DYNAMIC Ethernet0/1
Total Mac Addresses for this criterion: 2
Switch#
Switch#configure terminal
Switch(config)#mac-address-table permanent 000C.9001.1327 ethernet0/4 ( postavljanje
statine/permanentne MAC adrese na interface-u E0/4 )
Switch(config)#exit
Switch#show mac-address-table
Mac Address Table
------------------------------------------

Vlan Mac Address


Type
---- -------------1 000C.9001.1327
DYNAMIC
1 000C.7693.5946
DYNAMIC
1 000c.9001.1327
STATIC
Total Mac Addresses for this criterion: 3
Switch(config)#

Ports
----Ethernet0/4
Ethernet0/1
Ethernet0/4

Switch(config)#no mac-address-table permanent 000c.4853.7739 interface ethernet0/1 ( brisanje


statine MAC adrese )

You might also like