Networking, Security & Cloud Knowledge

Wednesday, November 24, 2010

011 hp switches command






HP procurve 2510-48 switch


Hp_procurve# conf t

Hp_procurve(config)# hostname xyz <>


---------------------------------------------------------------------------------------------

Hp_procurve (conifg)# password manager <>

Hp_procurve (conifg)# password operator


----------------------------------------------------------------------------------------------

Hp_procurve(config)# management-vlan 1 <>

Hp_procurve(config)# vlan 1
Hp_procurve(vlan-1)# ip address 192.168.1.10 255.255.255.0


Hp_procurve(config)# management-vlan 10

Hp_procurve(config)# vlan 10

Hp_procurve(vlan-10)# ip address 192.168.10.10 255.255.255.0




Hp_procurve (config)# ip default-gateway 192.168.1.1


-----------------------------------------------------------------------------------------------------------------

Hp_procurve (conifg)# ip authorized-manager =>range of address who can mange switch


Hp_procurve (conifg)# loggin <>

Loggin facility local 0


-----------------------------------------------------------------------------------------------------------------


Configuring SNMP

Hp_procurve(config)# snmp-server community ASCII-STRING operator

Hp_procurve (config) # snmp-server host

-----------------------------------------------------------------------------------------------------------------

Configuring VLAN

Hp_procurve(config) # vlan 32

Hp_procurve(vlan-32)# name vlan_name

Hp_procurve (config)# vlan 32 untagged ethernet 1-46 =>port Ethernet 1-46 is in vlan 32


Hp_procurve(config) # vlan 4

Hp_procurve(vlan-32)# name vlan_name

Hp_procurve (config)# vlan 32 untagged ethernet 47-48 =>port Ethernet 47-148 in vlan 4


Hp_procurve(config) # vlan 32

Hp_procurve(vlan-32)# name vlan_name

Hp_procurve (config)# vlan 32 untagged ethernet 1-46 =>port Ethernet 1-46 is in vlan 32


Configuring Trunk

Hp_procurve(config)# trunk Ethernet 24 trk 1


Hp_procurve (conifg)# vlan 32 tagged Ethernet 51

Hp_procurve (conifg)# vlan 4 tagged Ethernet 51

Hp_procurve (conifg)# vlan 10 tagged Ethernet 51


----------------------------------------------------------------------------------------------------------------

Configuring AAA authentication using TACACS

Hp_procurve(config)# aaa authentication num-attempts {1-10}

Hp_procurve (conifg)# aaa authentication login privilege-mode

Hp_procurve (conifg)# aaa authentication telnet login tacacs local

Hp_procurve (conifg)# aaa authentication telnet enable tacacs local

Hp_procurve (conifg)# tacacs-server host key


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.