Switch komendy

Switch>enable

Switch#conf t


Switch(config)#vlan 10

Switch(config-vlan)#name VOIP

Switch(config-vlan)#exit


Switch(config)#vlan 20

Switch(config-vlan)#name DATA

Switch(config-vlan)#exit


Switch(config)#exit


Switch#sh vlan



VLAN Name Status Ports

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

1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4

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

Gig1/1, Gig1/2

10 VOIP active

20 DATA active

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




Switch#enable

Switch#conf t


Switch(config)#int fa0/1


Switch(config-if)#switch


Switch(config-if)#switchport mode trunk


Switch(config-if)#description LINK-TO-ROUTER


Switch(config-if)#exit

Switch(config)#exit




Switch#sh int trunk



Port Mode Encapsulation Status Native vlan

Fa0/1 on 802.1q trunking 1


Port Vlans allowed on trunk

Fa0/1 1-1005


Port Vlans allowed and active in management domain

Fa0/1 1,10,20


Port Vlans in spanning tree forwarding state and not pruned

Fa0/1 1,10,20

Switch#


Switch#conf t


Switch(config)#int range fa0/2-24


Switch(config-if-range)#switchport mode access


Switch(config-if-range)#switchport voice vlan 10


Switch(config-if-range)#switchport access vlan 20


Switch(config-if-range)#spanning-tree portfast \\\\\\\\\////////// == zaswieci sie na zielono i nie bedzie petli, ustawiamy go na portach accessowych























Wyszukiwarka

Podobne podstrony:
Page153 Model 2491 2492 2493 Digital Switchboard meter c
komendy do linuxa
Baumer Inductive proximity switch IFFM 08P17A6 KS35L
DOS komendy DOS-a-ściąga, szkoła, technik informatyki, INFORMATYKA-all, Ściąga z informatyki-2003
BODY SWITCH
5 3 3 5 Packet Tracer Configure Layer 3 Switches Instructions
easy500 Year time switch HLP EN
lista komend
komendy 2
Pliki wsadowe komendy
1830 switch datasheet
komendy 3
Komendy DOS 02
Komendy ceremoniarza, Religijne, Różne
2007 06 Praca z grafiką z linii komend [Grafika]
MikroTik jako zarządzany switch
Komenda Wojsk Polskich w Sławkowie ogłoszenie
Podstawowe komendy i polecenia w Linux