Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Switch>enable (Modo privilegiado)

Switch#configure terminal (Para entrar en la configuracin del terminal)


Enter configuration commands, one per line. End with CNTL/Z.
Switch (config) #vlan 2
Switch (config-vlan) #name vlan2
Switch (config-vlan) #exit
Switch (config) #vlan 2
Switch (config-vlan) #exit
Switch (config) #vlan 3
Switch (config-vlan) #name vlan3
Switch (config-vlan) #exit
Switch (config) #interface FastEthernet0/1 (Interfaz que queremos
configurar)
Switch (config-if) #switchport access vlan 2
Switch (config-if) #exit
Switch (config) #interface FastEthernet1/1
Switch (config-if) #switchport access vlan 2
Switch (config-if) #exit
Switch (config) #interface FastEthernet2/1
Switch (config-if) #switchport access vlan 3
Switch (config) #interface FastEthernet3/1
Switch (config-if) #switchport access vlan 3
Switch (config-if) #exit
Switch (config) #exit
%SYS-5-CONFIG_I: Configured from console by console
Switch#show vlan (Para comprobar la tabla de configuracin)
VLAN Name

Status

Ports

---- -------------------------------- --------- ------------------------------1

default

active

Fa4/1, Fa5/1

vlan2

active

Fa0/1, Fa1/1

vlan3

active

Fa2/1, Fa3/1

1002 fddi-default

act/unsup

1003 token-ring-default
1004 fddinet-default

act/unsup
act/unsup

1005 trnet-default

act/unsup

VLAN Type SAID


Trans2

MTU Parent RingNo BridgeNo Stp BrdgMode Trans1

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----1

enet 100001

1500 -

enet 100002

1500 -

enet 100003

1500 -

1002 fddi 101002


1003 tr

101003

1500 1500 -

1004 fdnet 101004

1500 -

ieee -

1005 trnet 101005

1500 -

ibm -

Remote SPAN VLANs


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

Primary Secondary Type

Ports

------- --------- ----------------- -----------------------------------------Switch#

You might also like