User Tools

Site Tools


hpe:switch:5900:configuration:configuration_example_script_1
#
 version 7.1.045, Release 2432P06-US
#
 sysname 5900
#
 clock timezone GMT add 00:00:00
 clock protocol ntp
#
 irf mac-address persistent timer
 irf auto-update enable
 undo irf link-delay
 irf member 1 priority 1
 irf member 2 priority 1
 irf mode normal
#
 link-aggregation global load-sharing mode destination-mac source-mac 
#
 ip unreachables enable
 ip ttl-expires enable
#
igmp-snooping
#
 udp-helper enable
 udp-helper port 123 
 udp-helper port 167 
 udp-helper port 168 
#
 dhcp enable
#
 dns domain ams.hpecore.net
 dns server 16.110.135.51
 dns server 16.110.135.52
#
 mirroring-group 1 local
#
 lldp global enable
 lldp compliance cdp
#
 system-working-mode standard
 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 vlan 2
 description vlan 2
 igmp-snooping enable
 igmp-snooping querier
#
vlan 3
 name vlan 3
 description vlan 3
 igmp-snooping enable
 igmp-snooping querier
#
vlan 4
 name vlan 4
 description vlan 4
 igmp-snooping enable
 igmp-snooping querier
#
vlan 5
 name vlan 5
 description vlan 5
 igmp-snooping enable
 igmp-snooping querier
#
vlan 6
 name vlan 6
 description vlan 6
 igmp-snooping enable
 igmp-snooping querier
#
vlan 7
 name vlan 7
 description vlan 7
 igmp-snooping enable
 igmp-snooping querier
#
vlan 8
 name vlan 8
 description vlan 8
 igmp-snooping enable
 igmp-snooping querier
#
vlan 9
 name vlan 9
 description vlan 9
 igmp-snooping enable
 igmp-snooping querier
#
vlan 10
 name vlan 10
 description vlan 10
 igmp-snooping enable
 igmp-snooping querier
#
vlan 11
 name vlan 11
 description vlan 11
 igmp-snooping enable
 igmp-snooping querier
#
vlan 12
 name vlan 12
 description vlan 12
 igmp-snooping enable
 igmp-snooping querier
#
vlan 13
 name vlan 13
 description vlan 13
 igmp-snooping enable
 igmp-snooping querier
#
vlan 14
 name vlan 14
 description vlan 14
 igmp-snooping enable
 igmp-snooping querier
#
vlan 15
 name vlan 15
 description vlan 15
 igmp-snooping enable
 igmp-snooping querier
#
vlan 16
 name vlan 16
 description vlan 16
 igmp-snooping enable
 igmp-snooping querier
#
vlan 17
 name vlan 17
 description vlan 17
 igmp-snooping enable
 igmp-snooping querier
#
vlan 18
 name vlan 18
 description vlan 18
 igmp-snooping enable
 igmp-snooping querier
#
vlan 19
 name vlan 19
 description vlan 19
 igmp-snooping enable
 igmp-snooping querier
#
vlan 20
 name vlan 20
 description vlan 20
 igmp-snooping enable
 igmp-snooping querier
#
vlan 21
 name vlan 21
 description vlan 21
 igmp-snooping enable
 igmp-snooping querier
#
vlan 22
 name vlan 22
 description vlan 22
 igmp-snooping enable
 igmp-snooping querier
# 
vlan 23
 name vlan 23
 description vlan 23
 igmp-snooping enable
 igmp-snooping querier
 #
vlan 24
 name vlan 24
 description vlan 24
 igmp-snooping enable
 igmp-snooping querier
#
vlan 25
 name vlan 25
 description vlan 25
 igmp-snooping enable
 igmp-snooping querier
#
vlan 26
 name vlan 26
 description vlan 26
 igmp-snooping enable
 igmp-snooping querier
#
vlan 27
 name vlan 27
 description vlan 27
 igmp-snooping enable
 igmp-snooping querier
#
vlan 28
 name vlan 28
 description vlan 28
 igmp-snooping enable
 igmp-snooping querier
#
vlan 29
 name vlan 29
 description vlan 29
 igmp-snooping enable
 igmp-snooping querier
vlan 30
 name vlan 30
 description vlan 30
 igmp-snooping enable
 igmp-snooping querier
#
vlan 31
name vlan 31
 description vlan 31
 igmp-snooping enable
 igmp-snooping querier
#
irf-port 1/2
 port group interface FortyGigE1/0/51
  port group interface FortyGigE1/0/52
#
irf-port 2/1
 port group interface FortyGigE2/0/51
 port group interface FortyGigE2/0/52
#
 stp region-configuration
 region-name
 revision-level 1
 instance 1 vlan 2 to 30 
 instance 2 vlan 31 to 4094 
 active region-configuration
#
 stp instance 0 to 2 root primary
 stp mode rstp
 stp bpdu-protection
 stp pathcost-standard dot1t
#
interface Bridge-Aggregation1
 description name
 port link-type trunk
 port trunk permit vlan all
 link-aggregation load-sharing mode source-mac 
#
interface Bridge-Aggregation2
 description name
 port link-type trunk
 port trunk permit vlan all
 link-aggregation load-sharing mode destination-mac 
#
interface Bridge-Aggregation3
 description name
 port link-type trunk
 port trunk permit vlan all
 link-aggregation mode dynamic
#
interface Bridge-Aggregation5
 description name
 port link-type trunk
 port trunk permit vlan all
#
interface Bridge-Aggregation6
 description name
 port link-type trunk
 port trunk permit vlan all
#
interface Bridge-Aggregation7
 description CONEXION  10.50.0.24
 port link-type trunk
 port trunk permit vlan all
#
interface Bridge-Aggregation8
 description name
 port link-type trunk
 port trunk permit vlan all
#
interface NULL0
#
interface LoopBack0
  ip address 10.255.255.254 255.255.255.255
#
interface Vlan-interface1
 description Default
 ip address 1.0.0.1 255.255.255.0
 ip address 10.4.0.1 255.255.254.0 sub
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface2
 description name
 ip address 10.0.0.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
 #
interface Vlan-interface3
 description name
 ip address 10.0.1.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface4
 description name
 ip address 10.0.2.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface6
 description name
 ip address 10.0.4.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface7
 description name
 ip address 10.0.5.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface8
 description name
 ip address 10.0.22.1 255.255.254.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface9
 description name
 ip address 10.0.7.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface10
 description name
 ip address 10.0.8.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface11
 description name
 ip address 10.0.9.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface12
 description name
 ip address 10.0.10.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
# 
interface Vlan-interface13
 description name
 ip address 10.0.11.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface14
 description name
 ip address 10.0.20.1 255.255.254.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface15
 description name
 ip address 10.0.13.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface16
 description name
 ip address 10.0.14.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface17
 description name
 ip address 10.0.15.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface19
 description name
 ip address 10.0.16.1 255.255.255.0
 dhcp select relay
 dhcp relay server-address 10.50.0.200
#
interface Vlan-interface20
 description name
 ip address 10.0.18.1 255.255.255.0
#
interface Vlan-interface21
 description name
 ip address 172.16.0.1 255.255.255.0
#
interface Vlan-interface22
 description name
 ip address 10.0.12.1 255.255.255.252
#
interface Vlan-interface23
 description name
 ip address 10.1.0.1 255.255.0.0
#
interface Vlan-interface28
 description name
 ip address 172.15.0.1 255.255.252.0
#
interface Vlan-interface30
 description name
 ip address 10.50.0.1 255.255.254.0
#
interface Vlan-interface31
 description name
 ip address 10.105.0.1 255.255.254.0
#
interface FortyGigE1/0/49
port link-mode bridge
#
interface FortyGigE1/0/50
 port link-mode bridge
#
interface FortyGigE2/0/49
 port link-mode bridge
#
interface FortyGigE2/0/50
 port link-mode bridge
#
interface FortyGigE1/0/51
#
interface FortyGigE1/0/52
#
interface FortyGigE2/0/51
#
interface FortyGigE2/0/52
#
interface M-GigabitEthernet0/0/0
#
interface Ten-GigabitEthernet1/0/1
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/2
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/3
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/4
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/5
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/6
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/7
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/8
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/9
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/10
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/11
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/12
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
 interface Ten-GigabitEthernet1/0/13
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/14
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/15
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/16
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/17
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/18
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/19
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/20
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/21
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/22
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/23
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/24
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/25
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/26
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/27
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/28
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/29
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/30
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/31
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/32
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/33
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/34
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/35
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/36
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/37
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/38
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/39
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/40
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet1/0/41
 port link-mode bridge
# 
interface Ten-GigabitEthernet1/0/42
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/43
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/44
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/45
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/46
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/47
 port link-mode bridge
#
interface Ten-GigabitEthernet1/0/48
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/1
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/2
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/3
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/4
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/5
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/6
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/7
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/8
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/9
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/10
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/11
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/12
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/13
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/14
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/15
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/16
 port link-mode bridge
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/17
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/18
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/19
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/20
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/21
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/22
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/23
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/24
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/25
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/26
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/27
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/28
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/29
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/30
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/31
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/32
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/33
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/34
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/35
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/36
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/37
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/38
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/39
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/40
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 broadcast-suppression pps 3000
 lldp admin-status rx
#
interface Ten-GigabitEthernet2/0/41
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/42
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/43
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/44
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/45
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/46
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/47
 port link-mode bridge
#
interface Ten-GigabitEthernet2/0/48
 port link-mode bridge
#
scheduler logfile size 16
#
line class aux
 user-role network-admin
#
line class vty
 user-role network-operator
#
line aux 0 1
 authentication-mode scheme
 user-role network-admin
#
line vty 0 14
 authentication-mode scheme
 user-role network-operator
 set authentication password hash $h$6$udqk6Dw8bhXm5M4x$zNOiuBeUIOO89+KVx5BhNqMU0aTG735O+1k5YlY6xVHcQhkCpDwRTbWFE4JVvh+9ozkEj2WTdyd7JhcpbORZWQ==
 protocol inbound ssh
#
line vty 15 63
 user-role network-operator
#
 ip route-static 0.0.0.0 0 1.0.0.80
 ip route-static 10.0.3.0 24 10.0.3.254
 ip route-static 10.0.18.151 32 10.0.17.10
 ip route-static 10.2.0.0 24 1.0.0.16
 ip route-static 10.2.1.0 24 1.0.0.16
 ip route-static 10.2.2.0 24 1.0.0.16
 ip route-static 10.2.3.0 24 1.0.0.16
 ip route-static 10.2.4.0 24 1.0.0.16
 ip route-static 10.2.5.0 24 1.0.0.16
 ip route-static 10.2.6.0 24 1.0.0.16
 ip route-static 10.3.0.0 24 10.1.0.2
 ip route-static 10.3.2.0 25 10.1.0.2
 ip route-static 10.3.4.0 23 10.1.0.2
 ip route-static 10.3.6.0 24 10.1.0.2
 ip route-static 10.3.8.0 24 10.1.0.2
 ip route-static 10.6.0.0 24 1.0.0.4
 ip route-static 10.10.0.0 24 1.0.0.4
 ip route-static 10.10.2.0 23 1.0.0.4
 ip route-static 10.20.0.0 24 10.0.18.2
 ip route-static 10.20.1.0 24 10.0.18.2
 ip route-static 10.20.2.0 24 10.0.18.2
 ip route-static 10.21.0.0 24 1.0.0.4
 ip route-static 10.22.0.0 24 1.0.0.4
 ip route-static 10.26.0.0 24 1.0.0.4
 ip route-static 10.28.0.0 25 1.0.0.80
 ip route-static 10.30.0.0 23 1.0.0.16
 ip route-static 10.30.2.0 23 1.0.0.16
 ip route-static 10.30.4.0 23 1.0.0.16
 ip route-static 10.30.6.0 23 1.0.0.16
 ip route-static 10.30.8.0 23 1.0.0.16
 ip route-static 10.30.10.0 23 1.0.0.16
 ip route-static 10.30.12.0 23 1.0.0.16
 ip route-static 10.30.14.0 23 1.0.0.16
 ip route-static 10.80.2.1 32 1.0.0.80
 ip route-static 172.16.2.0 24 1.0.0.16
 ip route-static 172.16.7.20 32 1.0.0.4
 ip route-static 172.16.8.0 24 10.1.0.2
 ip route-static 172.16.10.0 23 172.16.250.1
 ip route-static 172.16.10.0 23 1.0.0.16
 ip route-static 172.16.150.0 24 1.0.0.80
 ip route-static 172.16.246.0 29 172.16.250.1
 ip route-static 172.16.248.0 24 172.16.250.1
 ip route-static 172.21.4.40 30 172.16.0.50
 ip route-static 172.21.7.20 32 172.16.0.50 description name
 ip route-static 192.168.1.137 32 10.0.17.10
 ip route-static 192.168.8.0 24 1.0.0.4
 ip route-static 192.168.15.0 24 1.0.0.4
 ip route-static 192.168.20.0 24 1.0.0.16
 ip route-static 192.168.25.0 24 1.0.0.4
 ip route-static 192.168.26.0 24 1.0.0.4
 ip route-static 192.168.27.0 24 1.0.0.4
 ip route-static 192.168.28.0 24 1.0.0.4
 ip route-static 192.168.29.0 24 1.0.0.4
 ip route-static 192.168.30.0 24 10.1.0.2
 ip route-static 192.168.32.0 25 10.1.0.2
 ip route-static 192.168.33.0 25 10.1.0.2
 ip route-static 192.168.36.0 25 10.1.0.2
 ip route-static 192.168.37.0 25 10.1.0.2
 ip route-static 192.168.39.0 25 10.1.0.2
 ip route-static 192.168.40.0 25 10.1.0.2
 ip route-static 192.168.46.0 25 10.1.0.2
 ip route-static 192.168.50.0 25 10.1.0.2
 ip route-static 192.168.52.0 25 10.1.0.2
 ip route-static 192.168.55.0 24 1.0.0.4
 ip route-static 192.168.57.0 24 1.0.0.4
 ip route-static 192.168.58.0 24 1.0.0.4
 ip route-static 192.168.60.0 24 10.0.17.100
 ip route-static 192.168.60.0 24 10.0.18.2
 ip route-static 192.168.61.0 24 10.0.17.101
 ip route-static 192.168.61.0 24 10.0.18.2
 ip route-static 192.168.62.0 24 10.0.17.101
 ip route-static 192.168.62.0 24 10.0.18.2
 ip route-static 192.168.63.0 24 10.0.18.2
 ip route-static 192.168.64.0 24 10.0.18.2
 ip route-static 192.168.65.0 24 10.0.18.2
 ip route-static 192.168.66.0 24 10.0.18.2
 ip route-static 192.168.168.0 24 10.0.17.10
 ip route-static 192.168.168.1 32 10.0.18.2
 ip route-static 192.168.190.0 24 10.0.18.2
#
 snmp-agent
 snmp-agent local-engineid 8000002B00186E3B95806877
 snmp-agent community write private
 snmp-agent community read public
 snmp-agent sys-info contact ING. LUIS CARLOS TISNES
 snmp-agent sys-info location COLANTA
 snmp-agent sys-info version all   
#
 ssh server enable
 ssh user admin service-type all authentication-type password
 ssh user aperez service-type all authentication-type password
 ssh user luisto service-type all authentication-type password
 ssh user manager service-type all authentication-type password
 ssh user monitor service-type all authentication-type password
#
 undo arp check enable
#
 acl number 3000
  rule 1 permit ip destination 1.0.0.0 0.0.0.255
  rule 2 permit ip destination 10.50.0.0 0.0.0.255
  rule 3 deny ip
#
acl number 3997
 rule 0 permit ip dscp ef
 rule 1 permit tcp destination-port eq www
 rule 2 permit udp destination-port eq snmp
 rule 3 permit udp destination-port eq snmptrap
 rule 4 permit ip dscp cs6
 rule 5 permit ip dscp cs7
#
acl number 4999
 rule 0 permit type 8868 ffff
 rule 1 permit source-mac 00e0-bb00-0000 ffff-ff00-0000
 rule 2 permit source-mac 0003-6b00-0000 ffff-ff00-0000
 rule 3 permit source-mac 00e0-7500-0000 ffff-ff00-0000
 rule 4 permit source-mac 00d0-1e00-0000 ffff-ff00-0000
 rule 5 permit source-mac 0001-e300-0000 ffff-ff00-0000
 rule 6 permit source-mac 000f-e200-0000 ffff-ff00-0000
 rule 7 permit source-mac 0060-b900-0000 ffff-ff00-0000
  rule 8 deny dest-mac 0000-0000-0000 ffff-ffff-ffff
#
 tftp client source interface Vlan-interface1
#
 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 120
#
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$deyPFDMGPgFJ7adt$uX68ryc5oGhvbDNKUIRUQO1wSifKv/RKD9t5Ypt5sm+WlKhIndpqkZVDuwf2lnWVP0bzRvGTtvt+WWya0WI2Xw==
 service-type ssh telnet terminal
 authorization-attribute user-role level-15
 authorization-attribute user-role network-operator
#
local-user aperez class manage
 password hash $h$6$CgtVLHqXomAhXY7T$wbH6PZnSvNnTy72FhYRGG4waQi6Egw4LHoko3oyExR+01XZcvXxsVfaOwc4trUWLPqK/XhNP4nkdmLoTFPOF7A==
 service-type ssh telnet terminal
 authorization-attribute user-role level-15
 authorization-attribute user-role network-operator
#
local-user luisto class manage
 password hash $h$6$xKhxULur7XDSYcUh$ur79cdVQqYUbTjxm4wktTgf+SBqesK0KPz0i2C5iWpHObbJkKbJky1HmjeqISKAFFC4MHLGsySpZ/cKWJcogEA==
 service-type ssh telnet terminal
 authorization-attribute user-role level-15
 authorization-attribute user-role network-operator
#
return
hpe/switch/5900/configuration/configuration_example_script_1.txt · Last modified: 2021/03/19 16:53 by dgonzalez

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki