cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
807
Views
5
Helpful
7
Replies

Could not assign vlan on EHWIC-D-8ESG

miaozhixu
Level 1
Level 1

Platform Cisco 1941, Interface Card EHWIC-D-8ESG

  • int vlan 2
  • ip address 192.168.2.1 255.255.255.0
  • no shut

After these commands issued, I immediately configure the interface on EHWIC-D-8ESG,using the following commands.

  • int G 0/1/0
  • switchport access vlan 2

But, IOS replied that Could not found the access vlan, creating vlan 2.

And, show ip int bri shows that the vlan 2 is shutdown.

Any help will be appreciated.

2 Accepted Solutions

Accepted Solutions

hkkalra
Level 1
Level 1

Hi,

 

Could you please post the output of "show vlan brief " or " show vlan-switch brief ". Did you create a Layer 2 interface. Please issue the command " vlan 2 " under config mode as that would create a Layer 2 vlan in the vlan database.

 

conf t

vlan 2

exit

 

Regards 

HK

View solution in original post

lohit prasad
Level 1
Level 1

Hi Friend,

Debugging :- 

 

1) when interface vlan is showing shutdown then check if physical interface to which acces vlan is configured is up or not.

 

  • int G 0/1/0  should be up state. 

 

now do no shut on interface vlan and check. 

 

 

View solution in original post

7 Replies 7

hkkalra
Level 1
Level 1

Hi,

 

Could you please post the output of "show vlan brief " or " show vlan-switch brief ". Did you create a Layer 2 interface. Please issue the command " vlan 2 " under config mode as that would create a Layer 2 vlan in the vlan database.

 

conf t

vlan 2

exit

 

Regards 

HK

To define a VLAN, not only use interface vlan command to configure it, but also need a vlan command to create it first?

lohit prasad
Level 1
Level 1

Hi Friend,

Debugging :- 

 

1) when interface vlan is showing shutdown then check if physical interface to which acces vlan is configured is up or not.

 

  • int G 0/1/0  should be up state. 

 

now do no shut on interface vlan and check. 

 

 

I just know that. I thought that vlan and ethernet interfaces are independent.

Vlan depends upon your port status otherwise traffic will not be allowed.

yes

Yes, when the port status changed, it also change the vlan status, but it has a 2-3 seconds delay.

this message comes, when a vlan does not exit in database.

Review Cisco Networking products for a $25 gift card