Forum Discussion
Stewart
Altostratus
Jun 23, 2014How to I list the VSs that has VLAN enabled on it?
Hello,
When a new VLAN is created on our LTMs in one of our environments, they should be enabled on a couple of Performance Layer 4 virtual servers. As part of the VS creation checks I'd like t...
Kevin_Stewart
Employee
Jun 25, 2014A minor mod:
!/bin/bash
if [ "$1" == "" ]
then
echo "Usage: find-vlans.sh
echo ""
echo "Example: find-vlans.sh vlan-1234
echo ""
echo ""
exit
fi
echo "The following virtual servers are enabled for the $1 VLAN:"
tmsh list ltm virtual one-line |grep vlans |grep $1 |awk -F" " '{ print $3 }'
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