[gen_confs/switchs.py] Le stp ne sert plus à rien

Ignore-this: 975776515eaf06e7696dfa100d5bed3

darcs-hash:20090921202009-ffbb2-0797dec7652355422ea25daec82fdd2a1ad92934.gz
This commit is contained in:
Nicolas Dandrimont 2009-09-21 22:20:09 +02:00
parent db4a156d65
commit a4455e0286

View file

@ -11,10 +11,10 @@
* copie fichier de conf
pour les reconfiguration copier le fichier de conf
Dans tous les cas FAIRE LE SNMP A LA MAIN (script hpttols)
Dans tous les cas FAIRE LE SNMP A LA MAIN (script hptools)
"""
import string, sys, os, commands, smtplib, tempfile, getopt
import sys, os, commands, smtplib, tempfile, getopt
sys.path.append('/usr/scripts/gestion')
from hptools import hpswitch, sw_chbre
@ -108,18 +108,6 @@ aaa authentication ssh enable public-key none
ip ssh
ip authorized-managers 10.231.136.0 255.255.255.0
ip ssh filetransfer
;------------------------------------------------------- Spanning-tree
spanning-tree force-version rstp-operation
; Config des uplinks
no spanning-tree %(uplinks)s admin-edge-port
spanning-tree %(uplinks)s point-to-point-mac true
spanning-tree %(uplinks)s priority 6
; Config des prises adhérent
spanning-tree %(non_uplinks)s admin-edge-port
spanning-tree %(non_uplinks)s point-to-point-mac auto
spanning-tree %(non_uplinks)s priority 8
; On active
spanning-tree
;------------------------------------------------------- DHCP Snooping
dhcp-snooping vlan %(vlan_adherent)s
dhcp-snooping trust %(uplinks)s