Tecnologico de Estudios Superiores de Ecatepec
Tecnologico de Estudios Superiores de Ecatepec
Tecnologico de Estudios Superiores de Ecatepec
ESTUDIOS SUPERIORES
DE ECATEPEC
Introducción:
Una VLAN (virtual LAN) es, conceptualmente, una red de área local
formada a nivel lógico. Dada esta particularidad, las VLANs proveen una
forma de separar grupos de hosts con objetivos diferentes aunque estos
se encuentren conectados al mismo switch. A su vez, en este punto, nos
permite optimizar los puertos de switch.
SW-1(config-if-range)#shu
SW-1(config-if-range)#no shu
SW-1(config-if-range)#no shutdown
SW-1(config-if-range)#shu
SW-1(config-if-range)#shutdown
SW-1(config-if-range)#exit
SW-1(config)#inter
SW-1(config)#interface fas
SW-1(config)#interface fastEthernet 0/1
SW-1(config-if)#do show vlan b
SW-1(config-if)#do show vlan brief
SW-1#cop
SW-1#copy ru
SW-1#copy running-config start
SW-1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
SW-1#
Acceso restringido
Password:
SW-1>en
SW-1>enable
Password:
SW-1#conf
SW-1#configure ter
SW-1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW-1(config)#fas
SW-1(config)#inter
SW-1(config)#interface fas
SW-1(config)#interface fastEthernet 0/1
SW-1(config-if)#no shu
SW-1(config-if)#no shutdown
SW-1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
SW-1(config-if)#
Name: Ventas
SW-2(vlan)#exit
APPLY completed.
Exiting....
SW-2#cop
SW-2#copy run
SW-2#copy running-config star
SW-2#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
SW-2#show vlan
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
SW-2(config-if-range)#exit
SW-2(config)#inter
SW-2(config)#interface ra
SW-2(config)#interface range fas
SW-2(config)#interface range fastEthernet 0/|-|0
^
% Invalid input detected at '^' marker.
SW-2(config)#sw
SW-2(config)#interface range fastEthernet 0/1-|0
^
% Invalid input detected at '^' marker.
SW-2(config)#interface range fastEthernet 0/1-10
SW-2(config-if-range)#sw
SW-2(config-if-range)#switchport po
SW-2(config-if-range)#switchport mod
SW-2(config-if-range)#switchport mode ac
SW-2(config-if-range)#switchport mode access
SW-2(config-if-range)#sw
SW-2(config-if-range)#switchport ac
SW-2(config-if-range)#switchport access v
SW-2(config-if-range)#switchport access vlan 10
SW-2(config-if-range)#exit
SW-2(config)#inter
SW-2(config)#interface fas
SW-2(config)#interface fastEthernet 0/1
SW-2(config-if)#no sh
SW-2(config-if)#no shutdown
SW-2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
SW-2(config-if)#sw
SW-2(config-if)#switchport p
SW-2(config-if)#switchport po
SW-2(config-if)#switchport port-security
SW-2(config-if)#sw
SW-2(config-if)#switchport por
SW-2(config-if)#switchport port-security max
SW-2(config-if)#switchport port-security maximum 1
SW-2(config-if)#sw
SW-2(config-if)#switchport po
SW-2(config-if)#switchport port-security vi
SW-2(config-if)#switchport port-security violation shu
SW-2(config-if)#switchport port-security violation shutdown
SW-2(config-if)#switchport port-security violation res
SW-2(config-if)#switchport port-security violation restrict
SW-2(config-if)#sw
SW-2(config-if)#switchport por
SW-2(config-if)#switchport port-security mac
SW-2(config-if)#switchport port-security mac-address 00D0.BCBD.7420
SW-2(config-if)#end
SW-2#
%SYS-5-CONFIG_I: Configured from console by console
co
SW-2#cop
SW-2#copy run
SW-2#copy running-config start
SW-2#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
SW-2#
SW-2#sh
SW-2#show por
SW-2#show port-security in
SW-2#show port-security interface fas
SW-2#show port-security interface fastEthernet 0/1
Port Security : Enabled
Port Status : Secure-up
Violation Mode : Restrict
Aging Time : 0 mins
Aging Type : Absolute
SecureStatic Address Aging : Disabled
Maximum MAC Addresses : 1
Total MAC Addresses : 1
Configured MAC Addresses : 1
Sticky MAC Addresses : 0
Last Source Address:Vlan : 0000.0000.0000:0
Security Violation Count : 0
Conclusiones:
Fuentes de Información:
https://www.mikroways.net/2010/01/18/introduccion-a-las-vlan/
Firma de revisión: