I can't create my VLAN.
Ulquiorra57
Posted messages
26
Status
Member
-
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
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
-
-
Hello,
Thank you for responding to my message =D.
I tried it but it doesn't work either =S. -
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 . -
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 -
But in VTP Server, I can create VLANs and delete them, etc... right??? =D
-
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
-
-
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 -
-
Alright thank you ^^
So it worked for the vlan database, but changing the vtp to transparent mode did not work. -
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. -
Yes, it worked, the transparent mode =D, but now that it's in transparent mode, what can I do?
-
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. -
And can we also create a range to put it immediately on multiple ports? =D
-
Cisco Internetwork Operating System software
IOS (tm) C3500XL Software (3500XL-C3H25-M), Version 12.0(5.3)WC(1), MAINTENANCE INTERIM SOFTWARE -
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. -
-
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. -
-
Thank you, it works!!!! =D
I really appreciate your advice!!! ^^ -
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 :( .... -
No, I found it ^^
It needs to be:
SW-TEST-01(config-if)#switchport trunk encapsulation dot1q
=DDDDDD