Configuración Basica Vlan

You might also like

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

*************SW-A********************

enable
configure terminal
hostname SW-A
vlan 10
name Ingenieria
exit
Interface range f0/5-12
switchport mode access
switchport access vlan 10
exit
vlan 20
name Contabilidad
exit
Interface range f0/13-18
switchport mode access
switchport access vlan 20
exit
vlan 30
name IT
exit
Interface range f0/19-24
switchport mode access
switchport access vlan 30
exit
switchport mode trunk
*************SW-B********************
enable
configure terminal
hostname SW-B
vlan 10
name Ingenieria
exit
Interface range f0/5-12
switchport mode access
switchport access vlan 10
exit
vlan 20
name Contabilidad
exit
Interface range f0/13-18
switchport mode access
switchport access vlan 20
exit
vlan 30
name IT
exit
Interface range f0/19-24
switchport mode access
switchport access vlan 30
exit
switchport mode trunk
*********SW-Central*****************
enable
configure terminal
hostname SW-Central
interface g0/1
switchport mode trunk
exit
interface g0/2
switchport mode trunk
exit
vlan 10
exit
vlan 20
exit
vlan 30
exit
interface g0/1
switchport trunk allowed vlan all
exit
interface g0/2
switchport trunk allowed vlan all
exit
interface f0/1
switchport mode trunk
switchport trunk allowed vlan all

*******************************************
***************R_COVAO*********************
enable
configure terminal
hostname R_COVAO
interface g0/0/0
ip address 172.16.30.1 255.255.255.0
no shutdown
exit
interface g0/0/1.10
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.0
no shutdown
exit
interface g0/0/1.20
encapsulation dot1Q 20
ip address 192.168.20.1 255.255.255.0
no shutdown
exit
interface g0/0/1.30
encapsulation dot1Q 30
ip address 192.168.30.1 255.255.255.0
no shutdown
exit
interface g0/0/1
no shutdown
**********************************************

You might also like