11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>smatch (access-map configuration)match (access-map configuration)Use the match access-map configuration comm<strong>and</strong> on the switch stack or on a st<strong>and</strong>alone switch to setthe VLAN map to match packets against one or more access lists. Use the no form of this comm<strong>and</strong> toremove the match parameters.match {ip address {name | number} [name | number] [name | number]...} | {mac address {name}[name] [name]...}no match {ip address {name | number} [name | number] [name | number]...} | {mac address{name} [name] [name]...}Syntax Descriptionip addressmac addressnamenumberSet the access map to match packets against an IP address access list.Set the access map to match packets against a MAC address access list.Name of the access list to match packets against.Number of the access list to match packets against. This option is not valid for MACaccess lists.DefaultsThe default action is to have no match parameters applied to a VLAN map.Comm<strong>and</strong> ModesAccess-map configurationComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesYou enter access-map configuration mode by using the vlan access-map global configuration comm<strong>and</strong>.You must enter one access list name or number; others are optional. You can match packets against oneor more access lists. Matching any of the lists counts as a match of the entry.In access-map configuration mode, use the match comm<strong>and</strong> to define the match conditions for a VLANmap applied to a VLAN. Use the action comm<strong>and</strong> to set the action that occurs when the packet matchesthe conditions.Packets are matched only against access lists of the same protocol type; IP packets are matched againstIP access lists, <strong>and</strong> all other packets are matched against MAC access lists.Both IP <strong>and</strong> MAC addresses can be specified for the same map entry.OL-9776-08<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> Reference2-345

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!