]> git.sesse.net Git - nms/commitdiff
Various fixes to the port config.
authorroot <root@sysrq>
Tue, 3 Apr 2007 20:32:02 +0000 (22:32 +0200)
committerroot <root@sysrq>
Tue, 3 Apr 2007 20:32:02 +0000 (22:32 +0200)
config/make-port-config.pl

index ee75cab1b2e4e1b693d32bf07858f1027ce76b9c..4ab50026d6651151ce76e2d52a94b06f8c2d6aa7 100755 (executable)
@@ -26,6 +26,7 @@ while (<PATCHLIST>) {
        }
 
        my $vlan = "$row$switch";
+       my $ipv6 = sprintf "F%02u%u", $row, $switch;
 
        $distros{$distro} .= <<"EOF";
 vlan $vlan
@@ -39,7 +40,8 @@ interface vlan $vlan
   ip helper-address 87.76.254.2
   no ip proxy-arp
   ip access-group great-wall-of-tg in
-  ipv6 address 2001:16D8:FFFF:$vlan::1/64
+  ipv6 address 2001:16D8:FFFF:${ipv6}::1/64
+  ip igmp version 3
   no shutdown
 !
  
@@ -52,7 +54,6 @@ interface $port
  spanning-tree portfast
  spanning-tree bpduguard enable
 
- ip igmp snooping
  storm-control broadcast level 2
  no shutdown
 !