X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=config%2Fmake-port-config.pl;fp=config%2Fmake-port-config.pl;h=4ab50026d6651151ce76e2d52a94b06f8c2d6aa7;hb=70ebf6678fe83c270f4da0c37929c00056fd6643;hp=ee75cab1b2e4e1b693d32bf07858f1027ce76b9c;hpb=d8e00eb9aa8558bce222af1eafba2135b3bd5db0;p=nms diff --git a/config/make-port-config.pl b/config/make-port-config.pl index ee75cab..4ab5002 100755 --- a/config/make-port-config.pl +++ b/config/make-port-config.pl @@ -26,6 +26,7 @@ while () { } 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 !