SW#1 컨피그
1. 2개의 VLAN 생성 (생략가능)
SW1(config)#vlan 100
SW1(config-vlan)#name COMPUTER
SW1(config-vlan)#exit
SW1(config)#vlan 101
SW1(config-vlan)#name VOIP
SW1(config-vlan)#exit
2. 인터페이스 구성
SW1(config)#interface GigabitEthernet 0/1
SW1(config-if)#switchport mode access
SW1(config-if)#switchport access vlan 100
SW1(config-if)#switchport voice vlan 101
SW1(config-if)# spanning-tree portfast
SW1(config-if)#exit
3. 확인
SW1#show interfaces GigabitEthernet 0/1 switchport
Name: Gi0/1
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 100 (COMPUTER)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: 101 (VOIP)
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
SW1#show interfaces GigabitEthernet 0/1 trunk
Port Mode Encapsulation Status Native vlan
Gi0/1 off negotiate not-trunking 1
Port Vlans allowed on trunk
Gi0/1 100-101
Port Vlans allowed and active in management domain
Gi0/1 100-101
Port Vlans in spanning tree forwarding state and not pruned
Gi0/1 100-101
'네트워크' 카테고리의 다른 글
[네트워크] 시스코(Cisco) EEM(Embedded Event Manager) 설정 방법 (0) | 2020.09.06 |
---|---|
[네트워크] secureCRT 프로그램 설정방법 정리 (1) | 2020.09.06 |
[네트워크] 브로케이드(Brocade) 장비 컨피그 정리 (0) | 2020.09.04 |
[네트워크] 시스코(Cisco) USB로 OS 업그레이드 방법! 로그 까지 총 정리 (0) | 2020.09.04 |
[네트워크] 이더채널(Ether Channel) 표준 프로토콜 -LACP(Link Aggregation Control Protocol) 정리 -(시스코-주니퍼 LACP 연동 테스트) (0) | 2020.09.04 |
댓글