[RADIATOR] Trapeze Vlan

Zod Mansour zod at reachlocal.com
Mon Jun 20 19:13:31 CDT 2011


Hi,
Trying to get Trapeze MX8 working with radiator. Juniper says they  
need to receive 'vlan' and the radiator is not sending them that.
They are requesting a vendor specific attribute att: 26 vendor code  
14525. I was looking in the dictionary and saw:

# Trapeze Networks dictionary
#
VENDOR          Trapeze 14525
VENDORATTR      14525   TRPZ-VLAN-Name                  1       string
VENDORATTR      14525   Trapeze-VLAN-Name               1       string


I have a script that adds attribute:

PostSearchHook file:"/etc/radiator/override_default_vlan.pl"


sub {
	open(FILE,"/etc/radiator/priv-users");
	my @privUsers = <FILE>;
	close FILE;
	my @userName = $_[4]->get('uid');
	my $userName = @userName[0];
	my $privUser;

	foreach $privUser (@privUsers) {
		chomp($privUser);
		if ($userName eq $privUser) {
			$_[3]->get_reply->add_attr('Trapeze-VLAN-Name','Techops');
			return;
		};
	};
	$_[3]->get_reply->add_attr('TRPZ-VLAN-Name', 'Corp');
}


I have tried the 2 versions of vlan-name but the Trapeze does not  
receive the vlan.
Any suggestions?


thx,
Zod



More information about the radiator mailing list