티스토리 뷰

인프라

한드림넷 SG2452G VLAN 설정

아이티스 2024. 7. 30. 12:29
반응형


1. VLAN 생성

SG2452G>en
SG2452G#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SG2452G(config)#vlan database
SG2452G(config-vlan)#vlan 10 bridge 1
SG2452G(config-vlan)#end

 

2. 스위치 포트에 VLAN 설정 (Access Mode)

SG2452G>en
SG2452G#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SG2452G(config)#interface range ge1-8  < 1~ 8번 포트 선택)
% ge1-8 Selected
SG2452G(config-if-range)#switchport access vlan 10
% ge18-22 Selected
SG2452G(config-if-range)#end

 

 

3. Trunk VLAN 설정


SG2452G#en
SG2452G#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SG2452G(config)#interface range ge10
% ge10 Selected
SG2452G(config-if-range)#switchport trunk allowed 10

 

4. .VLAN 제거

SG2452G#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SG2452G(config)#vlan database
SG2452G(config-vlan)#no vlan 7 bridge 1
SG2452G(config-vlan)#end
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/09   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
글 보관함