•
Address and variable-length subnet mask
—
You can use an IPv4 address followed by a variable-length
subnet mask (VLSM) to specify a host or a network as a source or destination. The syntax is as follows:
IPv4-address/prefix-len
The following example shows how to specify the
source
argument with the IPv4 address and VLSM for the
192.168.67.0 subnet:
switch(config-acl)#
deny udp 192.168.67.0/24 any
•
Host address
—
You can use the
host
keyword and an IPv4 address to specify a host as a source or
destination. The syntax is as follows:
host
IPv4-address
This syntax is equivalent to
IPv4-address
/32 and
IPv4-address
0.0.0.0.
The following example shows how to specify the
source
argument with the
host
keyword and the
192.168.67.132 IPv4 address:
switch(config-acl)#
deny icmp host 192.168.67.132 any
•
Any address
—
You can use the
any
keyword to specify that a source or destination is any IPv4 address.
For examples of the use of the
any
keyword, see the examples in this section. Each example shows how
to specify a source or destination by using the
any
keyword.
ICMP Message Types
The
icmp-message
argument can be one of the following keywords:
•
administratively-prohibited
—
Administratively prohibited
•
alternate-address
—
Alternate address
•
conversion-error
—
Datagram conversion
•
dod-host-prohibited
—
Host prohibited
•
dod-net-prohibited
—
Net prohibited
•
echo
—
Echo (ping)
•
echo-reply
—
Echo reply
•
general-parameter-problem
—
Parameter problem
•
host-isolated
—
Host isolated
•
host-precedence-unreachable
—
Host unreachable for precedence
•
host-redirect
—
Host redirect
•
host-tos-redirect
—
Host redirect for ToS
•
host-tos-unreachable
—
Host unreachable for ToS
•
host-unknown
—
Host unknown
•
host-unreachable
—
Host unreachable
•
information-reply
—
Information replies
Cisco Nexus 7000 Series Security Command Reference
238
D Commands
deny (IPv4)
Summary of Contents for Nexus 7000 Series
Page 2: ... Cisco Systems Inc All rights reserved ...
Page 20: ...Cisco Nexus 7000 Series Security Command Reference xx Contents ...
Page 62: ...Cisco Nexus 7000 Series Security Command Reference 36 A Commands aaa authentication rejected ...
Page 78: ...Cisco Nexus 7000 Series Security Command Reference 52 A Commands aaa user default role ...
Page 157: ...Cisco Nexus 7000 Series Security Command Reference 131 C Commands crypto ca import ...
Page 172: ...Cisco Nexus 7000 Series Security Command Reference 146 C Commands cts role based sgt map ...
Page 186: ...Cisco Nexus 7000 Series Security Command Reference 160 C Commands cts role based access list ...
Page 256: ...dscp dscp Cisco Nexus 7000 Series Security Command Reference 230 D Commands deny IPv4 ...
Page 271: ...protocol Cisco Nexus 7000 Series Security Command Reference 245 D Commands deny IPv6 ...
Page 274: ...dscp dscp Cisco Nexus 7000 Series Security Command Reference 248 D Commands deny IPv6 ...
Page 291: ...Cisco Nexus 7000 Series Security Command Reference 265 D Commands description identity policy ...
Page 293: ...Cisco Nexus 7000 Series Security Command Reference 267 D Commands description user role ...
Page 299: ...Cisco Nexus 7000 Series Security Command Reference 273 D Commands device role ...
Page 313: ...Cisco Nexus 7000 Series Security Command Reference 287 E Commands enable Cert DN match ...
Page 340: ...Cisco Nexus 7000 Series Security Command Reference 314 E Commands eq ...
Page 344: ...Cisco Nexus 7000 Series Security Command Reference 318 F Commands feature cts ...
Page 350: ...Cisco Nexus 7000 Series Security Command Reference 324 F Commands feature ldap ...
Page 369: ...G Commands gt page 344 Cisco Nexus 7000 Series Security Command Reference 343 ...
Page 372: ...Cisco Nexus 7000 Series Security Command Reference 346 G Commands gt ...
Page 398: ...Cisco Nexus 7000 Series Security Command Reference 372 I Commands interface policy deny ...
Page 497: ...Cisco Nexus 7000 Series Security Command Reference 471 K Commands key config key ...
Page 504: ...Cisco Nexus 7000 Series Security Command Reference 478 K Commands key string ...
Page 518: ...Cisco Nexus 7000 Series Security Command Reference 492 L Commands It ...
Page 536: ...Cisco Nexus 7000 Series Security Command Reference 510 M Commands monitor session ...
Page 552: ...Cisco Nexus 7000 Series Security Command Reference 526 O Commands other config flag ...
Page 569: ...dscp dscp Cisco Nexus 7000 Series Security Command Reference 543 P Commands permit IPv4 ...
Page 584: ...protocol Cisco Nexus 7000 Series Security Command Reference 558 P Commands permit IPv6 ...
Page 587: ...dscp dscp Cisco Nexus 7000 Series Security Command Reference 561 P Commands permit IPv6 ...
Page 622: ...Cisco Nexus 7000 Series Security Command Reference 596 P Commands propagate sgt ...
Page 664: ...Cisco Nexus 7000 Series Security Command Reference 638 R Commands rule ...
Page 737: ...Cisco Nexus 7000 Series Security Command Reference 711 Show Commands show arp access lists ...
Page 841: ...Cisco Nexus 7000 Series Security Command Reference 815 Show Commands show ipv6 dhcp ldra ...
Page 992: ...Cisco Nexus 7000 Series Security Command Reference 966 T Commands trustedCert ...
Page 1015: ...Cisco Nexus 7000 Series Security Command Reference 989 V Commands vlan policy deny ...
Page 1017: ...Cisco Nexus 7000 Series Security Command Reference 991 V Commands vrf policy deny ...
Page 1018: ...Cisco Nexus 7000 Series Security Command Reference 992 V Commands vrf policy deny ...