User Tools

Site Tools


hpe:switch:5800:configuration:configuration_example_script_3
#
 version 5.20, Release 1211P01
#
 sysname A5800
#
 super password level 1 simple 1234567890
 super password level 2 simple 1234567890
 super password level 3 simple 1234567890
#
 dhcp relay server-group 1 ip 10.57.0.100
#
  irf mac-address persistent timer
 irf auto-update enable
 undo irf link-delay
#
 domain default enable system
#
 telnet server enable
#
 udp-helper enable
#
acl number 2000
 description name
rule 0 permit source 10.57.12.0 0.0.0.255
#
acl number 3100
 rule 0 deny ip
 rule 1 permit ip destination 10.57.0.0 0.0.1.255
 rule 2 permit ip destination 10.57.12.0 0.0.1.255
 rule 3 permit ip destination 10.57.14.0 0.0.1.255
acl number 3101
 rule 0 deny ip destination 10.57.0.13 0
 rule 1 permit ip source 10.57.0.0 0.0.1.255 destination 10.57.0.13 0
 rule 2 permit ip source 10.57.12.0 0.0.1.255 destination 10.57.0.13 0
 rule 3 permit ip source 10.57.8.0 0.0.1.255 destination 10.57.0.13 0
#
igmp-snooping
#
vlan 1
 description Default
 name Default
 igmp-snooping enable
 igmp-snooping querier
#
vlan 500
 description name
 name
#
vlan 501
 description 
 name 
#
vlan 502
 description 
 name 
#
vlan 503
 description 
 name 
#
vlan 504
 description 
 name 
#
vlan 505
 description 
 name 
#
vlan 506
 description 
 name 
 igmp-snooping enable
 igmp-snooping querier
#
vlan 507
 description
 name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 508
 description
 name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 509
 description
 name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 510
 description 
 name 
 igmp-snooping enable
 igmp-snooping querier
 #
vlan 511
 description 
 name 
 igmp-snooping enable
 igmp-snooping querier
# 
vlan 512
 description 
 name 
 igmp-snooping enable
 igmp-snooping querier
#
vlan 513
 description 
 name 
 igmp-snooping enable
 igmp-snooping querier
#
vlan 514
 description 
 name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 515
 description
 name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 516
 description 
 name 
 igmp-snooping enable
 igmp-snooping querier
#
vlan 517
 description 
 name 
 igmp-snooping enable
 igmp-snooping querier
#
vlan 518
 description 
 name 
 igmp-snooping enable
 igmp-snooping querier
#
vlan 519
 description 
 name 
 igmp-snooping enable
 igmp-snooping querier
#
vlan 520
 description
 name
 igmp-snooping enable
 igmp-snooping querier
#
vlan 521
 description 
 name 
 igmp-snooping enable
 igmp-snooping querier
#
vlan 522
 description
 name 
 igmp-snooping enable
 igmp-snooping querier
#
radius scheme system
 primary authentication 127.0.0.1 1645
 primary accounting 127.0.0.1 1646
 user-name-format without-domain
#
domain system
 access-limit disable
 state active
 idle-cut disable
 self-service-url disable
#
user-group system
#
local-user admin
password simple 1234567890
 authorization-attribute level 3
 service-type ssh telnet terminal
local-user manager
 password simple 1234567890
 authorization-attribute level 2
 service-type ssh telnet terminal
local-user monitor
 password simple 1234567890
 authorization-attribute level 1
 service-type ssh telnet terminal
#
 stp mode rstp
 stp bpdu-protection
#
interface Bridge-Aggregation1
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 link-aggregation mode dynamic
#
interface Bridge-Aggregation2
 description 
port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 link-aggregation mode dynamic
#
interface Bridge-Aggregation3
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 link-aggregation mode dynamic
#
interface Bridge-Aggregation4
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 link-aggregation mode dynamic
#
interface Bridge-Aggregation5
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 505 to 4094
 link-aggregation mode dynamic
#
interface Bridge-Aggregation6
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 to 4094
 link-aggregation mode dynamic
#
interface Bridge-Aggregation7
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 505 to 4094
 link-aggregation mode dynamic
#
interface Bridge-Aggregation8
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 505 to 4094
 link-aggregation mode dynamic
#
interface Bridge-Aggregation9
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 505 to 4094
 link-aggregation mode dynamic
#
interface Bridge-Aggregation10
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 505 to 4094
 link-aggregation mode dynamic
#
interface NULL0
#
interface Vlan-interface1
 description VLAN 1 Default
 ip address 10.57.0.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface503
 description 
 ip address 10.57.36.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface505
 description 
 ip address 172.16.50.1 255.255.255.252
#
interface Vlan-interface506
 description 
 ip address 10.57.2.1 255.255.254.0
#
interface 
 description 
 ip address 10.57.6.1 255.255.254.0
#
interface Vlan-interface508
 description 
 ip address 10.57.8.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface509
 description 
 ip address 10.57.10.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface510
 description 
 ip address 10.57.12.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface511
 description 
 ip address 10.57.14.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface512
 description 
 ip address 10.57.16.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface513
 description 
 ip address 10.57.18.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface514
 description 
 ip address 10.57.20.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface515
 description 
 ip address 10.57.22.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface516
 description 
 ip address 10.57.24.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface517
 description 
 ip address 10.57.26.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface518
 description 
 ip address 10.57.28.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface519
 description 
 ip address 10.57.30.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface520
 description 
 ip address 10.57.32.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface521
 description 
 ip address 10.57.34.1 255.255.254.0
 dhcp select relay
 dhcp relay server-select 1
#
interface Vlan-interface522
 description 
 ip address 10.57.38.1 255.255.254.0
#
interface GigabitEthernet1/0/1
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 510
 poe enable
#
interface GigabitEthernet1/0/2
 port link-mode bridge
 description
 port access vlan 501
 poe enable
#
interface GigabitEthernet1/0/3
 port link-mode bridge
 description 
 port access vlan 502
 poe enable
#
interface GigabitEthernet1/0/4
 port link-mode bridge
 description 
 port access vlan 504
 poe enable
#
interface GigabitEthernet1/0/5
 port link-mode bridge
 description 
 port access vlan 500
 poe enable
#
interface GigabitEthernet1/0/6
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 to 4094
 port link-aggregation group 10
#
interface GigabitEthernet1/0/7
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 broadcast-suppression pps 3000
 poe enable
#
interface GigabitEthernet1/0/8
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 broadcast-suppression pps 3000
 poe enable
#
interface GigabitEthernet1/0/9
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 broadcast-suppression pps 3000
 poe enable
#
interface GigabitEthernet1/0/10
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 broadcast-suppression pps 3000
 poe enable
#
interface GigabitEthernet1/0/11
 port link-mode bridge
 description
 port link-type trunk
 port trunk permit vlan 1 to 500 503 505 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 5
#
interface GigabitEthernet1/0/12
 port link-mode bridge
 description
 port link-type trunk
 port trunk permit vlan 1 to 500 503 505 to 4094
 broadcast-suppression pps 3000
 poe enable
 port link-aggregation group 7
#
interface GigabitEthernet1/0/13
 port link-mode bridge
 description
 broadcast-suppression pps 3000
#
interface GigabitEthernet1/0/14
 port link-mode bridge
 description
 poe enable
#
interface GigabitEthernet1/0/15
 port link-mode bridge
 description
 port access vlan 502
 poe enable
#
interface GigabitEthernet1/0/16
 port link-mode bridge
 description 
 port access vlan 500
 poe enable
#
interface GigabitEthernet1/0/17
 port link-mode bridge
 description 
 port access vlan 500
 poe enable
#
interface GigabitEthernet1/0/18
 port link-mode bridge
 description 
 port access vlan 500
 poe enable
#
interface GigabitEthernet1/0/19
 port link-mode bridge
 description 
 port access vlan 500
 poe enable
#
interface GigabitEthernet1/0/20
 port link-mode bridge
 description
 port link-type trunk
 port trunk permit vlan 1 to 500 503 to 4094
 port link-aggregation group 6
#
interface GigabitEthernet1/0/21
 port link-mode bridge
 description 
 port access vlan 508
 poe enable
#
interface GigabitEthernet1/0/22
 port link-mode bridge
 description 
 port access vlan 508
 poe enable
#
interface GigabitEthernet1/0/23
 port link-mode bridge
 description 
 port access vlan 508
 poe enable
#
interface GigabitEthernet1/0/24
 port link-mode bridge
 description 
 port access vlan 508
 poe enable
#
interface GigabitEthernet2/0/1
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 510
#
interface GigabitEthernet2/0/2
 port link-mode bridge
 description 
 port access vlan 501
#
interface GigabitEthernet2/0/3
 port link-mode bridge
 description 
 port access vlan 502
#
interface GigabitEthernet2/0/4
 port link-mode bridge
 description 
 port access vlan 504
#
interface GigabitEthernet2/0/5
 port link-mode bridge
 description 
 port access vlan 500
#
interface GigabitEthernet2/0/6
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 to 4094
 port link-aggregation group 10
#
interface GigabitEthernet2/0/7
 port link-mode bridge
 description
 port link-type trunk
 port trunk permit vlan 1 to 500 503 to 4094
#
interface GigabitEthernet2/0/8
 port link-mode bridge
 description 
 port access vlan 500
 broadcast-suppression pps 3000
#
interface GigabitEthernet2/0/9
 port link-mode bridge
 description 
 port access vlan 505
 broadcast-suppression pps 3000
#
interface GigabitEthernet2/0/10
 port link-mode bridge
 description 
 port access vlan 508
 broadcast-suppression pps 3000
 poe enable
#
interface GigabitEthernet2/0/11
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 505 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 5
#
interface GigabitEthernet2/0/12
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 505 to 4094
 broadcast-suppression pps 3000
 poe enable
 port link-aggregation group 7
#
interface GigabitEthernet2/0/13
 port link-mode bridge
 description 
#
interface GigabitEthernet2/0/14
 port link-mode bridge
 description 
 port access vlan 508
 broadcast-suppression pps 3000
 poe enable
#
interface GigabitEthernet2/0/15
 port link-mode bridge
 description 
 port access vlan 501
#
interface GigabitEthernet2/0/16
 port link-mode bridge
 description 
 poe enable
#
interface GigabitEthernet2/0/17
 port link-mode bridge
 description 
 port access vlan 507
 broadcast-suppression pps 3000
#
interface GigabitEthernet2/0/18
 port link-mode bridge
 description 
 port access vlan 507
 broadcast-suppression pps 3000
#
interface GigabitEthernet2/0/19
 port link-mode bridge
 description 
#
interface GigabitEthernet2/0/20
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 to 4094
 port link-aggregation group 6
#
interface GigabitEthernet2/0/21
 port link-mode bridge
#
interface GigabitEthernet2/0/22
 port link-mode bridge
#
interface GigabitEthernet2/0/23
 port link-mode bridge
#
interface GigabitEthernet2/0/24
 port link-mode bridge
#
interface M-GigabitEthernet0/0/0
#
interface Ten-GigabitEthernet1/0/25
 port link-mode bridge
 description
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 1
#
interface Ten-GigabitEthernet1/0/26
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 2
#
interface Ten-GigabitEthernet1/0/27
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 3
#
interface Ten-GigabitEthernet1/0/28
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 4
#
interface Ten-GigabitEthernet1/1/1
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 505 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 8
#
interface Ten-GigabitEthernet1/1/2
 port link-mode bridge
 description CONE
 port link-type trunk
 port trunk permit vlan 1 to 500 503 505 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 9
#
interface Ten-GigabitEthernet2/0/25
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 1
#
interface Ten-GigabitEthernet2/0/26
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 2
#
interface Ten-GigabitEthernet2/0/27
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 3
#
interface Ten-GigabitEthernet2/0/28
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 499 503 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 4
#
interface Ten-GigabitEthernet2/1/1
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 505 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 8
#
interface Ten-GigabitEthernet2/1/2
 port link-mode bridge
 description 
 port link-type trunk
 port trunk permit vlan 1 to 500 503 505 to 4094
 broadcast-suppression pps 3000
 port link-aggregation group 9
#
interface Ten-GigabitEthernet1/1/3
#
interface Ten-GigabitEthernet1/1/4
#
interface Ten-GigabitEthernet2/1/3
#
interface Ten-GigabitEthernet2/1/4
#
 ip route-static 0.0.0.0 0.0.0.0 10.57.0.2
 ip route-static 10.57.40.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.42.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.46.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.48.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.50.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.52.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.54.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.56.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.58.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.60.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.62.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.64.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.66.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.68.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.70.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.72.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.74.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.76.0 255.255.254.0 10.57.0.15
 ip route-static 10.57.76.0 255.255.255.252 10.57.0.15
 ip route-static 172.16.2.0 255.255.254.0 10.57.0.15
 ip route-static 172.16.52.0 255.255.255.252 10.57.0.15
 ip route-static 172.16.62.0 255.255.254.0 10.57.0.15
 ip route-static 172.16.80.0 255.255.255.248 10.57.0.17
#
snmp-agent
 snmp-agent local-engineid 8000002B001EC17AC8006877
 snmp-agent community read public
 snmp-agent community write private
 snmp-agent sys-info version all
#
#
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.                                                                      *
***********************************************************************************************
#
 dhcp enable
#
 load xml-configuration
#
 load tr069-configuration
#
user-interface aux 0 1
 authentication-mode scheme
user-interface vty 0 15
 authentication-mode scheme
#
irf-port 1/2
 port group interface Ten-GigabitEthernet1/1/3 mode normal
 port group interface Ten-GigabitEthernet1/1/4 mode normal
#
irf-port 2/1
 port group interface Ten-GigabitEthernet2/1/3 mode normal
 port group interface Ten-GigabitEthernet2/1/4 mode normal
#
return
hpe/switch/5800/configuration/configuration_example_script_3.txt · Last modified: 2021/03/27 08:25 by dgonzalez

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki