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
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
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
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