Implementar VLAN 30 y comprobar conectividad. El proceso es el mismo para VLAN 40, excepto las interfaces Trunk que ya permiten el paso de VLAN 40:
1.- Switch Access interfaces Fa0/1 y Fa0/2 Allowed vlans 1,10,20,30,40.
2.- Core1 interfaces Trunk - Gig1/0/1, Gig1/0/2, Gig1/0/14, Gig1/0/15 - Permitir vlans 1,10,20,30,40
3.- Core2 interfaces Gig1/0/2, Gig1/0/14 , Gig1/0/15 Permitir vlans 1,10,20,30,40
4.- Router 2 crear vlan 30 (ROAS) - interface gigabitEthernet 0/1.30 y asignar direccionamiento IP.
5.- Switch SW-VA interface Fa0/1 Allowed vlans 1,10,20,30,40 y
switchport access vlan 30 interface fastEthernet 0/3
6.- Router 1 R1-NV crear vlan 30 - interface gigabitEthernet 0/0.30 y asignar direccionameinteo IP.
7.- Comprobar conectividad.
Access#sh inter
Access#sh interfaces tr
Access#sh interfaces trunk
Port Mode Encapsulation Status Native vlan
Fa0/1 on 802.1q trunking 1
Fa0/2 on 802.1q trunking 1
Port Vlans allowed on trunk
Fa0/1 1,10,20
Fa0/2 1,10,20
Port Vlans allowed and active in management domain
Fa0/1 1,10,20
Fa0/2 1,10,20
Port Vlans in spanning tree forwarding state and not pruned
Fa0/1 1,10,20
Fa0/2 none
Access#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Access(config)#inter
Access(config)#interface range fa
Access(config)#interface range fastEthernet 0/1-2
Access(config-if-range)#sw
Access(config-if-range)#switchport trunk allo
Access(config-if-range)#switchport trunk allowed vlan 1,10,20,30,40
Access(config-if-range)#^Z
Access#
%SYS-5-CONFIG_I: Configured from console by console
Access#wri
Building configuration...
[OK]
Access#sh inter
Access#sh interfaces tr
Access#sh interfaces trunk
Port Mode Encapsulation Status Native vlan
Fa0/1 on 802.1q trunking 1
Fa0/2 on 802.1q trunking 1
Port Vlans allowed on trunk
Fa0/1 1,10,20,30,40
Fa0/2 1,10,20,30,40
Port Vlans allowed and active in management domain
Fa0/1 1,10,20,30,40
Fa0/2 1,10,20,30,40
Port Vlans in spanning tree forwarding state and not pruned
Fa0/1 none
Fa0/2 none
Access#wri
Building configuration...
[OK]
Access#
Core1#sh interfaces trunk
Port Mode Encapsulation Status Native vlan
Gig1/0/1 on 802.1q trunking 1
Gig1/0/2 on 802.1q trunking 1
Gig1/0/14 on 802.1q trunking 1
Gig1/0/15 on 802.1q trunking 1
Port Vlans allowed on trunk
Gig1/0/1 1,10,20
Gig1/0/2 1,10,20
Gig1/0/14 1,10,20
Gig1/0/15 1,10,20
Port Vlans allowed and active in management domain
Gig1/0/1 1,10,20
Gig1/0/2 1,10,20
Gig1/0/14 1,10,20
Gig1/0/15 1,10,20
Port Vlans in spanning tree forwarding state and not pruned
Gig1/0/1 1,10,20
Gig1/0/2 1,10,20
Gig1/0/14 1,10,20
Gig1/0/15 1,10,20
Core1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Core1(config)#interfaces range gi
Core1(config)#inter
Core1(config)#interface range
Core1(config)#interface range g
Core1(config)#interface range gigabitEthernet 1/0/1-2
Core1(config-if-range)#sw
Core1(config-if-range)#switchport tr
Core1(config-if-range)#switchport trunk all
Core1(config-if-range)#switchport trunk allowed vlan 1,10,20,30,40
Core1(config-if-range)#exit
Core1(config)#interface range gigabitEthernet 1/0/14-15
Core1(config-if-range)#switchport trunk allowed vlan 1,10,20,30,40
Core1(config-if-range)#^Z
Core1#
%SYS-5-CONFIG_I: Configured from console by console
Core1#wri
Building configuration...
Compressed configuration from 7383 bytes to 3601 bytes[OK]
[OK]
Core1#sh inter
Core1#sh interfaces tr
Core1#sh interfaces trunk
Port Mode Encapsulation Status Native vlan
Gig1/0/1 on 802.1q trunking 1
Gig1/0/2 on 802.1q trunking 1
Gig1/0/14 on 802.1q trunking 1
Gig1/0/15 on 802.1q trunking 1
Port Vlans allowed on trunk
Gig1/0/1 1,10,20,30,40
Gig1/0/2 1,10,20,30,40
Gig1/0/14 1,10,20,30,40
Gig1/0/15 1,10,20,30,40
Port Vlans allowed and active in management domain
Gig1/0/1 1,10,20,30,40
Gig1/0/2 1,10,20,30,40
Gig1/0/14 1,10,20,30,40
Gig1/0/15 1,10,20,30,40
Port Vlans in spanning tree forwarding state and not pruned
Gig1/0/1 none
Gig1/0/2 none
Gig1/0/14 none
Gig1/0/15 none
Core1#
Core2#sh interfaces trunk
Port Mode Encapsulation Status Native vlan
Gig1/0/2 on 802.1q trunking 1
Gig1/0/14 on 802.1q trunking 1
Gig1/0/15 on 802.1q trunking 1
Port Vlans allowed on trunk
Gig1/0/2 1,10,20
Gig1/0/14 1,10,20
Gig1/0/15 1,10,20
Port Vlans allowed and active in management domain
Gig1/0/2 1,10,20
Gig1/0/14 1,10,20
Gig1/0/15 1,10,20
Port Vlans in spanning tree forwarding state and not pruned
Gig1/0/2 1,10,20
Gig1/0/14 1,10,20
Gig1/0/15 none
Core2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Core2(config)#inter
Core2(config)#interface g
Core2(config)#interface gigabitEthernet 1/0/2
Core2(config-if)#sw
Core2(config-if)#switchport tr
Core2(config-if)#switchport trunk all
Core2(config-if)#switchport trunk allowed vlan 1,10,20,30,40
Core2(config-if)#^Z
Core2#
%SYS-5-CONFIG_I: Configured from console by console
Core2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Core2(config)#inter
Core2(config)#interface g
Core2(config)#interface range gigabitEthernet 1/0/14-15
Core2(config-if-range)#sw
Core2(config-if-range)#switchport tr
Core2(config-if-range)#switchport trunk all
Core2(config-if-range)#switchport trunk allowed vlan 1,10,20,30,40
Core2(config-if-range)#^Z
Core2#
%SYS-5-CONFIG_I: Configured from console by console
Core2#wri
Building configuration...
Compressed configuration from 7383 bytes to 3601 bytes[OK]
[OK]
Core2#sh inter
Core2#sh interfaces tr
Core2#sh interfaces trunk
Port Mode Encapsulation Status Native vlan
Gig1/0/2 on 802.1q trunking 1
Gig1/0/14 on 802.1q trunking 1
Gig1/0/15 on 802.1q trunking 1
Port Vlans allowed on trunk
Gig1/0/2 1,10,20,30,40
Gig1/0/14 1,10,20,30,40
Gig1/0/15 1,10,20,30,40
Port Vlans allowed and active in management domain
Gig1/0/2 1,10,20,30,40
Gig1/0/14 1,10,20,30,40
Gig1/0/15 1,10,20,30,40
Port Vlans in spanning tree forwarding state and not pruned
Gig1/0/2 1,10,20,30,40
Gig1/0/14 none
Gig1/0/15 none
Core2#
R2-VA#sh ip interface b
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 10.16.7.6 YES manual up up
GigabitEthernet0/1 unassigned YES unset up up
GigabitEthernet0/1.10 10.16.8.1 YES manual up up
GigabitEthernet0/1.20 10.16.10.1 YES manual up up
GigabitEthernet0/2 unassigned YES unset administratively down down
FastEthernet0/0/0 unassigned YES unset up down
FastEthernet0/0/1 unassigned YES unset up down
FastEthernet0/0/2 unassigned YES unset up down
FastEthernet0/0/3 unassigned YES unset up down
Loopback0 2.2.2.2 YES manual up up
Vlan1 unassigned YES unset administratively down down
R2-VA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2-VA(config)#inter
R2-VA(config)#interface g
R2-VA(config)#interface gigabitEthernet 0/1.30
R2-VA(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1.30, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.30, changed state to up
R2-VA(config-subif)#ip add
R2-VA(config-subif)#ip address 10.16.12.1 255.255.254.0
% Configuring IP routing on a LAN subinterface is only allowed if that
subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.
R2-VA(config-subif)#encapsulation dot1Q
% Incomplete command.
R2-VA(config-subif)#encapsulation dot1Q 30
R2-VA(config-subif)#ip address 10.16.12.1 255.255.254.0
R2-VA(config-subif)#exit
R2-VA(config)#
R2-VA#wri
Building configuration...
[OK]
R2-VA#sh ip inter
R2-VA#sh ip interface b
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 10.16.7.6 YES manual up up
GigabitEthernet0/1 unassigned YES unset up up
GigabitEthernet0/1.10 10.16.8.1 YES manual up up
GigabitEthernet0/1.20 10.16.10.1 YES manual up up
GigabitEthernet0/1.30 10.16.12.1 YES manual up up
GigabitEthernet0/2 unassigned YES unset administratively down down
FastEthernet0/0/0 unassigned YES unset up down
FastEthernet0/0/1 unassigned YES unset up down
FastEthernet0/0/2 unassigned YES unset up down
FastEthernet0/0/3 unassigned YES unset up down
Loopback0 2.2.2.2 YES manual up up
Vlan1 unassigned YES unset administratively down down
R2-VA#
SW-VA#sh interfaces trunk
Port Mode Encapsulation Status Native vlan
Fa0/1 on 802.1q trunking 1
Port Vlans allowed on trunk
Fa0/1 1,10,20,30,40
Port Vlans allowed and active in management domain
Fa0/1 1,10,20,30,40
Port Vlans in spanning tree forwarding state and not pruned
Fa0/1 1,10,20,30,40
SW-VA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW-VA(config)#inter
SW-VA(config)#interface fa
SW-VA(config)#interface fastEthernet 0/3
SW-VA(config-if)#sw
SW-VA(config-if)#switchport mode
SW-VA(config-if)#switchport mode acc
SW-VA(config-if)#switchport mode access
SW-VA(config-if)#sw
SW-VA(config-if)#switchport ac
SW-VA(config-if)#switchport access vlan 30
SW-VA(config-if)#^Z
SW-VA#
%SYS-5-CONFIG_I: Configured from console by console
SW-VA#wri
Building configuration...
[OK]
SW-VA#
R1-NV#sh ip interface b
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset up up
GigabitEthernet0/0.10 10.16.0.1 YES manual up up
GigabitEthernet0/0.20 10.16.2.1 YES manual up up
GigabitEthernet0/1 10.16.7.5 YES manual up up
GigabitEthernet0/2 193.37.255.2 YES DHCP up up
FastEthernet0/0/0 unassigned YES unset up down
FastEthernet0/0/1 unassigned YES unset up down
FastEthernet0/0/2 unassigned YES unset up down
FastEthernet0/0/3 unassigned YES unset up down
Serial0/1/0 unassigned YES unset down down
Serial0/1/1 unassigned YES unset down down
Loopback0 1.1.1.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
R1-NV#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1-NV(config)#inter
R1-NV(config)#interface g
R1-NV(config)#interface gigabitEthernet 0/0.30
R1-NV(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0.30, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0.30, changed state to up
R1-NV(config-subif)#ip add
R1-NV(config-subif)#ip address 10.16.4.1 255.255.254.0
% Configuring IP routing on a LAN subinterface is only allowed if that
subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.
R1-NV(config-subif)#encap
R1-NV(config-subif)#encapsulation do
R1-NV(config-subif)#encapsulation dot1Q 30
R1-NV(config-subif)#ip address 10.16.4.1 255.255.254.0
R1-NV(config-subif)#^Z
R1-NV#
%SYS-5-CONFIG_I: Configured from console by console
R1-NV#wri
Building configuration...
[OK]
R1-NV#
R1-NV#sh ip interface b
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset up up
GigabitEthernet0/0.10 10.16.0.1 YES manual up up
GigabitEthernet0/0.20 10.16.2.1 YES manual up up
GigabitEthernet0/0.30 10.16.4.1 YES manual up up
GigabitEthernet0/1 10.16.7.5 YES manual up up
GigabitEthernet0/2 193.37.255.2 YES DHCP up up
FastEthernet0/0/0 unassigned YES unset up down
FastEthernet0/0/1 unassigned YES unset up down
FastEthernet0/0/2 unassigned YES unset up down
FastEthernet0/0/3 unassigned YES unset up down
Serial0/1/0 unassigned YES unset down down
Serial0/1/1 unassigned YES unset down down
Loopback0 1.1.1.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
R1-NV#
No hay comentarios:
Publicar un comentario