Portail Infra : CMDB, générateur certificats & mapper VLAN switch
Ajouts : - Snapshots serveur de la base CMDB (auto + manuel, restauration) - Import/Export CSV de l'inventaire Préparation partage public : - Données réelles (cmdb.db, snapshots, certs/clés privées) exclues via .gitignore - Suppression des infos en dur (proxy, VLAN, configs switch exemples) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
commit
bfc88f4afc
24 changed files with 13551 additions and 0 deletions
335
conf_switch.exemple
Normal file
335
conf_switch.exemple
Normal file
|
|
@ -0,0 +1,335 @@
|
|||
|
||||
|
||||
|
||||
**********************************************************
|
||||
|
||||
Use is restricted to authorized users
|
||||
who must comply with the Electronic Communications Policy.
|
||||
Usage is monitored; unauthorized use will be prosecuted.
|
||||
|
||||
**********************************************************
|
||||
|
||||
**********************************************************
|
||||
|
||||
Connected to 5130-INV-1714 GEMALTO on MEYREUIL (FRANCE)
|
||||
|
||||
Use is restricted to authorized users
|
||||
who must comply with the Electronic Communications Policy.
|
||||
Usage is monitored; unauthorized use will be prosecuted.
|
||||
|
||||
**********************************************************
|
||||
|
||||
|
||||
|
||||
******************************************************************************
|
||||
* Copyright (c) 2010-2019 Hewlett Packard Enterprise Development LP *
|
||||
* Without the owner's prior written consent, *
|
||||
* no decompiling or reverse-engineering shall be allowed. *
|
||||
******************************************************************************
|
||||
|
||||
<5130-INV-1714>display current-configuration interface
|
||||
#
|
||||
interface NULL0
|
||||
#
|
||||
interface Vlan-interface17
|
||||
description SW_MGMT
|
||||
ip address 10.0.0.2 255.255.255.0
|
||||
#
|
||||
interface GigabitEthernet1/0/1
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/2
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/3
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/4
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/5
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/6
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/7
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/8
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/9
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/10
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/11
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/12
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/13
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/14
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/15
|
||||
port access vlan 16
|
||||
duplex full
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/16
|
||||
port access vlan 16
|
||||
duplex full
|
||||
stp edged-port
|
||||
undo lldp enable
|
||||
undo dot1x handshake
|
||||
dot1x mandatory-domain example_radius
|
||||
undo dot1x multicast-trigger
|
||||
dot1x re-authenticate
|
||||
port-security port-mode userlogin-secure
|
||||
#
|
||||
interface GigabitEthernet1/0/17
|
||||
port access vlan 16
|
||||
duplex full
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/18
|
||||
port access vlan 16
|
||||
speed 1000
|
||||
duplex full
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/19
|
||||
port access vlan 16
|
||||
duplex full
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/20
|
||||
port access vlan 16
|
||||
duplex full
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/21
|
||||
port access vlan 16
|
||||
duplex full
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/22
|
||||
port access vlan 16
|
||||
duplex full
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/23
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/24
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/25
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/26
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/27
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/28
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/29
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/30
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/31
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/32
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/33
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/34
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/35
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/36
|
||||
port access vlan 18
|
||||
#
|
||||
interface GigabitEthernet1/0/37
|
||||
description ** ULAB **
|
||||
port access vlan 18
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/38
|
||||
description ** ULAB **
|
||||
port access vlan 18
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/39
|
||||
description ** ULAB **
|
||||
port access vlan 18
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/40
|
||||
description ** ULAB **
|
||||
port access vlan 18
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/41
|
||||
description ** ULAB **
|
||||
port access vlan 18
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/42
|
||||
description ** ULAB **
|
||||
port access vlan 18
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/43
|
||||
description ** ULAB **
|
||||
port access vlan 18
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/44
|
||||
description ** ULAB **
|
||||
port access vlan 18
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/45
|
||||
description ** ULAB **
|
||||
port access vlan 18
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/46
|
||||
description ** ULAB **
|
||||
port access vlan 18
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/47
|
||||
description ** ULAB **
|
||||
port access vlan 18
|
||||
undo lldp enable
|
||||
#
|
||||
interface GigabitEthernet1/0/48
|
||||
description ** ULAB **
|
||||
port access vlan 18
|
||||
undo lldp enable
|
||||
#
|
||||
interface Ten-GigabitEthernet1/0/49
|
||||
description *** Uplink TRUNK_TO_CORE ***
|
||||
port link-type trunk
|
||||
port trunk permit vlan all
|
||||
#
|
||||
interface Ten-GigabitEthernet1/0/50
|
||||
description ###TRUNK_TO_COREXXXX###
|
||||
port link-type trunk
|
||||
port trunk permit vlan all
|
||||
stp instance 0 cost 120
|
||||
#
|
||||
interface Ten-GigabitEthernet1/0/51
|
||||
#
|
||||
interface Ten-GigabitEthernet1/0/52
|
||||
#
|
||||
return
|
||||
<5130-INV-1714>
|
||||
Loading…
Add table
Add a link
Reference in a new issue