So; it seems 2950's don't support VACL's, which sucks a bit since I'm having a bit of trouble understanding them. I'll copy the example from the official cert guide (page 227) for discussion.
Cat3550(config)# access-list 100 permit tcp any host 10.1.1.2 eq telnet
Cat3550(config)# vlan access-map ALLOWTELNET 10
Cat3550(config-access-map)# match ip address 100
Cat3550(config-access-map)# action forward
Cat3550(config-access-map)# exit
Cat3550(config)# vlan filter ALLOWTELNEt vlan-list 1-100
line 1 I get; it's standard extended ACL format.
line 2 I don't entirely get; you're making an access-map named ALLOWTELNET, but why is the 10 needed?
line 3 I sortof get; you're matching ACL 100 to your access-map (although I have to ask how it works if your ACL has multiple lines; do they all get applied?)
line 4 I sortof get; it specifies what to do with frames that match the statement(s?) from line 3 (making the permit from line 1 unnecessary? could it have been deny with no difference?)
line 5. duh.
line 6 is fine; you're just assigning the access-map to vlans 1-100.
Can anyone explain the problems I'm having understanding line 2 mainly, but also lines 3 and 4 to a lesser extent?
[EDIT for 2nd example begins here]
A second example, found
here makes marginally more sense:
SW2(config)#ip access-list extended ACL_TELNETR1_R2
SW2(config-ext-nacl)#permit tcp host 10.10.10.1 host 10.10.10.2 eq 23
SW2(config-ext-nacl)#vlan access-map VACL_STOPTELNET
SW2(config-access-map)#action drop
SW2(config-access-map)#match ip address ACL_TELNETR1_R2
SW2(config-access-map)#vlan access-map VACL_STOPTELNET
SW2(config-access-map)#action forward
SW2(config-access-map)#exit
Line 1 creates a named access-list, and line 2 is pretty standard extended ACL format. No problems.
Line 3 creates an access-map again, but does NOT have a number at the end. ???
Lines 4 and 5 I think match lines 3 and 4 in the previous example (so the order doesn't matter?)
Lines 6 and 7 are like 4 & 5, but in reverse order, so I guess the order doesn't matter; but how would the IOS know which action to put with which match if the order doesn't matter? I guess it's not too difficult: match if it's waiting for a match, or make a 'wait for match' condition if not.