top of page
Foto del escritorClaudio Magagnotti

Configuración de un switch L3


imag

[SW-L3] SW-L3#conf t SW-L3(config)#int f0/24 SW-L3(config-if)#no switchport SW-L3(config-if)#ip address 10.200.10.2 255.255.255.248 SW-L3(config-if)#no shutdown SW-L3(config-if)#exit

SW-L3(config)#int g0/1 SW-L3(config-if)#switchport trunk encapsulation dot1q SW-L3(config-if)#switchport mode trunk SW-L3(config-if)#exit

SW-L3(config)#int g0/2 SW-L3(config-if)#switchport trunk encapsulation dot1q SW-L3(config-if)#switchport mode trunk SW-L3(config-if)#exit

SW-L3#vlan database SW-L3(vlan)#vlan 10 name vlan10 SW-L3(vlan)#vlan 20 name vlan20 SW-L3(vlan)#vlan 30 name management SW-L3(vlan)#exit

SW-L3(config)#int vlan 10 SW-L3(config-if)#ip address 192.168.10.1 255.255.255.0 SW-L3(config-if)#exit SW-L3(config)#int vlan 20 SW-L3(config-if)#ip address 192.168.20.1 255.255.255.0 SW-L3(config-if)#exit SW-L3(config)#int vlan 30 SW-L3(config-if)#ip address 192.168.30.1 255.255.255.0 SW-L3(config-if)#exit

SW-L3(config)#vtp domain iproot.lab SW-L3(config)#vtp password 123 SW-L3(config)#vtp mode server

SW-L3(config)#ip routing SW-L3(config)#router rip SW-L3(config-router)#version 2 SW-L3(config-router)#network 10.200.10.0 SW-L3(config-router)#network 192.168.10.0 SW-L3(config-router)#network 192.168.20.0 SW-L3(config-router)#network 192.168.30.0

[R1] Router#conf t R1(config)#int f0/0 R1(config-if)#ip address 10.200.10.1 255.255.255.248 R1(config-if)#no shutdown R1(config-if)#exit

R1(config)#router rip R1(config-router)#version 2 R1(config-router)#network 10.200.10.0

[SW-01] SW-01#conf t SW-01(config)#int g1/1 SW-01(config-if)#switchport mode trunk SW-01(config-if)#exit

SW-01(config)#vtp domain iproot.lab SW-01(config)#vtp password 123 SW-01(config)#vtp mode client SW-01(config)#int vlan 30 SW-01(config-if)#ip address 192.168.30.2 255.255.255.0 SW-01(config-if)#exit SW-01(config)#ip default-gateway 192.168.30.1

[SW-02] SW-02#conf t SW-02(config)#int g1/1 SW-02(config-if)#switchport mode trunk SW-02(config-if)#exit

SW-02(config)#vtp domain iproot.lab SW-02(config)#vtp password 123 SW-02(config)#vtp mode client

SW-02(config)#int vlan 30 SW-02(config-if)#ip address 192.168.30.3 255.255.255.0 SW-02(config-if)#exit SW-02(config)#ip default-gateway 192.168.30.1

Contacto: iproot@outlook.com

Sldos!

0 visualizaciones

Entradas recientes

Ver todo

BackUp your network devices with Python!

I’ve been busy working that’s why the deelay, but Im here again! I’ve started to learn python some months ago… I think it’s a really...

Comentários

Avaliado com 0 de 5 estrelas.
Ainda sem avaliações

Adicione uma avaliação
bottom of page