Reply

I can not find the vlan name from the interfaces

Not applicable
Posts: 3
2841     0
hello I want to receive the name of the vlan membership of an interface (e.g. client-vlan). I despair. here is my code to receive the vlan name. With this code i do not reveive any results. If I remove the interfaceID operation, I get all vlans from the device. But I want only the vlan from the interface port. Could anybody heldp? #should find vlan membership from interface my @array = $client->broker->VlanMember->find( op_DeviceID => '=', val_c_DeviceID => $device->DeviceID, op_InterfaceID => '=', val_c_InterfaceID => $ifaddr->InterfaceID , select => [qw( VlanName VlanID)], ); # print the results foreach my $vlanName (@array) { print $vlanName->VlanName . "\n"; } Thanks for help. Francis
Showing results for 
Search instead for 
Did you mean: 

Recommended for You