EDIT: Edited my examples to reflect that I was indeed attempting this with the switch in "configure" mode. Still no joy.
EDIT: I've done some more searching on this issue. I just can't seem to see it clearly in the HP docs, and when I search ServerFault with "hp procurve remove port filter" the only results I see are this question and one other that seems unrelated.
Any Procurve experts out there? 🙂
The Hewlett-Packard Procurve CLI isn't necessarily my strong suit, but this seems like it ought to be kind of obvious (and probably is).
I'm using the command line interface on a HP Procurve 2810-48G (J9022A) Gigabit Ethernet switch.
I have a couple of switch ports with named filters applied. I want to reclaim those ports (and get rid of the filters.) I'm trying to remove port from filter (or remove filter from port, as you prefer) using syntax like the following:
SWITCH0(config)# no filter source-port 1
But I get the message Invalid value.
and no joy. Let's presume the following configuration:
SWITCH0(config)# sh filter source-port
Filter Name | Port List | Action
-------------------- + -------------------- + --------------------------
filter1 | 1 | drop 3-46,Trk1
filter2 | 3 | drop 1-2,5-46,Trk1
The command that I think should disassociate the ports from the filters is giving me grief, and I obviously can't run no filter source-port named-filter filter1
to delete the named-filter itself while it is still applied to the port.
Help?
Best Answer
Old question, but looks like you never found the answer. I had an old filter config from before I created some trunks. The filter rules contained ports that were now in the trunk groups, and this was causing trouble for the switch.