当前位置:网站首页>Lldp compatible CDP function configuration
Lldp compatible CDP function configuration
2022-07-07 01:08:00 【Weisi xmws】
Configuration requirements
Device A Through interface GigabitEthernet1/0/1 and GigabitEthernet1/0/2 Respectively with two Cisco Of IP Telephone connection , These two IP Sent by phone Tagged Voice data .
stay Device A On the configuration VLAN ID by 2 Of Voice VLAN, By means of Device A On the configuration LLDP compatible CDP Function makes IP The call is complete Voice VLAN Automatic configuration of , So that the voice data flow is limited to Voice VLAN Inside , Separate from other data streams .
Networking diagram
chart 1-6 LLDP compatible CDP Function Configuration Networking diagram
Configuration steps
(1) stay Device A On the configuration Voice VLAN
# establish VLAN 2.
<DeviceA> system-view
[DeviceA] vlan 2
[DeviceA-vlan2] quit
# Interface GigabitEthernet1/0/1 and GigabitEthernet1/0/2 Configure to Trunk port , And open Voice VLAN function .
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] port link-type trunk
[DeviceA-GigabitEthernet1/0/1] voice-vlan 2 enable
[DeviceA-GigabitEthernet1/0/1] quit
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] port link-type trunk
[DeviceA-GigabitEthernet1/0/2] voice-vlan 2 enable
[DeviceA-GigabitEthernet1/0/2] qui
(2) stay Device A On the configuration LLDP compatible CDP function
# Global on LLDP Functions and LLDP compatible CDP function .
[DeviceA] lldp global enable
[DeviceA] lldp compliance cdp
# At the interface GigabitEthernet1/0/1 and GigabitEthernet1/0/2 On each side of the screen LLDP function ( This step can be omitted ,LLDP The function is enabled by default on the interface ), To configure LLDP The working mode is TxRx, And configuration LLDP compatible CDP The working mode of the function is TxRx.
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] lldp enable
[DeviceA-GigabitEthernet1/0/1] lldp admin-status txrx
[DeviceA-GigabitEthernet1/0/1] lldp compliance admin-status cdp txrx
[DeviceA-GigabitEthernet1/0/1] quit
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] lldp enable
[DeviceA-GigabitEthernet1/0/2] lldp admin-status txrx
[DeviceA-GigabitEthernet1/0/2] lldp compliance admin-status cdp txrx
[DeviceA-GigabitEthernet1/0/2] quit
# Show Device A Neighbor information on .
[DeviceA] display lldp neighbor-information
CDP neighbor-information of port 1[GigabitEthernet1/0/1]:
LLDP agent nearest-bridge:
CDP neighbor index : 1
Chassis ID : SEP00141CBCDBFE
Port ID : Port 1
CDP neighbor-information of port 2[GigabitEthernet1/0/2]:
LLDP agent nearest-bridge:
CDP neighbor index : 2
Chassis ID : SEP00141CBCDBFF
Port ID : Port
thus it can be seen ,Device A It has been found that they are respectively connected to the interface GigabitEthernet1/0/1 and GigabitEthernet1/0/2 Upper IP Telephone , And get the relevant equipment information .
边栏推荐
- 【JokerのZYNQ7020】AXI_ EMC。
- Segmenttree
- Interface (interface related meaning, different abstract classes, interface callback)
- Link sharing of STM32 development materials
- [Niuke classic question 01] bit operation
- Slow database query optimization
- Deep understanding of distributed cache design
- 【批處理DOS-CMD命令-匯總和小結】-字符串搜索、查找、篩選命令(find、findstr),Find和findstr的區別和辨析
- Set (generic & list & Set & custom sort)
- 重上吹麻滩——段芝堂创始人翟立冬游记
猜你喜欢
Dell筆記本周期性閃屏故障
pytorch之数据类型tensor
Windows installation mysql8 (5 minutes)
Deep learning environment configuration jupyter notebook
boot - prometheus-push gateway 使用
ESP Arduino (IV) PWM waveform control output
Part 7: STM32 serial communication programming
Return to blowing marshland -- travel notes of zhailidong, founder of duanzhitang
[牛客] B-完全平方数
"Exquisite store manager" youth entrepreneurship incubation camp - the first phase of Shunde market has been successfully completed!
随机推荐
[software reverse - solve flag] memory acquisition, inverse transformation operation, linear transformation, constraint solving
from .cv2 import * ImportError: libGL.so.1: cannot open shared object file: No such file or direc
Chenglian premium products has completed the first step to enter the international capital market by taking shares in halber international
[牛客] B-完全平方数
再聊聊我常用的15个数据源网站
Deep learning framework TF installation
筑梦数字时代,城链科技战略峰会西安站顺利落幕
Dell筆記本周期性閃屏故障
省市区三级坐标边界数据csv转JSON
Explain in detail the matrix normalization function normalize() of OpenCV [norm or value range of the scoped matrix (normalization)], and attach norm_ Example code in the case of minmax
Dell Notebook Periodic Flash Screen Fault
Mongodb client operation (mongorepository)
Atomic in golang and CAS operations
Tencent cloud webshell experience
[Niuke classic question 01] bit operation
做微服务研发工程师的一年来的总结
Equals() and hashcode()
Segmenttree
【批處理DOS-CMD命令-匯總和小結】-字符串搜索、查找、篩選命令(find、findstr),Find和findstr的區別和辨析
pyflink的安装和测试