cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1025
Views
5
Helpful
6
Replies

show cdp neighbors for pppoe clients

netrunner
Level 1
Level 1

Hello everyone,

 

we have an ASR-1002 up and running as pppoe server with radius auth, more than 500 subscriber sessions.

We'd like to know if we can see mac address and some info about pppoe clients (brand and model of clients routers and so on)

with show cdp neighbors we cannot see anything.

Can you help?

 

show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID

Total cdp entries displayed : 0


show subscriber session | inc Total
Current Subscriber Information: Total sessions 550
6 Replies 6

balaji.bandi
Hall of Fame
Hall of Fame

what you see output of

 

show pppoe session

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

netrunner
Level 1
Level 1

Hello Balaji,

 

I see just the MAC address and the Virtual.interface, no info about brand and model of pppoe client.

 

ASR1002#show pppoe session
   548 sessions in LOCALLY_TERMINATED (PTA) State
   548 sessions total

Uniq ID  PPPoE  RemMAC          Port                    VT  VA         State
           SID  LocMAC                                      VA-st      Type
   1223  28966  [MACADDRESS]  Po1.101000019            1  Vi2.57     PTA
                 [MACADDRESS]  VLAN: 100/19                UP

enable CDP under the dial and virtual-template

and then show cdp neighbor 

netrunner
Level 1
Level 1

Hi,

 

I can't under Virtual Template, because not all clients are Cisco router.

If I add "cdp enable" in Virtual Template, a lot of clients stop connecting and I see a lot of errors in ASR1002 with incompatibility issues.

Hello
You should not have to enable CDP under the virtual interface(s) only on the physical of the pppoe server or client.
Depending on how may physical interfaces you have for PPPOE you could try enabling CDP for cisco and LLDP for non cisco and on the interfaces you dont wish for it wont run disable it.


conf t
int x/x
no cdp run
no lldp receive
no lldp transmit
exit

cdp run
lldp run

sh cdp interfaces
sh lldp interfaces
sh cdp neighbors
sh lldp neighbors


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

As My Friend Paul driver mention,
you can run both CDP and LLDP both, so if the cisco device then the both client and server will run CDP if other vendor then LLDP will run.
config this globally not under interface,
and disable both CDP and LLDP "if you config under virtual-template".

Review Cisco Networking for a $25 gift card