User Tools

Site Tools


hpe:switch:5700:configuration:configuration_example_script_1
#
 version 7.1.045, Release 2432P05
#
 sysname DIBOG-DP-R9-SW_CORE
#
 clock timezone GMT-5 minus 05:00:00
 clock protocol ntp
#
 irf mac-address persistent timer
 irf auto-update enable
 undo irf link-delay
 irf member 1 priority 32
 irf member 2 priority 30
 irf mode normal
#
 ip unreachables enable
 ip ttl-expires enable
#
igmp-snooping
#
udp-helper enable
#
 dhcp enable
#
 lldp global enable
#
 system-working-mode StandardBridge
 fan prefer-direction slot 1 port-to-power 
 fan prefer-direction slot 2 port-to-power 
 password-recovery enable
#
vlan 1
 name Default
 description Default
 igmp-snooping enable
 igmp-snooping querier
#
vlan 2
 name
 description name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 3
 name
 description name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 4
 description name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 6
 name
 description name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 8
 name
 description name
#
vlan 9
 name
 description name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 12
 name
 description name
#
vlan 13
 name
 description name
#
vlan 16
 name
 description name
#
vlan 17
 name ROBOTEC
 description name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 30
 name VMWARE
 description name
 igmp-snooping enable
#
vlan 31
 name 
 igmp-snooping enable
#
vlan 40
 name
 description name
#
vlan 41
 name
 description name
#
vlan 42
 name
 description name
#
vlan 43
 name
 description name
#
vlan 51
 name 
description
#
vlan 60
 name
 description name
#
vlan 62
 name
 description name
#
vlan 63
 name
 description name
#
vlan 64
 name
 description name
#
vlan 65
 name
 description name
#
vlan 66
name 
 description name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 67
 name
 description name
#
vlan 77
 name
 description
#
vlan 99
 name
 description name
#
vlan 100
 name
 description name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 105
 name
 description name
#
vlan 132
 name 
 description name
#
irf-port 1/2
 port group interface Ten-GigabitEthernet1/0/29
 port group interface Ten-GigabitEthernet1/0/30
 port group interface Ten-GigabitEthernet1/0/31
 port group interface Ten-GigabitEthernet1/0/32
#
irf-port 2/1
 port group interface Ten-GigabitEthernet2/0/29
 port group interface Ten-GigabitEthernet2/0/30
 port group interface Ten-GigabitEthernet2/0/31
 port group interface Ten-GigabitEthernet2/0/32
#
interface Bridge-Aggregation27
 description name
 port link-type trunk
 port trunk permit vlan 1 to 4 6 8 to 9 12 to 13 16 to 17 30 to 31 40 to 43 51 60 62 to 67 
 port trunk permit vlan 77 99 to 100 105 132 
 link-aggregation mode dynamic
#
interface NULL0
#
interface Vlan-interface1
 description name
 ip address 10.181.0.1 255.255.240.0
#
interface Vlan-interface2
 description name
 ip address 10.185.0.1 255.255.240.0
 dhcp select relay
 dhcp relay server-address 10.181.3.33
#
interface Vlan-interface3
 description name
 ip address 140.127.66.1 255.255.254.0
#
interface Vlan-interface4
 description name
 ip address 172.16.151.1 255.255.255.0
#
interface Vlan-interface17
 description name
 ip address 172.17.1.1 255.255.255.224
#
interface Vlan-interface40
 description name
 ip address 192.168.215.1 255.255.255.0
#
interface Vlan-interface51
 description name
 ip address 192.168.222.1 255.255.255.128
#
interface Vlan-interface60
 description name
 ip address 192.168.60.1 255.255.255.0
#
interface Vlan-interface62
 description name
 ip address 10.186.0.1 255.255.252.0
 dhcp select relay
 dhcp relay server-address 10.181.3.33
#
interface Vlan-interface63
 description name
 ip address 10.186.4.1 255.255.252.0
 dhcp select relay
 dhcp relay server-address 10.181.3.33
#
interface Vlan-interface64
 description name
 ip address 10.186.8.1 255.255.255.0
#
interface Vlan-interface65
 description name
 ip address 10.186.9.1 255.255.252.0
 dhcp select relay
 dhcp relay server-address 10.181.3.33
#
interface Vlan-interface66
 description name
 shutdown
 ip address 172.28.21.252 255.255.255.0
#
interface Vlan-interface99
 description name
ip address 192.168.66.1 255.255.255.0
#
interface Vlan-interface100
 description name
 shutdown
 ip address 10.172.85.217 255.255.254.0
#
interface Vlan-interface105
 description name
 ip address 192.168.102.1 255.255.255.0
#
interface Vlan-interface132
 description name
 ip address 192.168.101.1 255.255.255.0
#
interface FortyGigE1/0/41
 description name
 port link-type trunk
 port trunk permit vlan 1 to 4 6 8 to 9 12 to 13 16 to 17 30 to 31 40 to 43 51 60 62 to 67 
 port trunk permit vlan 77 99 to 100 105 132 
 port link-aggregation group 27
#
interface FortyGigE1/0/42
 description name 
 port link-type trunk
 port trunk permit vlan 1 to 4 6 8 to 9 12 to 13 16 to 17 30 to 31 40 to 43 51 60 62 to 67 
 port trunk permit vlan 77 99 to 100 105 132 
 port link-aggregation group 27
#
interface FortyGigE2/0/41
 description name
 port link-type trunk
 port trunk permit vlan 1 to 4 6 8 to 9 12 to 13 16 to 17 30 to 31 40 to 43 51 60 62 to 67 
 port trunk permit vlan 77 99 to 100 105 132 
 port link-aggregation group 27
#
interface FortyGigE2/0/42
 description name 
 port link-type trunk
 port trunk permit vlan 1 to 4 6 8 to 9 12 to 13 16 to 17 30 to 31 40 to 43 51 60 62 to 67 
 port trunk permit vlan 77 99 to 100 105 132 
 port link-aggregation group 27
#
interface M-GigabitEthernet0/0/0
#
interface Ten-GigabitEthernet1/0/1
#
interface Ten-GigabitEthernet1/0/2
#
interface Ten-GigabitEthernet1/0/3
#
interface Ten-GigabitEthernet1/0/4
#
interface Ten-GigabitEthernet1/0/5
#
interface Ten-GigabitEthernet1/0/6
#
interface Ten-GigabitEthernet1/0/7
#
interface Ten-GigabitEthernet1/0/8
#
interface Ten-GigabitEthernet1/0/9
#
interface Ten-GigabitEthernet1/0/10
#
interface Ten-GigabitEthernet1/0/11
#
interface Ten-GigabitEthernet1/0/12
# 
interface Ten-GigabitEthernet1/0/13
#
interface Ten-GigabitEthernet1/0/14
#
interface Ten-GigabitEthernet1/0/15
#
interface Ten-GigabitEthernet1/0/16
#
interface Ten-GigabitEthernet1/0/17
#
interface Ten-GigabitEthernet1/0/18
#
interface Ten-GigabitEthernet1/0/19
#
interface Ten-GigabitEthernet1/0/20
# 
interface Ten-GigabitEthernet1/0/21
#
interface Ten-GigabitEthernet1/0/22
#
interface Ten-GigabitEthernet1/0/23
#
interface Ten-GigabitEthernet1/0/24
#
interface Ten-GigabitEthernet1/0/25
#
interface Ten-GigabitEthernet1/0/26
#
interface Ten-GigabitEthernet1/0/27
#
interface Ten-GigabitEthernet1/0/28
#
interface Ten-GigabitEthernet1/0/33
#
interface Ten-GigabitEthernet1/0/34
#
interface Ten-GigabitEthernet1/0/35
#
interface Ten-GigabitEthernet1/0/36
#
interface Ten-GigabitEthernet1/0/37
#
interface Ten-GigabitEthernet1/0/38
#
interface Ten-GigabitEthernet1/0/39
#
interface Ten-GigabitEthernet1/0/40
#
interface Ten-GigabitEthernet2/0/1
#
interface Ten-GigabitEthernet2/0/2
 port access vlan 65
#
interface Ten-GigabitEthernet2/0/3
 port access vlan 65
#
interface Ten-GigabitEthernet2/0/4
 port access vlan 64
#
interface Ten-GigabitEthernet2/0/5
 port access vlan 2
#
interface Ten-GigabitEthernet2/0/6
 port access vlan 62
#
interface Ten-GigabitEthernet2/0/7
#
interface Ten-GigabitEthernet2/0/8
#
interface Ten-GigabitEthernet2/0/9
#
interface Ten-GigabitEthernet2/0/10
#
interface Ten-GigabitEthernet2/0/11
#
interface Ten-GigabitEthernet2/0/12
#
interface Ten-GigabitEthernet2/0/13
#
interface Ten-GigabitEthernet2/0/14
#
interface Ten-GigabitEthernet2/0/15
#
interface Ten-GigabitEthernet2/0/16
#
interface Ten-GigabitEthernet2/0/17
#
interface Ten-GigabitEthernet2/0/18
#
interface Ten-GigabitEthernet2/0/19
#
interface Ten-GigabitEthernet2/0/20
#
interface Ten-GigabitEthernet2/0/21
#
interface Ten-GigabitEthernet2/0/22
#
interface Ten-GigabitEthernet2/0/23
#
interface Ten-GigabitEthernet2/0/24
#
interface Ten-GigabitEthernet2/0/25
#
interface Ten-GigabitEthernet2/0/26
#
interface Ten-GigabitEthernet2/0/27
#
interface Ten-GigabitEthernet2/0/28
#
interface Ten-GigabitEthernet2/0/33
#
interface Ten-GigabitEthernet2/0/34
#
interface Ten-GigabitEthernet2/0/35
#
interface Ten-GigabitEthernet2/0/36
#
interface Ten-GigabitEthernet2/0/37
#
interface Ten-GigabitEthernet2/0/38
#
interface Ten-GigabitEthernet2/0/39
#
interface Ten-GigabitEthernet2/0/40
#
interface Ten-GigabitEthernet1/0/29
#
interface Ten-GigabitEthernet1/0/30
# 
interface Ten-GigabitEthernet1/0/31
#
interface Ten-GigabitEthernet1/0/32
#
interface Ten-GigabitEthernet2/0/29
#
interface Ten-GigabitEthernet2/0/30
#
interface Ten-GigabitEthernet2/0/31
#
interface Ten-GigabitEthernet2/0/32
#
 scheduler logfile size 16
#
line class aux
 user-role network-admin
#
line class vty
 user-role network-admin
 user-role network-operator
#
line aux 0
 authentication-mode scheme
 user-role network-admin
 set authentication password hash $h$6$jm0RXngUS8YbOEjM$XiegBsJ58TzsM+h7BVTjp8ONDV9vK0VY0ClMHdr8Qyc8bsOThlaoZHAMoq2fFn1K6LGwh5i7KuZRO90J+M5oUg==
 idle-timeout 60 0
 history-command max-size 256
 #
line aux 1
 authentication-mode scheme
 user-role network-admin
 idle-timeout 60 0
 history-command max-size 256
#
line vty 0 15
 authentication-mode scheme
 user-role network-admin
 user-role network-operator
 set authentication password hash $h$6$nAyXEnVRZX0qey9m$WHV06h0OlmaA5vO148VJyRswA4g9uxZ5w6ldkSJPNFuVRkDIRrnRrCuTiqkx02paur9C481NLt8gIY5TEHZO+Q==
 idle-timeout 60 0
 history-command max-size 256
#
line vty 16 63
 authentication-mode scheme
 user-role network-admin
 user-role network-operator
 idle-timeout 60 0
 history-command max-size 256
#
 ip route-static 0.0.0.0 0 10.181.2.5
#
 snmp-agent
 snmp-agent local-engineid 8000002B000FCBB87D406877
 snmp-agent community write enterprise name
 snmp-agent sys-info contact engineer name
 snmp-agent sys-info location DIBOG-DP-R9-SW_CORE
 snmp-agent sys-info version v3 
 snmp-agent group v3 admin read-view admin write-view admin
 snmp-agent mib-view included admin iso 
 snmp-agent usm-user v3 admin admin
#
 ssh server enable
 sftp server enable
 undo ssh server compatible-ssh1x enable
 ssh user admin service-type all authentication-type password
#
 ftp client source interface Vlan-interface99
#
 ssh client source interface Vlan-interface99
 sftp client source interface Vlan-interface99
#
 ntp-service enable
 ntp-service source Vlan-interface99
 ntp-service unicast-server 10.181.0.155
#
 tftp client source interface Vlan-interface99
#
 header login %
header shell %************************************ATENTION************************************
* Computer unit supported by I.T.Corporation.                                                 *
* This is a computer resource for the exclusive use of Enterprise Name.                       *
* If you are not an authorized user to enter this device                                      *
* refrain from doing so, as all activities can be monitored                                   *
* or recorded. And if evidence of unauthorized access is discovered,                          *
* modifications to the information, attacks against the integrity of the                      *
* Information such as the entity, among others, will be reported to the                       *
* competent authorities.                                                                      *
***********************************************************************************************
 header shell %************************************ATENTION************************************
* Computer unit supported by I.T.Corporation.                                                 *
* This is a computer resource for the exclusive use of Enterprise Name.                       *
* If you are not an authorized user to enter this device                                      *
* refrain from doing so, as all activities can be monitored                                   *
* or recorded. And if evidence of unauthorized access is discovered,                          *
* modifications to the information, attacks against the integrity of the                      *
* Information such as the entity, among others, will be reported to the                       *
* competent authorities.                                                                      *
***********************************************************************************************

#
undo password-control aging enable 
 undo password-control length enable 
 undo password-control history enable 
 password-control login-attempt 3 exceed lock-time 2
#
 super password role level-8 hash $h$6$t6UqvJN12qpyOF5U$JC5ovg/pmaYml5Hrz7mgtCD7zhaMa4VBEwqzmjQ2nItIyjjPRBRZlK53I5ODtsS/GC7Ca2sc6tS7T7bUOYL6Ag==
 super password role level-0 hash $h$6$tooA+mfqK2f4pXkU$0/cT9mANvFVNYTwcIYEP8H38Ux30wUf3DllE7am7oe4bki7k+rmgb7S4fdUQjA1Yp+3ehU2VdtVC+NXhaX0DDw==
 super password role network-admin hash $h$6$ZG80q7gLqRNlkQ1S$matEFJO67N9zq9oyc5WCrrVQCo3rl2xgS6iZ51jvzT9Rr+NPFseWgSD5VD1V6vxhSe2q6KkpOWSZXYnakFmaIw==
 super password role level-15 hash $h$6$a3QLeu0ZfyxgQCtc$1YpNa9QJfUbslYkq7Ghd6ilAI+YLkhRxTCy0NAchh7HWWd6yRmCGCJUYq/lM+TwSY2E8ujSwNhHMk05jUhbzFw==
#
radius scheme system
 user-name-format without-domain
#
domain system
#
 domain default enable system
#
role name level-0
 description Predefined level-0 role
#
role name level-1
 description Predefined level-1 role
#
role name level-2
 description Predefined level-2 role
#
role name level-3
 description Predefined level-3 role
#
role name level-4
 description Predefined level-4 role
#
role name level-5
 description Predefined level-5 role
#
role name level-6
 description Predefined level-6 role
#
role name level-7
 description Predefined level-7 role
#
role name level-8
 description Predefined level-8 role
#
role name level-9
 description Predefined level-9 role
#
role name level-10
 description Predefined level-10 role
#
role name level-11
 description Predefined level-11 role
#
role name level-12
 description Predefined level-12 role
#
role name level-13
 description Predefined level-13 role
#
role name level-14
 description Predefined level-14 role
#
user-group system
#
local-user admin class manage
 password hash $h$6$Rx4lMqG9QNOm9mk5$87/sG+aPTx4nzOsTCdVh4cEbBOTdIHBb1r2jE3YWEY9EX8pZcLfyaTbpo0uQb6EucW9WRGWS1HBL3v5cSrFQZQ==
 service-type ftp
 service-type ssh telnet terminal http https
 authorization-attribute user-role level-15
 authorization-attribute user-role network-admin
 authorization-attribute user-role network-operator
#
local-user monitor class manage
 password hash $h$6$n8kSJamJBO8C79On$/MhUqbFdzLl4OkSdTVRRPUnUH8e1zHhTLAoWB9vcWTSGUQsNty0iFBS3k/q4Qgi5D7y1/geWqXY+9MUFG34HIA==
 authorization-attribute user-role level-15
 authorization-attribute user-role network-operator
#
local-user admin class network
 password cipher $c$3$8OrKWXsT08Lfhyva2Igxlg+T6OGaMvxj4SvEFj8=
 authorization-attribute user-role network-admin
 authorization-attribute user-role network-operator
#
local-user manager class network
 password cipher $c$3$xmWEAKr0/tiHimfqFOw3OG/9cwo9asJ8/4VS4Mc=
 authorization-attribute user-role level-8
 authorization-attribute user-role network-operator
#
ip https enable
#
return
hpe/switch/5700/configuration/configuration_example_script_1.txt · Last modified: 2021/03/17 21:02 by dgonzalez

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki