You are on page 1of 3

S1#show vlan brief displays the contents of the vlan.

dat file
S1#show interfaces Fa0/0 switchport verifies that the native VLAN was correctly
configures

S#show interfaces trunk tool for revealing common trunking problems

The normal range includes IDs 1 to 1001, and extended range consists of IDs 1006 to 4094.
VLAN 1 and 1002 to 1005 are reserved ID numbers.
VTP

S#show vtp status displays VTP settings

Configure Domain Name


S1#configure terminal
S1(config)#vtp domain cisco1

S1(config)#vtp password cisco konfigurisemo password za prostup VTP domenu


S1(config)#vtp client mode Konfigurisemo svic da radi u klijent modu
S1(config)#vtp version 1 konfigurisemo svic da radi u verziji 1
S1(config)#vtp domain cisco1 dajemo ime domenu cisco1 i ono mora da je isto
na svim svicevima

S1(config-if)#switchport access vlan 20 konfigurisemo port da bude u VLAN-u 20


S1#show vtp counters to confirm that the advertisements took place

STP

S(config-if)#spanning-tree cost 25 to configure individual port costs

Configuration of the bridge priority:


 Method 1:
S1(config)# spanning-tree vlan 1 root primary
S2(config)# spanning-tree vlan 1 root secondary

 Method 2:
S1(config)# spanning-tree vlan 1 priority 4096

S2(config)# spanning-tree port-priority 112 to configure the port priority value


(0-240/16), lower port priority value,
higher priority of the port
S2(config)# spanning-tree vlan 1 root primary diameter 5 precnik Vlana 1 je 5 svica

S(config-if)#spanning-tree portfast konfiguracija PortFast opcije

S#show spanning-tree
S#show spanning-tree detail

You might also like