r1309 + 49xx fix in Cisco connector
authorDenis Ovsienko <infrastation@yandex.ru>
Tue, 27 Nov 2007 09:13:47 +0000 (09:13 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Tue, 27 Nov 2007 09:13:47 +0000 (09:13 +0000)
gateways/switchvlans/cisco.connector

index bde7a93e81382377cf87ccc3bc61a2b9f52bfbb6..23f320294657a05768aa3fb9021feb5ace6eeae1 100755 (executable)
@@ -92,7 +92,7 @@ do_fetch()
                cat "$OUT3" | tr -d '\r' | fgrep Dynamic | sed -E 's/ +Dynamic +([0-9]+) +(.+)/=\1@\2/;s/FastEthernet/Fa/;s/GigabitEthernet/Gi/' > "$FILE3"
        elif [ "$SW" = "Cisco+IOS+12.2" ]; then
                case "$HW" in
                cat "$OUT3" | tr -d '\r' | fgrep Dynamic | sed -E 's/ +Dynamic +([0-9]+) +(.+)/=\1@\2/;s/FastEthernet/Fa/;s/GigabitEthernet/Gi/' > "$FILE3"
        elif [ "$SW" = "Cisco+IOS+12.2" ]; then
                case "$HW" in
-                       Cisco+Catalyst+35*|Cisco+Catalyst+37*|Cisco+Catalyst+2960*|Cisco+Catalyst+2970*)
+                       Cisco+Catalyst+35*|Cisco+Catalyst+37*|Cisco+Catalyst+29*|Cisco+Catalyst+49*)
                                cat "$OUT3" | tr -d '\r' | fgrep DYNAMIC | \
                                sed -E 's/ +([0-9]+) +(.+)    DYNAMIC +(.+)/\2=\1@\3/;s/FastEthernet/Fa/;s/GigabitEthernet/Gi/' > "$FILE3"
                        ;;
                                cat "$OUT3" | tr -d '\r' | fgrep DYNAMIC | \
                                sed -E 's/ +([0-9]+) +(.+)    DYNAMIC +(.+)/\2=\1@\3/;s/FastEthernet/Fa/;s/GigabitEthernet/Gi/' > "$FILE3"
                        ;;