Tuesday 24 November 2015

IT Issues

HP Procurve 5406 & 5412 Switch Commands:-

How to trunk, Remove, Add, Vlan & tag/untag ports from CLI

Login to switch & follow below steps:-


ProCurve#configure

ProCurve(config)#show trunks

ProCurve(config)#no Trunk k1-k4

ProCurve(config)#trunk trk11 k1-k4 trunk

ProCurve(config)#vlan 11

ProCurve(vlan11)#untagged trk11

Lacp CLI:-
ProCurve(config)# Show lacp
ProCurve(config)#vlan2
ProCurve(vlan2)#trunk c1-c4 trk1 lacp

you can trunk across different modules.
exp: trunk a1,b1 trk1 trunk
works just fine.


How to configure Speed of the ports form CLI:-

ProCurve(config)# int e c1-c3,c6 speed-duplex 100-full
or
ProCurve(config)# int e c6
ProCurve(eth-C6)# speed-duplex 100-full

auto-1000 is default works for 1G
ProCurve(eth-C6)#  speed-duplex auto-1000

These commands enable and configure port C8 from the config level:-


ProCurve(config)# int e c8 enable
ProCurve(config)# int e c8 speed-duplex 100-full
ProCurve(config)# int e c8 flow-control


These commands select the context level for port C8 and then apply all
of the configuration commands to port C8:-

ProCurve(config)# int e c8
ProCurve(eth-C8)# enable
ProCurve(eth-C8)# speed-duplex 100-full
ProCurve(eth-C8)# flow-control


No comments:

Post a Comment