X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=config%2Fmake-port-config.pl;h=4ab50026d6651151ce76e2d52a94b06f8c2d6aa7;hb=e295b7fe35047f6ce95b26b57dfdfa0931716c45;hp=83fa99700ec649008a143af0ceb42030f058d49f;hpb=3452fba76bfe3a05039ee0b28b6c7d569fbf8984;p=nms diff --git a/config/make-port-config.pl b/config/make-port-config.pl index 83fa997..4ab5002 100755 --- a/config/make-port-config.pl +++ b/config/make-port-config.pl @@ -26,18 +26,22 @@ while () { } my $vlan = "$row$switch"; + my $ipv6 = sprintf "F%02u%u", $row, $switch; $distros{$distro} .= <<"EOF"; vlan $vlan name $name ! default interface vlan $vlan -interface $vlan +interface vlan $vlan description $name ip address $ip 255.255.255.192 ip directed-broadcast 10 ip helper-address 87.76.254.2 no ip proxy-arp + ip access-group great-wall-of-tg in + ipv6 address 2001:16D8:FFFF:${ipv6}::1/64 + ip igmp version 3 no shutdown ! @@ -50,7 +54,6 @@ interface $port spanning-tree portfast spanning-tree bpduguard enable - ip igmp snooping storm-control broadcast level 2 no shutdown !