RSTP.
darcs-hash:20060202021145-68412-43635f74e61aba189d814bfd9b92facd16da26f7.gz
This commit is contained in:
parent
80bc33607f
commit
687d77459d
1 changed files with 5 additions and 1 deletions
|
@ -31,7 +31,7 @@ class switch(gen_config) :
|
|||
# Répertoire ou écire les fichiers de conf
|
||||
CONF_REP='/tmp/' # avec un / derrière
|
||||
|
||||
config = """; %(modele)s Configuration Editor; Created on release #H.08.72
|
||||
config = """; %(modele)s Configuration Editor; Created on release #H.08.86
|
||||
|
||||
hostname "%(switch)s"
|
||||
;-------------------------------------------------------- Snmp
|
||||
|
@ -93,8 +93,12 @@ ip ssh filetransfer
|
|||
spanning-tree protocol-version rstp
|
||||
; Config des uplinks
|
||||
no spanning-tree %(uplinks)s edge-port
|
||||
spanning-tree %(uplinks)s point-to-point-mac force-true
|
||||
spanning-tree %(uplinks)s priority 6
|
||||
; Config des prises adhérent
|
||||
spanning-tree %(non_uplinks)s edge-port
|
||||
spanning-tree %(non_uplinks)s point-to-point-mac auto
|
||||
spanning-tree %(non_uplinks)s priority 8
|
||||
; On active
|
||||
spanning-tree
|
||||
;------------------------------------------------------- Serveurs radius
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue