Unsolved

This post is more than 5 years old

13 Posts

44455

July 27th, 2006 07:00

5212 Management VLAN Interface

Hi,
 
I have just received a Powerconnect 5212 and was wondering on how to change the management interface from vlan 1 to a different vlan say vlan100. Everytime I try this it would give me a message that said that user defining the vlan failed.
 
Summary of CLI commands:
 
enable
configure
int vlan 100
ip address 172.30.0.1 255.255.255.0
 
Failure message.
 
Sorry for the ambiguity because I am not at the office right now. We have a bunch of Cisco Catalyst 2950's and as you might know, this is the way you would do it on a 2950. I will give you the exact error tomorrow.
 
Also, when you configure the physical interface, the command:
 
switchport mode trunk
 
is applicable.
 
In the Cisco world, this would mean that this interface passes tagged traffic, but for this switch, does it have something to do with link aggregation? Or is it vlan trunking like with the catalysts?
 
Thanks,
Tuan

August 1st, 2006 13:00

Have you created the VLAN yet?  You might have to go into the VLAN database and create the VLAN first.  Once you do that you probably can add IP address to it but until you assign port membership to the VLAN it probably will have no affect.

For example something like this:

  • config
  • vlan database
  • vlan 100
  • exit
  • interface vlan 100
  • ip address ....
  • exit
  • .... then also configure port membership ....

So the steps are: 1) create the VLAN; 2) define an IP address; 3) add member ports.

"switchport mode trunk" is used to configure a VLAN port in "trunk" mode.  A VLAN trunk is used typically to connect two switches as apposed to VLAN access mode which is used to connect a PC to a switch.  Trunk mode in this case is not related to LAG (link aggregation).

Here is a link to a thread where I defined the modes: http://forums.us.dell.com/supportforums/board/message?board.id=pc_managed&message.id=5666&query.id=0#M5666

Cuong.

13 Posts

August 1st, 2006 15:00

Hi,
 
Vlan100 has already been created before trying to assign a management ip address to it.

August 1st, 2006 16:00

Hmm...I don't work with this switch too much but I think I do have one in the lab so I'll try it when I get back to my lab.  BTW do you have the exact error message that you saw?

Cuong.

13 Posts

August 1st, 2006 20:00

Here are the commands I issued:
 
Console#conf
Console(config)#vlan dat
Console(config-vlan)#vlan 100 name Admin100 media eth state active
Console(config-vlan)#exit
Console(config)#exit
Console#sho vlan
VLAN Type    Name             Status    Ports/Channel groups
---- ------- ---------------- --------- ----------------------------------------
  1  Static      DefaultVlan    Active Eth1/ 1 Eth1/ 2 Eth1/ 3 Eth1/ 4 Eth1/ 5
                                       Eth1/ 6 Eth1/ 7 Eth1/ 8 Eth1/ 9 Eth1/10
                                       Eth1/11 Eth1/12
 100  Static         Admin100    Active
Console#conf
Console(config)#int vlan 100
Console(config-if)#ip address 172.30.0.1 255.255.255.0
Failed to set the IP address mode as user define mode on VLAN 100
Console(config-if)#
 
################Here is my running-config:
 
!
snmp-server community private rw
snmp-server community public ro
!
!
username admin access-level 15
username admin password 7 21232f297a57a5a743894a0e4a801fc3
username guest access-level 0
username guest password 7 084e0343a0486ff05530df6c705c8bb4
enable password level 15 7 1b3231655cebb7a1f783eddf27d254ca
!
!
vlan database
 vlan 1 name DefaultVlan media ethernet state active
 vlan 100 name Admin100 media ethernet state active
!
!
interface ethernet 1/1
 switchport allowed vlan add 1 untagged
 switchport native vlan 1
!
interface ethernet 1/2
 switchport allowed vlan add 1 untagged
 switchport native vlan 1
!
interface ethernet 1/3
 switchport allowed vlan add 1 untagged
 switchport native vlan 1
!
interface ethernet 1/4
 switchport allowed vlan add 1 untagged
 switchport native vlan 1
!
interface ethernet 1/5
 switchport allowed vlan add 1 untagged
 switchport native vlan 1
!
interface ethernet 1/6
 switchport allowed vlan add 1 untagged
 switchport native vlan 1
!
interface ethernet 1/7
 switchport allowed vlan add 1 untagged
 switchport native vlan 1
!
interface ethernet 1/8
 switchport allowed vlan add 1 untagged
 switchport native vlan 1
!
interface ethernet 1/9
 switchport allowed vlan add 1 untagged
 switchport native vlan 1
!
interface ethernet 1/10
 switchport allowed vlan add 1 untagged
 switchport native vlan 1
!
interface ethernet 1/11
 switchport allowed vlan add 1 untagged
 switchport native vlan 1
!
interface ethernet 1/12
 switchport allowed vlan add 1 untagged
 switchport native vlan 1
!
interface vlan 1
 ip address 0.0.0.0 255.0.0.0
!
line console
!
line vty
!
end
 
######################## Here is some information about the switch:
Console#sho ver
Unit1
 Serial number          :TW09Y198704203570018
 Service tag            :2W2KL21
 Hardware version       :A00
 Number of ports        :12
 Main power status      :up
 Redundant power status :not present
Agent(master)
 Unit id                :1
 Loader version         :1.0.0.0
 Boot rom version       :1.0.0.5
 Operation code version :3.1.0.8
Console#

August 1st, 2006 21:00

OK I figured out your problem.  You just added the VLAN but you have not added any port to this VLAN.  So although you have created the VLAN it has no member ports.  Once you configure at least one port to be a member of this VLAN then you can add an IP address to the VLAN.  Note also that you can only define one IP address for this switch.  So once you configure an IP address on this new VLAN it will overwrite the other one.

Cuong.

August 1st, 2006 22:00

13 Posts

August 1st, 2006 22:00

Nevermind. I found 3.1.0.15.

13 Posts

August 1st, 2006 22:00

Thank you. I will try this later. Does this switch have the latest firmware version?
No Events found!

Top