Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
interface fastethernet1
switchport trunk allowed vlan add 204
switchport trunk native vlan 214
exit
…
<Enable_CDP ua=«na»>No</Enable_CDP>
<Enable_LLDP-MED ua=«na»>No</Enable_LLDP-MED>
…
После полной инициализации конфига, телефон переведёт порт компьютера в 204 VLAN
Zone6Dev-SF300-24P(config-if)#switchport
access vlan unaware port
customer The port is connected to customer equipment
default-vlan default vlan
forbidden forbidden
general Configure switchport in general mode
mode port mode
protected-port isolate layer 2 traffic from other protected ports
trunk vlan aware port
Но не везде циски живут в сети
Core-10G-1Box-5Floor# sh lldp neighbors interface ethernet 1/3 detail
Chassis id: 0018.8b99.e06d
Port id: g3
Local Port id: Eth1/3
Port Description: not advertised
System Name: not advertised
System Description: not advertised
Time remaining: 110 seconds
System Capabilities:
Enabled Capabilities:
Management Address:
Vlan ID: 0
Total entries displayed: 1
Core-10G-1Box-5Floor# sh lldp neighbors interface ethernet 1/3 system-detail
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID Local Intf Chassis ID Port ID Hold-time Capability
- Eth1/3 0018.8b99.e06d g3 120
Dell3448_1Box_5Floor_21# sh lldp neighbors
Port Device ID Port ID System Name Capabilities
------- ----------------- ----------------- ------------------- ------------
51 a4:93:4c:80:c7:aa Eth1/3 436f72652d3130472d3 R
1426f782d35466c6f6f
7200
Dell3448_1Box_5Floor_21# sh lldp neighbors ethernet
PORT IEEE 802.3 Ethernet port
Dell3448_1Box_5Floor_21# sh lldp neighbors ethernet g3
Device ID: a4:93:4c:80:c7:aa
Port ID: Eth1/3
Capabilities: R
System Name: 436f72652d3130472d31426f782d35466c6f6f7200
System description: 436973636f204e65787573204f7065726174696e672053797374656d20284e582d4f532920536f6674776172650a54414320737570706f72743a20687474703a2f2f7777772e636973636f2e636f6d2f7461630a436f707972696768742028632920323030322d323058582c20436973636f2053797374656d732c20496e632e20416c6c207269676874732072657365727665642e
Port description: 446f776e6c696e6b5f746f5f31302e362e3230302e323100
Management Address: 10.6.200.100
Быстрое развертывание телефонной сети на Asterisk+Cisco