当前位置:网站首页>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 .
边栏推荐
- Dell笔记本周期性闪屏故障
- STM32开发资料链接分享
- 一行代码实现地址信息解析
- 深度学习简史(二)
- 「精致店主理人」青年创业孵化营·首期顺德场圆满结束!
- Dr selection of OSPF configuration for Huawei devices
- Deep learning environment configuration jupyter notebook
- Rainstorm effect in levels - ue5
- Return to blowing marshland -- travel notes of zhailidong, founder of duanzhitang
- golang中的atomic,以及CAS操作
猜你喜欢
深入探索编译插桩技术(四、ASM 探秘)
筑梦数字时代,城链科技战略峰会西安站顺利落幕
[Niuke classic question 01] bit operation
Dell筆記本周期性閃屏故障
[牛客] B-完全平方数
建立自己的网站(17)
[C language] dynamic address book
"Exquisite store manager" youth entrepreneurship incubation camp - the first phase of Shunde market has been successfully completed!
Return to blowing marshland -- travel notes of zhailidong, founder of duanzhitang
.class文件的字节码结构
随机推荐
筑梦数字时代,城链科技战略峰会西安站顺利落幕
Slow database query optimization
C9 colleges and universities, doctoral students make a statement of nature!
Eventbus source code analysis
Learn self 3D representation like ray tracing ego3rt
Grc: personal information protection law, personal privacy, corporate risk compliance governance
[batch dos-cmd command - summary and summary] - view or modify file attributes (attrib), view and modify file association types (Assoc, ftype)
一行代码实现地址信息解析
Dell笔记本周期性闪屏故障
golang中的Mutex原理解析
Equals() and hashcode()
资产安全问题或制约加密行业发展 风控+合规成为平台破局关键
C Primer Plus Chapter 14 (structure and other data forms)
[software reverse automation] complete collection of reverse tools
新手如何入门学习PostgreSQL?
Build your own website (17)
「精致店主理人」青年创业孵化营·首期顺德场圆满结束!
mysql: error while loading shared libraries: libtinfo. so. 5: cannot open shared object file: No such
OSPF configuration command of Huawei equipment
Segmenttree