Help modify Vlan 1 to an other ID

Post Reply
plegrand
Member
Posts: 31
Joined: 13 Mar 2017 11:19

Help modify Vlan 1 to an other ID

Post by plegrand »

Hello, i have to modify all my switches configuration to pass from vlan 1 to an other ID
actually my configuration on old LS 6224p is like that :

Code: Select all

vlan database
vlan 2-3,99
exit

interface range ethernet g(1-2)
switchport trunk allowed vlan add 2
exit
interface range ethernet g(1-2)
switchport trunk allowed vlan add 3
exit

interface range ethernet e(1-7)
switchport trunk native vlan 3
exit

interface range ethernet e(1-24),g(1-2)
switchport trunk allowed vlan add 99
exit
Is it the same configuration as the following ?

Code: Select all

--------------------------------------
vlan database                        |
vlan 1                               |
exit                                 |
--------------------------------------
vlan database
vlan 2-3,99
exit

--------------------------------------
interface range ethernet g(1-2)      |
switchport trunk native vlan 1       |
exit                                 |
--------------------------------------
interface range ethernet g(1-2)
switchport trunk allowed vlan add 2
exit
interface range ethernet g(1-2)
switchport trunk allowed vlan add 3
exit

interface range ethernet e(1-7)
switchport trunk native vlan 3
exit
--------------------------------------
interface range ethernet e(8-24)
switchport trunk native vlan 1
exit
--------------------------------------

interface range ethernet e(1-24),g(1-2)
switchport trunk allowed vlan add 99
exit
Then to plan my modification does these commands are OK ?

On OS 6250

Code: Select all

->vlan 1 enable name "Enseignants-OLD"
->vlan 4 enable name "Enseignants"

->show vlan 1 port
->vlan 4 port default ..... all ports from the result of the previous command
On LS 6224p

Code: Select all

#vlan database
#vlan 4
#exit

#interface vlan 1
#name Enseignants-OLD
#exit

#interface vlan 4
#name Enseignants
#exit


#show vlan tag 1

Vlan       Name                   Ports                Type     Authorization 
---- ----------------- --------------------------- ------------ ------------- 
 1           1           e(8-24),g(1-2),ch(1-8)       other       Required    

From the result of the previous command :

#interface range ethernet g(1-2)
#switchport trunk native vlan 4
#exit

#interface range ethernet e(8-24)
#switchport trunk native vlan 4
#exit
Thanks for your help
User avatar
frank
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 3169
Joined: 06 Jul 2004 00:18
Location: New York
Contact:

Re: Help modify Vlan 1 to an other ID

Post by frank »

Hi ,

just run a "show configuration snapshot". Save the file, edit it, change it, re-upload the file in your OmniSwitches, and check if it works the way you want.
Code Free Or Die
Post Reply

Return to “OmniStack LS 6200”