Monday, November 14, 2011

Brocade (Foundry): Error - invalid virtual ethernet interface number.

I have run into a nuisance on occasion on a layer 3 brocade switch, that when I want to go into the VE interface, I cant. Here is what I mean:

BR-telnet@DC_CORE_1(config-vlan-10)#int ve 10
Error - invalid virtual ethernet interface number.

As you can see above, when I try to go into the virtual ethernet interface 10, I get an error saying its invalid. Well, the reason is that you have to go into the vlan first and put a ethernet port in the vlan to make it "appear", if you will. Until you put an interface in the vlan, you will not be able to go into the VE interface. See below example.

BR-telnet@DC_CORE_1(config)#vlan 10
BR-telnet@DC_CORE_1(config-vlan-10)#tagged eth 1/1
Added tagged port(s) ethe 1/1 to port-vlan 10.
BR-telnet@DC_CORE_1(config-vlan-10)#router-interface ve 10
BR-telnet@DC_CORE_1(config-vlan-10)#int ve 10
BR-telnet@DC_CORE_1(config-vif-10)#

I run into this a lot, and I tend to forget I have to have a port in the vlan first. I cant go in and do VRRP or put an IP address on the virtual ethernet interface until I get a port in that vlan. Just a thought for today.

8 comments:

  1. Thanks for the tip. I fought this for 30 min. before deciding to search for a solution.

    ReplyDelete
  2. Thanks for the post! Do you know what controls the numbers you can use? meaning 23 is valid but 3123 is not valid.

    ReplyDelete
  3. Someone posted a very informative post about 64 vlans, but I accidentally removed it. If you could repost that info, Im sure we would all be grateful.

    ReplyDelete
    Replies
    1. I found the post, here is what someone stated:
      "you have to increase the default past 64 vlans. it's for memory usage."
      Whoever posted this, thank you.

      Delete
    2. that was me, anonymous :)

      Increasing the number of VLANs you can configure
      NOTE: Although you can specify up to 4095 VLANs, you can configure only 4094 VLANs. VLAN ID 4094 is reserved for use by the Single Spanning Tree feature.
      To increase the maximum number of VLANs you can configure, enter commands such as the following at the global CONFIG level of the CLI.
      TurboIron(config)# system-max vlan 2048
      TurboIron(config)# write memory
      TurboIron(config)# end
      TurboIron# reload

      Syntax:
      system-max vlan
      The parameter indicates the maximum number of VLANs. The range of valid values depends on the device you are configuring. Refer to Table 67.
      Increasing the number of virtual routing interfaces you can configure
      To increase the maximum number of virtual routing interfaces you can configure, enter commands such as the following at the global CONFIG level of the CLI.
      TurboIron(config)# system-max virtual-interface 512
      TurboIron(config)# write memory
      TurboIron(config)# end
      TurboIron# reload

      Syntax:
      system-max virtual-interface
      The parameter indicates the maximum number of virtual routing interfaces. The range of valid values depends on the device you are configuring. Refer to Table 67.

      http://www.brocade.com/downloads/documents/html_product_manuals/TI24X_07400_CFG/wwhelp/wwhimpl/common/html/wwhelp.htm#context=53_1002502_02_TI24X_Config_v07400_HTML&file=FI_VLANs.20.08.html

      Delete
    3. Thanks for posting this again. This is helpful to all of us. I appreciate it.

      Delete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. This was very useful. Thank you!!!

    ReplyDelete

Your comment will be reviewed for approval. Thank you for submitting your comments.