deny (bgp-ip-access-list)

Creates and configures a deny entry for this BGP IP ACL

Supported in the following platforms:

Syntax

deny access-list [<PREFIX-TO-MATCH/MASK> {exact-match}|any]

Parameters

deny access-list [<PREFIX-TO-MATCH/MASK> {exact-match}|any]
deny access-list [<PREFIX-TO-MATCH/MASK> {exact-match}|any] Creates and configures a deny entry for this BGP IP ACL
  • <PREFIX-TO-MATCH/MASK> – Specify the prefix to match.
    • exact-match – Optional. Enables an exact match of the prefix provided in the previous step. When configured, the route is denied only in case of an exact match.
  • any – Specifies the prefix to match as ‘any‘.

Examples

nx9500-6C8809(config-bgp-ip-access-list-test)#deny access-list 192.168.13.0/24 
exact-match
nx9500-6C8809(config-bgp-ip-access-list-test)#show context
bgp ip-access-list test
 deny access-list 192.168.13.0/24 exact-match
nx9500-6C8809(config-bgp-ip-access-list-test)#

Related Commands

no (bgp-ip-acess-list) Removes the specified the deny entry in this IP BGP ACL