hpe:switch:5500:configuration:script:configuration_l2_example
# sysname ENTERPRISE NAME # undo password-control aging enable undo password-control length enable undo password-control history enable password-control login-attempt 3 exceed lock-time 120 # super password level 1 simple 1234567890 super password level 2 simple 1234567890 super password level 3 simple 1234567890 # local-server nas-ip 127.0.0.1 key 3com # igmp-snooping enable # radius scheme system # domain system # local-user 1 local-user admin password simple 1234567890 service-type telnet terminal level 3 local-user manager password simple 1234567890 service-type telnet terminal level 2 local-user monitor password simple 1234567890 service-type telnet terminal level 1 # stp disable # 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 00e0-bb00-0000 ffff-ff00-0000 rule 2 permit source 0003-6b00-0000 ffff-ff00-0000 rule 3 permit source 00e0-7500-0000 ffff-ff00-0000 rule 4 permit source 00d0-1e00-0000 ffff-ff00-0000 rule 5 permit source 0001-e300-0000 ffff-ff00-0000 rule 6 permit source 000f-e200-0000 ffff-ff00-0000 rule 7 permit source 0060-b900-0000 ffff-ff00-0000 rule 8 deny dest 0000-0000-0000 ffff-ffff-ffff # qos-profile default packet-filter inbound link-group 4999 rule 8 traffic-priority inbound ip-group 3997 rule 0 cos voice traffic-priority inbound ip-group 3997 rule 4 cos network-management traffic-priority inbound ip-group 3997 rule 5 cos network-management traffic-priority inbound link-group 4999 rule 0 dscp ef cos voice traffic-priority inbound link-group 4999 rule 1 dscp ef cos voice traffic-priority inbound link-group 4999 rule 2 dscp ef cos voice traffic-priority inbound link-group 4999 rule 3 dscp ef cos voice traffic-priority inbound link-group 4999 rule 4 dscp ef cos voice traffic-priority inbound link-group 4999 rule 5 dscp ef cos voice traffic-priority inbound link-group 4999 rule 6 dscp ef cos voice traffic-priority inbound link-group 4999 rule 7 dscp ef cos voice # vlan 1 description Default name Default igmp-snooping enable # vlan 2 description name igmp-snooping enable # vlan 3 description name igmp-snooping enable # vlan 4 description name igmp-snooping enable # vlan 5 description name igmp-snooping enable # vlan 6 description name igmp-snooping enable # vlan 7 description name igmp-snooping enable # vlan 8 description name igmp-snooping enable # vlan 9 description name igmp-snooping enable # vlan 10 description name igmp-snooping enable # vlan 11 description name igmp-snooping enable # vlan 12 description name igmp-snooping enable # vlan 13 description name igmp-snooping enable # vlan 14 description name igmp-snooping enable # vlan 15 description name igmp-snooping enable # vlan 16 description name igmp-snooping enable # vlan 17 description name igmp-snooping enable # vlan 18 description name igmp-snooping enable # vlan 19 description name igmp-snooping enable # vlan 20 description name igmp-snooping enable # vlan 21 description name igmp-snooping enable # vlan 22 description name igmp-snooping enable # vlan 23 description name igmp-snooping enable # vlan 24 description name igmp-snooping enable # vlan 25 description name igmp-snooping enable # vlan 26 description name igmp-snooping enable # interface Vlan-interface1 ip address 172.17.0.15 255.255.254.0 #LOCCFG. MUST NOT DELETE # interface Aux1/0/0 # interface GigabitEthernet1/0/1 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/2 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/3 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/4 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/5 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/6 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/7 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/8 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/9 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/10 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/11 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/12 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/13 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/14 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/15 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/16 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/17 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged rmon statistics 54094 owner 3Com Network Supervisor apply qos-profile default # interface GigabitEthernet1/0/18 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/19 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/20 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/21 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/22 poe enable port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged apply qos-profile default # interface GigabitEthernet1/0/23 port link-type trunk port trunk permit vlan all description NAME lacp enable apply qos-profile default # interface GigabitEthernet1/0/24 port link-type trunk port trunk permit vlan all description NAME lacp enable apply qos-profile default # interface GigabitEthernet1/0/25 port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged shutdown apply qos-profile default # interface GigabitEthernet1/0/26 port link-type hybrid port hybrid vlan 5 tagged port hybrid vlan 1 untagged shutdown apply qos-profile default # interface GigabitEthernet1/0/27 port link-type trunk port trunk permit vlan all shutdown lacp enable apply qos-profile default # interface GigabitEthernet1/0/28 port link-type trunk port trunk permit vlan all shutdown lacp enable apply qos-profile default # interface Cascade1/2/1 # interface Cascade1/2/2 #TOPOLOGYCFG. MUST NOT DELETE #GLBCFG. MUST NOT DELETE # interface NULL0 # voice vlan 5 enable # ip route-static 0.0.0.0 0.0.0.0 172.17.0.2 preference 60 # snmp-agent snmp-agent local-engineid 8000002B001AC15FEE806877 snmp-agent community read public snmp-agent community write private snmp-agent sys-info contact ENGINEER NAME snmp-agent sys-info location NAME LOCATION snmp-agent sys-info version all snmp-agent target-host trap address udp-domain 5.172.131.72 params securityname monitor # user-interface aux 0 7 authentication-mode scheme user-interface vty 0 4 authentication-mode scheme idle-timeout 60 0 # return
hpe/switch/5500/configuration/script/configuration_l2_example.txt · Last modified: 2021/12/10 14:04 by aperez