]> git.sesse.net Git - nms/blobdiff - config/make-port-config.pl
Update make-switches.pl for TG07.
[nms] / config / make-port-config.pl
index ee75cab1b2e4e1b693d32bf07858f1027ce76b9c..893d4f406c1b6256a8cf71eaec007b70b4ac99d4 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,9 @@ 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
+  ip pim sparse-mode
   no shutdown
 !
  
@@ -52,7 +55,6 @@ interface $port
  spanning-tree portfast
  spanning-tree bpduguard enable
 
- ip igmp snooping
  storm-control broadcast level 2
  no shutdown
 !