Configuration Examples For Link Layer Discovery Protocol In Multivendor Networks - Cisco ASR 920 Series Configuration Manual Ethernet Router

Hide thumbs Also See for ASR 920 Series:
Table of Contents

Advertisement

Configuration Examples for Link Layer Discovery Protocol in Multivendor Networks

Configuration Examples for Link Layer Discovery Protocol in
Multivendor Networks
Example Configuring LLDP on Two Devices
The following example shows how to configure LLDP timer, hold time, and TLVs on two devices in a network.
In each case we assume that the Ethernet interfaces being configured are in the UP state.
! Configure LLDP on Device 1 with hold time, timer, and TLV options.
Device1> enable
Device1# configure terminal
Device1(config)# lldp run
Device1(config)# lldp holdtime 150
Device1(config)# lldp timer 15
Device1(config)# lldp tlv-select port-vlan
Device1(config)# lldp tlv-select mac-phy-cfg
Device1(config)# interface ethernet 0/0
Device1(config-if)# end
00:08:32: %SYS-5-CONFIG_I: Configured from console by console
! Show the updated running configuration. LLDP is enabled with hold time, timer, and TLV
options configured.
Device1# show running-config
Building configuration...
Current configuration : 1397 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Device1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
clock timezone PST -8
ip subnet-zero
!
!
lldp timer 15
lldp holdtime 150
!
! Configure LLDP on Device 2 with hold time, timer, and TLV options.
Device2> enable
Device2# configure terminal
Enter configuration commands, one per line.
Device2(config)# lldp run
Device2(config)# lldp holdtime 150
Device2(config)# lldp timer 15
Device2(config)# lldp tlv-select port-vlan
Device2(config)# lldp tlv-select mac-phy-cfg
Device2(config)# interface ethernet 0/0
Device2(config-if)# end
00:08:32: %SYS-5-CONFIG_I: Configured from console by console
Carrier Ethernet Configuration Guide (Cisco ASR 920 Series)
344
Using Link Layer Discovery Protocol in Multivendor Networks
End with CNTL/Z.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents