Quantcast
Channel: VIRL
Viewing all articles
Browse latest Browse all 1811

Creating VLAN in Database (Bug? report)

$
0
0

@flok wrote:

Hi community!
I use VIRL as an initial exercise for students to show them practical l2-switching and l3-routing. The students are at the end of the semester and solved problems using a troubleshoot exercise in groups.
At this point I noticed that there is a problem with the VLANs configuration on cisco ios-switches.
I can't configure VLANs directly without linking it to a port as access VLAN. How have I solved this problem? I configured the access port with multiple VLANs (example below). To configure the VLAN independently as an interface doesn't work, because the trunk doesn’t transfer the VLAN if it isn`t in the VLAN Database.

Example for mutible VLANs:
interface GigabitEthernet0/3
description to server-2
switchport access vlan 10
switchport access vlan 30
switchport access vlan 20
switchport mode access
media-type rj45
negotiation auto
!
After execute this configuration, the VLAN on port is VLAN20. Now there are VLAN10 and VLAN30 active in VLAN Database on the switch.

If you extract the configuration, you have the following problem:
interface GigabitEthernet0/3
description to server-2
switchport access vlan 20
switchport mode access
media-type rj45
negotiation auto
!
So you can`t extract the configurations like i did it in my solution in the first example.

I searched for another way to create VLANs in the database in the initial configuration. :
!
vlan 10
!
interface vlan 30
no shutdown
!
The first entry VLAN10 was ignored and the second entry with the interface I get this Message.
*Mar 13 17:35:29.480: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan30, changed state to down
The Interface VLAN30 exist, but in VLAN Database, there is no Entry for this VLAN.
VLAN Name Status Ports


1 default active Gi0/0
10 VLAN0010 active Gi1/0
1002 fddi-default

Some detail information about the system:
Cisco IOS Software, vios_l2 Software (vios_l2-ADVENTERPRISEK9-M), Version 15.2(4.0.55)E

I think there should be a solution to execute commands after initial configuration to solve this problem.

If you need more information, or another solution, please reply to this thread.

Greetings Florian

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1811

Trending Articles