Day One Tips
Day One Tips

Tip: RADIUS attribute to $junos variable mapping in dynamic profiles

[ Edited ]
‎11-05-2010 01:37 AM

 

Hi,

 

to be able to see which RADIUS attr to use and how to reference it in a dynamic-profile by using a $junos... variable you can use the following command to display the predefined mappings:

 

show configuration groups junos-defaults dynamic-profiles

<*> {

       variables {

...

              junos-igmp-enable {

                       internal;

                       valid-path interface;

                       radius {

                              vendor-id 4874 attribute 23;

                       }

              }

              junos-mld-version {

                    internal;

                    radius {

                            vendor-id 4874 attribute 77;

                    }

              }

              junos-igmp-version {

                    internal;

                    radius {

                           vendor-id 4874 attribute 78;

                    }

              }

...

 

Hope you find this useful. Btw. this isn't my tip but Benjamin S's so all the credit (fame, potentially price) goes to him, I'm just posting it as I found it rather useful and it shouldn't be missing here.

 

Best Regards

 

Ulf

If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.