Forum Discussion
Sukumar_121924
Nimbostratus
Feb 02, 2017iRule for mac address identification
I am using the iRule statement "set macparta [[lindex [split $radname1 "-" ] 5 ]" for the calling station id (containing the MAC address) field is (with as separator “-“)
But if the MAC addressfield...
Kai_Wilke
MVP
Feb 03, 2017Hi Sukumar,
how about using a
[split] command which splits the input MAC on both the ":" or "-" char at the same time...
set radname1 "2C:1F-23:45-3B:1E"
set macparta [[lindex [split $radname1 ":-" ] 5 ]
Cheers, Kai
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects