ㅇ VLAN 생성
- VLAN_100, VLAN_200 이란 vlan 그룹을 생성
format: set vlans <vlan-name> vlan-id <vlan #>
root# set vlans VLAN_100 vlan-id 100
root# set vlans VLAN_200 vlan-id 200
ㅇ Interface에 VLAN id tagging
format: set vlans <vlan-name> interface <ifname>
root# set vlans VLAN_100 interface ge-0/0/0
ㅇ VLAN 설정 확인
format: show vlans
root# show vlans
VLAN_100 {
vlan-id 100;
interface {
ge-0/0/0.0;
ge-0/0/1.0;
ge-0/0/2.0;
ge-0/0/3.0;
ge-0/0/4.0;
ge-0/0/5.0;
ge-0/0/6.0;
ge-0/0/7.0;
}
}
VLAN_200 {
vlan-id 200;
interface {
ge-0/0/16.0;
ge-0/0/17.0;
ge-0/0/18.0;
ge-0/0/19.0;
ge-0/0/20.0;
ge-0/0/21.0;
ge-0/0/22.0;
ge-0/0/23.0;
}
}