Port VLAN assignment.

Unanswered Question
Sep 30th, 2010

I wondered how is possible to have a port "unassigned".

For example, suppose fa0/1 belongs to VLAN 10.

If I delete VLAN 10, is fa0/1 unassigned?

Or, as in running-config there is, under fa0/1, switchport access vlan 10, I have to command no switchport access vlan 10 too.

Thanks.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
glen.grant Thu, 09/30/2010 - 05:46

   You cannot have a port as unassigned.  The default is vlan 1 for a port  if you set the port back to factory defaults .

Jon Marshall Thu, 09/30/2010 - 09:55

Just to add to Glen's post. After you remove the "switchport access vlan 10" from the port run the command "sh vlan brief" on the switch. This will show you the vlans on the switch and which ports are allocated into which vlan. You should then see, as Glen said, that port allocated to vlan 1.

Jon

speculor_cisco Thu, 09/30/2010 - 11:06

I was reading the argument VMPS from the 2960 Software Configuration Guide, when I saw

the term "unassigned" about a port. So I asked for this term.

But now I have understood that the concept is relative to this configuration command:

switchport access vlan dynamic

When I configure a port with this command, the port should be "unassigned", before the

assignment done by the server.

Is it correct?

Jon Marshall Sat, 10/02/2010 - 08:52

speculor_cisco wrote:

I was reading the argument VMPS from the 2960 Software Configuration Guide, when I saw

the term "unassigned" about a port. So I asked for this term.

But now I have understood that the concept is relative to this configuration command:

switchport access vlan dynamic

When I configure a port with this command, the port should be "unassigned", before the

assignment done by the server.

Is it correct?

Yes, in the context of VMPS an unassigned port has not be placed into a vlan yet.

Jon

yembasheerahamed Tue, 10/05/2010 - 22:03

Hello,

        The interface status is default ie Vlan 1.  In globel mode apply ‘default interface fastEthernet 0/1’ . Then the interface set to default configuration.

For example :

Router#sh run int f 4/10

Building configuration...

Current configuration : 122 bytes

!

interface FastEthernet4/10

switchport

switchport access vlan 10

switchport mode access

no ip address

shutdown

end

Router#config t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#default interface fastEthernet 4/10

Interface FastEthernet4/10 set to default configuration

Router(config)#end

Router#sh run int f 4/10

Building configuration...

Current configuration : 59 bytes

!

interface FastEthernet4/10

no ip address

shutdown

end

Router#

MB.Ahamed

Dan-Ciprian Cicioiu Tue, 10/05/2010 - 22:36

Hello ,

i think that you are looking at a "show ip interface brief", and you see an unassigned , but that is the IP address that is unassigned

Dan

Actions

This Discussion