
40-155
Default:
No named MAC-IP access-list.
Usage Guide:
After assigning this command for the first time, only an empty name access-list is created and no list item included.
Examples:
Create an MAC-IP ACL named macip_acl.
Switch(config)# mac-ip-access-list extended macip_acl
Switch(Config-MacIp-Ext-Nacl-macip_acl)#
40.18 permit | deny (ip extended)
Command:
[no] {deny | permit} icmp {{
<sIpAddr>
<sMask>
} | any-source | {host-source
<sIpAddr>
}} {{
<dIpAddr>
<dMask>
} | any-destination | {host-destination
<dIpAddr>
}} [
<icmp-type>
[
<icmp-code>
]] [precedence
<prec>
] [tos
<tos>
][time-range
<time-range-name>
]
[no] {deny | permit} igmp {{
<sIpAddr>
<sMask>
} | any-source | {host-source
<sIpAddr>
}} {{
<dIpAddr>
<dMask>
} | any-destination | {host-destination
<dIpAddr>
}} [
<igmp-type>
] [precedence
<prec>
] [tos
<tos>
][time-range
<time-range-name>
]
[no] {deny | permit} tcp {{
<sIpAddr>
<sMask>
} | any-source | {host-source
<sIpAddr>
}} [s-port {
<sPort>
|
range
<sPortMin> <sPortMax>
}] {{
<dIpAddr> <dMask>
} | any-destination | {host-destination <
dIpAddr
> }}
[d-port {
<dPort>
| range
<dPortMin>
<
dPortMax>
}] [ack+fin+psh+rst+urg+syn] [precedence
<prec>
] [tos
<tos>
][time-range
<time-range-name>
]
[no] {deny
| permit}
udp {{
<sIpAddr>
<sMask>
} |
any-source
| {host-source
<sIpAddr>
}} [s-port
{ <sPort
> |
range
<sPortMin
>
<sPortMax>
}] {{ <dIpAddr>
<dMask>
} | any-destination
| {host-destination
<dIpAddr>
}}
[
d-port { <
dPort> |
range
<dPortMin>
<
dPortMax>
}] [precedence
<prec>
] [tos
<tos>
][time-range
<time-range-name>
]
[no] {deny | permit} {eigrp | gre | igrp | ipinip | ip | ospf | <
protocol-num
>} {{
<sIpAddr>
<sMask>
} |
any-source | {host-source
<sIpAddr>
}} {{
<dIpAddr>
<dMask>
} | any-destination | {host-destination
<dIpAddr>
}} [precedence
<prec>
] [tos
<tos>
][time-range
<time-range-name>
]
Functions:
Create a name extended IP access rule to match specific IP protocol or all IP protocol.