This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hp_procurve_2520g-8-poe [2014/11/26 14:13] val |
hp_procurve_2520g-8-poe [2015/10/21 11:47] (current) val |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== HP ProCurve 2520G-8-PoE ====== | ====== HP ProCurve 2520G-8-PoE ====== | ||
- | [[http://val.bmstu.ru/unix/HP/]] | + | * [[http://val.bmstu.ru/unix/HP/]] |
+ | ===== Базовая конфигурация ===== | ||
<code> | <code> | ||
- | ProCurve Switch 2520G-8-PoE# show running-config | + | ProCurve# show running-config |
Running configuration: | Running configuration: | ||
Line 10: | Line 11: | ||
; J9298A Configuration Editor; Created on release #J.14.01 | ; J9298A Configuration Editor; Created on release #J.14.01 | ||
- | hostname "ProCurve Switch 2520G-8-PoE" | + | hostname "ProCurve" |
- | mirror-port 1 | + | |
vlan 1 | vlan 1 | ||
name "DEFAULT_VLAN" | name "DEFAULT_VLAN" | ||
- | untagged 1-5,7-10 | + | untagged 7-10 |
ip address 172.16.1.250 255.255.255.0 | ip address 172.16.1.250 255.255.255.0 | ||
- | no untagged 6 | + | no untagged 1-6 |
exit | exit | ||
vlan 106 | vlan 106 | ||
name "corp6" | name "corp6" | ||
untagged 6 | untagged 6 | ||
- | tagged 10 | + | tagged 9-10 |
no ip address | no ip address | ||
exit | exit | ||
- | interface 2-5 | + | vlan 101 |
- | monitor | + | name "corp1" |
+ | untagged 1 | ||
+ | tagged 9-10 | ||
+ | no ip address | ||
+ | exit | ||
+ | vlan 102 | ||
+ | name "corp2" | ||
+ | untagged 2 | ||
+ | tagged 9-10 | ||
+ | no ip address | ||
+ | exit | ||
+ | vlan 103 | ||
+ | name "corp3" | ||
+ | untagged 3 | ||
+ | tagged 9-10 | ||
+ | no ip address | ||
+ | exit | ||
+ | vlan 104 | ||
+ | name "corp4" | ||
+ | untagged 4 | ||
+ | tagged 9-10 | ||
+ | no ip address | ||
+ | exit | ||
+ | vlan 105 | ||
+ | name "corp5" | ||
+ | untagged 5 | ||
+ | tagged 9-10 | ||
+ | no ip address | ||
exit | exit | ||
snmp-server community "public" Unrestricted | snmp-server community "public" Unrestricted | ||
password manager procurve | password manager procurve | ||
+ | </code> | ||
+ | |||
+ | ===== Все в 1-й влан ===== | ||
+ | <code> | ||
+ | vlan 1 | ||
+ | untagged 1-10 | ||
+ | </code> | ||
+ | |||
+ | ===== Порты с 1-го по 6-й в vlan с 101 по 106 ===== | ||
+ | <code> | ||
+ | vlan 1 | ||
+ | no untagged 1-6 | ||
+ | vlan 101 | ||
+ | untagged 1 | ||
+ | vlan 102 | ||
+ | untagged 2 | ||
+ | vlan 103 | ||
+ | untagged 3 | ||
+ | vlan 104 | ||
+ | untagged 4 | ||
+ | vlan 105 | ||
+ | untagged 5 | ||
+ | vlan 106 | ||
+ | untagged 6 | ||
+ | vlan 1 | ||
+ | untagged 7-10 | ||
</code> | </code> |