Forum Discussion
Vincent_Li_9688
Mar 01, 2013Historic F5 Account
Networking/SelfIPV2 add_allow_access_list can't set access properly
I have a sample script to use Networking/SelfIPV2 add_allow_access_list method, but 'ALLOW_MODE_DEFAULT' and 'ALLOW_MODE_PROTOCOL_PORT' can not be set properly
sub add_allow_access_listv...
Vincent_Li_9688
Mar 01, 2013Historic F5 Account
also tried:
sub add_allow_access_listv2 {
my ($ip) = @_;
my $soap = &GetInterface( "$ip", "Networking", "SelfIPV2" );
$soap_response = $soap->add_allow_access_list(
SOAP::Data->name( self_ips => ["10.2.72.3"] ),
SOAP::Data->name(
access_lists => [
{
mode => 'ALLOW_MODE_DEFAULTS',
protocol_ports => [ ]
}
]
),
);
&checkResponse($soap_response);
}
Mar 1 15:57:07 B6900-R12-S46 debug iControlPortal.cgi[14319]: Networking:SelfIPV2::add_allow_access_list ( ) called by user "admin"
Mar 1 15:57:07 B6900-R12-S46 debug iControlPortal.cgi[14319]: Networking: [0] Self IP: 10.2.72.3, Allow mode: 2
Mar 1 15:57:07 B6900-R12-S46 debug iControlPortal.cgi[14319]: Networking:-------------------------------------
Mar 1 15:57:07 B6900-R12-S46 debug iControlPortal.cgi[14319]: Portal: User: admin, Folder: /Common
still does not work, the port lockdown will be always set to 'allow all'
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