본문 바로가기
네트워크

[네트워크] 시스코(Cisco) Voice VLAN 설정 명령어 정리

by 시스코킹 2020. 9. 5.
반응형

IP Phone 후면 사진

 

 

 

 

Voice VLAN 설정 테스트 구성도

 

 

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

반응형

댓글