Creates and configures a permit prefix-list rule. The permit rule specifies match criteria based on which prefixes received from (or transmitted to) a BGP neighbor are filtered. A permit action is applied on these filtered prefixes. For example, in the BGP router neighbor context a filter is applied using a IP prefix list. The list contains a permit rule with a prefix to match as 172.168.10.0/24. All prefixes received from the neighbor matching this prefix are permitted.
permit prefix-list <1-4294967295> [<PREFIX-TO-MATCH/MASK>|any]
permit prefix-list <1-4294967295> [<PREFIX-TO-MATCH/MASK>|any]
deny prefix-list <1-4294967295> [<PREFIX-TO-MATCH/MASK>|any] | Creates and configures a permit prefix-list rule
Use the ‘ge‘ and ‘le‘ options to specify a IP prefix length range. Use these
options to specify a more specific (granular) prefix match criteria.
|
nx9500-6C8809(config-bgp-ip-prefix-list-test)#permit prefix-list 2 172.122.10.0/24
nx9500-6C8809(config-bgp-ip-prefix-list-test)#show context bgp ip-prefix-list test deny prefix-list 1 168.192.13.0/24 permit prefix-list 2 172.122.10.0/24 nx9500-6C8809(config-bgp-ip-prefix-list-test)#
no (ip-prefix-list) | Removes a permit, ip-prefix-list rule from this IP prefix list |