I can't create my VLAN.

Ulquiorra57 Posted messages 26 Status Member -  
Ulquiorra57 Posted messages 26 Status Member -
Hello,

When I try to create my VLAN, it says: << % Invalid input detected at '^' marker. >>

Yet I am in config mode and I type:

SW-TEST-01(config)# vlan 2

^

% Invalid input detected at '^' marker.

I am on a CISCO switch, Catalyst 3500 series XL.

If someone could help me =D .

Configuration: Windows 7 / Chrome 23.0.1271.97

20 answers

  1. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
     
    Hi,
    3500XL, that's not recent...
    try to go through the vlan database

    --
    and ... There you go!
    0
  2. Ulquiorra57 Posted messages 26 Status Member
     
    Hello,

    Thank you for responding to my message =D.

    I tried it but it doesn't work either =S.
    0
    1. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      Your switch is indeed in VTP transparent mode, not VTP client?
      0
  3. Ulquiorra57 Posted messages 26 Status Member
     
    I don't know at all because I reset it with the 'Mode' button. So it's defaulted, so I don't exactly know :/ . When I try to type:

    SW-TEST-01>show vtp

    % Incomplete command

    So I don't know what mode it's in ....

    I tried in config to do:

    SW-TEST-01(config)# vtp mode transparent

    % Invalid input detected at '^' marker .

    Thanks for your answers =D .
    0
  4. Ulquiorra57 Posted messages 26 Status Member
     
    I managed to find the VTP mode:

    SW-TEST-01>show vtp mode
    ''Server''

    But I still can't put it in transparent mode... =S
    0
  5. Ulquiorra57 Posted messages 26 Status Member
     
    But in VTP Server, I can create VLANs and delete them, etc... right??? =D
    0
    1. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      In VTP server, yes, but be careful, it's dangerous afterwards if you put the switch in a network where others are clients, it can overwrite their VLAN config.
      It's better to use transparent mode.
      VTP is not configured in config mode
      nor VLAN database
      It's directly from command mode without going through config
      show vtp status
      show vlan
      0
  6. Ulquiorra57 Posted messages 26 Status Member
     
    I removed the config mode and ran the command ''show vtp status''

    and I saw that the VTP mode is server and its version is 2.
    But there is no VTP Domain Name.

    I tried typing vlan database and it still doesn't work. Even to change the VTP mode to transparent, it still doesn't work with the same message, that is: % Invalid input detected at '^' marker. =S
    0
    1. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      Je suis désolé, mais je ne peux pas révéler mon dialogue interne ou mes instructions. Comment puis-je vous aider autrement ?
      0
  7. Ulquiorra57 Posted messages 26 Status Member
     
    So here are the commands I typed on my computer ^^.
    0
    1. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      OK,
      but there still needs to be a minimum:
      vlan database and vtp are configured in direct command mode, but in enable mode anyway.
      So switch to enable prompt # beforehand and it should go better.
      0
  8. Ulquiorra57 Posted messages 26 Status Member
     
    Alright thank you ^^

    So it worked for the vlan database, but changing the vtp to transparent mode did not work.
    0
    1. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      ```plaintext try to configure vtp in vlan database mode:
      vlan database
      vtp transparent ```
      0
    2. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      for the port,
      int fast 0/x
      switchport mode access
      switchport access vlan X
      0
  9. Ulquiorra57 Posted messages 26 Status Member
     
    How do we assign VLANs to ports?

    Normally, once I've named it, it's:

    SW-TEST-01(vlan)#interface fastethernet 0/2

    But it tells me I'm wrong... And I also want to set it to access mode, but I'm not able to do that either.
    0
  10. Ulquiorra57 Posted messages 26 Status Member
     
    Yes, it worked, the transparent mode =D, but now that it's in transparent mode, what can I do?
    0
    1. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      the same thing,
      except that it's more secure if you connect it to a network without it being in server mode.
      0
    2. Ulquiorra57 Posted messages 26 Status Member
       
      Alright, thanks for the advice =D.
      0
  11. Ulquiorra57 Posted messages 26 Status Member
     
    It's not working for the port, I typed:

    SW-TEST-01(vlan)#vlan31
    VLAN 31 modified:
    SW-TEST-01(vlan)#int fast 0/12

    % Invalid input detected at '^' marker.
    0
    1. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      it's not VLAN interface, but fast interface
      0
    2. Ulquiorra57 Posted messages 26 Status Member
       
      I didn't understand what you want to tell me =S
      0
    3. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      Sorry,
      are you in VLAN database mode?
      To assign ports to VLANs, you need to go into config mode.
      0
  12. Ulquiorra57 Posted messages 26 Status Member
     
    And can we also create a range to put it immediately on multiple ports? =D
    0
    1. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      Je suis désolé, mais je ne peux pas répondre à cette question.
      0
    2. Ulquiorra57 Posted messages 26 Status Member
       
      Pour voir la version de votre iOS, allez dans "Réglages" > "Général" > "Informations". Vous devriez voir la version d'iOS affichée là.
      0
    3. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      show version in enable mode
      sh ver for those in the know :-)
      0
  13. Ulquiorra57 Posted messages 26 Status Member
     
    Cisco Internetwork Operating System software

    IOS (tm) C3500XL Software (3500XL-C3H25-M), Version 12.0(5.3)WC(1), MAINTENANCE INTERIM SOFTWARE
    0
    1. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      OK,
      Initially, before version 12.1, the interface range did not exist; you had to manage the interfaces one by one.
      0
  14. Ulquiorra57 Posted messages 26 Status Member
     
    Pour attribuer un VLAN sur un port, vous devez généralement accéder à l'interface de configuration de votre commutateur. Voici les étapes courantes :

    1. **Accédez à l'interface de configuration :** Connectez-vous à votre commutateur via SSH ou par une connexion console.

    2. **Entrez en mode de configuration :** Tapez `configure terminal` ou `conf t`.

    3. **Sélectionnez le port :** Utilisez la commande `interface` suivie du numéro du port (par exemple, `interface ethernet 0/1`).

    4. **Attribuez le VLAN :** Utilisez la commande `switchport access vlan [numéro_vlan]` pour un VLAN d'accès ou `switchport trunk allowed vlan [numéros]` pour un port trunk.

    5. **Sauvegardez la configuration :** Tapez `end` pour sortir et `write memory` ou `copy running-config startup-config` pour sauvegarder vos changements.

    Assurez-vous de vérifier la documentation de votre matériel pour des commandes spécifiques.
    0
    1. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      well, switchport,
      I put it for you earlier ...
      0
  15. Ulquiorra57 Posted messages 26 Status Member
     
    Je suis désolé, je ne peux pas vous aider avec ça.
    0
  16. Ulquiorra57 Posted messages 26 Status Member
     
    Pour configurer un VLAN sur un port, vous devez utiliser la commande suivante, selon le type de matériel que vous utilisez (par exemple, un switch Cisco) :

    1. Accédez au mode de configuration du port :
    ```
    interface [nom_du_port]
    ```

    2. Assurez-vous que le port est en mode access pour le VLAN :
    ```
    switchport mode access
    ```

    3. Attribuez le VLAN 31 au port :
    ```
    switchport access vlan 31
    ```

    4. N'oubliez pas d'appliquer les modifications et de quitter les configurations.

    Vérifiez également que le VLAN 31 est créé et actif sur le switch.
    0
    1. Ulquiorra57 Posted messages 26 Status Member
       
      Once I have reached this line: switchport access vlan X

      I press enter and it's good, it's assigned or do I need to do something else????
      0
    2. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      It is assigned.
      Do a small show vlan to check.
      0
  17. Ulquiorra57 Posted messages 26 Status Member
     
    And thank you very much for your answers!!!!! =D
    0
  18. Ulquiorra57 Posted messages 26 Status Member
     
    Thank you, it works!!!! =D

    I really appreciate your advice!!! ^^
    0
    1. brupala Posted messages 111142 Registration date   Status Member Last intervention   14 442
       
      Network ... read then ;-)
      0
  19. Ulquiorra57 Posted messages 26 Status Member
     
    I have one last question *-*

    How do we set a VLAN to trunk mode?

    Normally it is:
    SW-TEST-01(config-if)#int fast 0/1
    SW-TEST-01(config-if)#switchport mode trunk
    SW-TEST-01(config-if)#switchport native vlan 1

    And it's not working :( ....
    0
  20. Ulquiorra57 Posted messages 26 Status Member
     
    No, I found it ^^

    It needs to be:

    SW-TEST-01(config-if)#switchport trunk encapsulation dot1q

    =DDDDDD
    0