Hi,
I need to monitor PPPoE sessions for the originating VLAN with SNMP. For Radius the NAS-Port-Id returns reasonable values but not for SNMP.
I tried to configure the NAS-Port-Id for SNMP (IOS XE 16.06.02). The default config
bba-group pppoe pppoe_128
virtual-template 128
inserts the VLAN (128) in the NAS-Port-Id of the Radius-Accounting-Packets:
NAS-Port-Id = "0/0/0/128"
but for SNMP I get this NAS-Port-Id:
iso.3.6.1.4.1.9.9.786.1.1.1.1.22.100438 = STRING: "nas-port:217.113.176.179:0/0/0/0"
When I change the config to
bba-group pppoe pppoe_128
virtual-template 128
nas-port-id format c
the Radius NAS-Port Id changes to
NAS-Port-Id = "ether 0/0/0:4096.128 0/0/0/0/0/0"
and the SNMP NAS-Port-Id changes to
iso.3.6.1.4.1.9.9.786.1.1.1.1.22.100438 = STRING: "nas-port:217.113.176.179:0/0/0/128"
it looks like the VLAN now shows up in SNMP.
Is it possible to configure the NAS-Port-Id to be the same for Radius and SNMP and to include the VLAN?
For the Radius config I found some matching docs in
https://www.cisco.com/c/en/us/td/docs/ios/12_2sb/feature/guide/nas_id_c.html
but I did not find any docs for SNMP.
Any hints are highly appreciated.
Thanks,
Andreas