HP ProCurveSwitch 2008.11.21(2011.06.01 Updated) Akira Tsumura@ILO,Inc : HP
HP ProCurveSwitch 2848 cisco Catalyst (IOS12.x)
HP ProCurveSwitch2848 USB- LAN
VLAN(PortVLAN TaggedVLAN) (STP)
config
OSI Layer2( ) MAC 5000 HUB
(SNMP) (STP) (VLAN) TCP/IP telnet
OSI Layer3( )
OSI Layer4
Console USB- PC COM 9600bps 8bit 1bit
cisco cisco Systems cisco IOS cisco
PC1-192.168.1.11/24 PC2-192.168.1.21/24 PC3-192.168.1.12/24 PC4-192.168.1.22/24 PC5-192.168.1.13/24 PC6-192.168.1.23/24 PC7-192.168.1.14/24 PC8-192.168.1.24/24 SW01-192.168.1.31/24 SW02-192.168.1.32/24 SW03-192.168.1.33/24 SW04-192.168.1.34/24
config switch# show run
config strage-sw-04# sh run Running configuration: ; J9021A Configuration Editor; Created on release #N.11.06 # hostname "switch" # interface 1 interface 1 # disable # interface exit # vlan ID:1 vlan 1 # VLAN "DEFAULT_VLAN" name "DEFAULT_VLAN" # ( VLAN) 1 24 untagged 1-24 # vlan exit
[ ] switch(config)# interface 1 switch(eth-1)# diseble switch(eth-1)# exit switch(config)# cisco shutdown
interface -> int Enable -> ena disable > dis etc 1 48 -> 1-48 1 # int 1-48 dis
[ ] switch(config)# interface 1 switch(eth-1)# enable switch(eth-1)# exit switch(config)# cisco no shutdown no
switch(eth-1)# speed-duplex auto switch(eth-1)# speed-duplex 100-Full switch(eth-1)# speed-duplex 10-Harf switch(eth-1)# speed-duplex 100-auto Speed Duplex GbE auto cisco IOS 12.3 Router(config-if)#speed? 10 Force 10 Mbps operation 100 Force 100 Mbps operation auto Enable AUTO speed configuration Router(config-if)#full-duplex Router(config-if)#half-duplex
switch# show interface 1 switch# show interfaces config
PC IP
IP switch(config)# vlan 1 switch(vlan-1)# ip address 192.168.1.11/24 switch(vlan-1)# exit switch(config)# exit switch# 255.255.255.0 255.255.255.0 => 11111111 11111111 11111111 00000000 => 24
PC ping Start=> => => C:\Users\Homupero> ping 192.168.1.21 PC ping switch# ping 192.168.1.11
switch# write memory cisco copy (copy run sta) HP ProCurveSwitch tftp copy cisco HP ProCurveSwitch
Auto MDI-X Cat5e 1000Base-T 100Base-TX
PC ping
VLAN VLAN VLAN(VirtualLAN) VLAN PortVLAN VLAN TaggedVLAN
VLAN PortVLAN Port1 - Port2 - Port3 - Port4 - Port5 - Port6 - Port7 -
VLAN Switch VLAN:10 VLAN:20
VLAN TaggedVLAN Port1 - Tag.10 Port2 - Tag.20 Port3 - Tag.30 Port4 - Tag.10 Port5 - Tag.20 Port6 - Tag.30 Port7 - Tag.10,20,30 Tag.10 Tag.20 Tag30 Port7 " TaggedVLAN " IEEE802.1q cisco ISL
VLAN Switch VLAN:10 VLAN:20
VLAN VLAN ProCurveSwitch VLAN VLAN VLAN
VLAN VLAN VLANID:10 switch# configration switch(config)# vlan 10 switch(vlan-10)# exit switch(config)# exit show run config VLAN show vlan VLAN VLAN 20
VLAN cisco Catalyst2950 Catalyst2900XL VLAN DB cisco ISL 2900XL.1q VLAN ID:1 VLAN VLAN VLAN VLAN VLAN VLAN ID:1
VLAN VLAN VLAN UntaggedPort( ) Untagged VLAN 1 1 Untagged VLAN 10 switch# configration switch(config)# vlan 10 switch(vlan-10)# untagged 1 switch(vlan-10)# exit switch(config)# exit Port1
VLAN 2 Untagged VLAN 10 switch# configration switch(config)# vlan 10 switch(vlan-10)# untagged 2 switch(vlan-10)# exit switch(config)# exit 1 2 VLAN
VLAN cisco VLAN VLAN seitch(config)# interface Fe0/1 switch(interface)# switchport mode access switch(interface)# switchport access vlan 10
VLAN VLAN VLAN Port45-48 VLAN10,20 switch# configration switch(config)# vlan 10 switch(vlan-10)# tagged 45-48 switch(vlan-10)# exit switch(config)# vlan 20 switch(vlan-20)# tagged 45-48 switch(vlan-20)# exit switch(config)# exit Port45-48 Tag VLAN VLAN10,20 Port45-48 VLAN 10 Port1,2
VLAN Port2 UnTaggidPort VLAN 10 20 switch# configration switch(config)# vlan 20 switch(vlan-20)# untagged 2 switch(vlan-20)# exit switch(config)# exit Port1 - VLAN 10 Port2 - VLAN 20
VLAN cisco VLAN trunkport VLAN VLAN trunk seitch(config)# interface Fe0/1 switch(config-if)# switchport mode access switch(config-if)# switchport access trunk
VLAN IP IP VLAN 1 VLAN IP VLAN switch# configration switch(config)# vlan 20 switch(vlan-20)# name "test-vlan.1 switch(vlan-20)# ip address 192.168.1.11/24 switch(vlan-20)# exit switch(config)# name ip address no # no name # no ip address
bbbb Repeat HUB bbbb Repeat HUB
. ( )....
T
NIC NIC NIC Linux bonding
STP RSTP STP PVST VLAN MST VLAN
STP STP
config
VLAN VLAN switch# configraion switch(config)# vlan 1 switch(vlan-1)# untagged 1-48 switch(vlan-1)# exit
config stp-config.txt TeraTerm
45 48
# show spanning-tree # show spanning-tree Forwarding - Disabled - Blocking - SpanningTree
PC ping ping 192.168.0.21 -t show spanning-tree ping ping
spanning-tree "no spanning-tree" MAC
switch(config)# password operator switch(config)# password manager telnet
http://www.ilo.co.jp/ info@ilo.co.jp ( ω )