06-04-2019 02:55 AM
Hi dears
i do some exersices in packetracer
im a bit puzzeled, for example for Huawei switches there is a command to create a banch of vlans at once
like : vlan vlan batch 2 to 9 10 and etc
and a command like : trunk port allow vlan 2,5,7-20 and etc
why i can see some similar sort of command in Cisco ?
to crete a vlan at least in packet tracer i have to do it one by one repeating vlan command
and the same in true for adding vlans in to trunk port
there is no way to add required vlan in one command
and one more Huawei has a so called hybrid interface where it is possible to process different packets from different vlans for example using "untag" command it is possible to remove vlan tag from reuqired packets and etc is there any analog in Cisco ?
could some one please tell me is there any solution to this ?
Thanks
06-04-2019 03:10 AM
06-04-2019 05:14 AM
Hello,
As Mark mentioned, this is possible. You can also use a dash to specify a range:
vlan 50-60
The above command will create vlans 50 through 60 in one command.
Hope that helps!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: