no (bgp-route-map)

Removes or reverts the settings defined for a deny or permit route-map rule

Supported in the following platforms:

Syntax

no [description|match <PARAMETERS>|set <PARAMETERS>]

Parameters

no <PARAMETERS>
no <PARAMETERS> Removes the description configured for a deny or permit route-map rule

Examples

The following example shows the ‘deny route-map rule-1‘ settings before the ‘no‘ commands are executed:

nx9500-6C8809(config-dr-route-map-test-dr-route-map-rule-1)#show context
 deny route-map 1
  description "This is a deny route map rule"
  match as-path FilterList_01
  match ip-route-source prefix-list PrefixList_01
  set aggregator-as 1 192.168.13.7
  set as-path exclude 20
  set ip next-hop peer-address
  set metric 300
  set local-preference 30
  set community internet
nx9500-6C8809(config-dr-route-map-test-dr-route-map-rule-1)#
nx9500-6C8809(config-dr-route-map-test-dr-route-map-rule-1)#no match as-path
nx9500-6C8809(config-dr-route-map-test-dr-route-map-rule-1)#no set aggregator-as
nx9500-6C8809(config-dr-route-map-test-dr-route-map-rule-1)#no set metric
The following example shows the ‘deny route-map rule-1‘ settings after the ‘no‘ commands are executed:
nx9500-6C8809(config-dr-route-map-test-dr-route-map-rule-1)#show context
 deny route-map 1
  description "This is a deny route map rule"
  match ip-route-source prefix-list PrefixList_01
  set as-path exclude 20
  set ip next-hop peer-address
  set local-preference 30
  set community internet
nx9500-6C8809(config-dr-route-map-test-dr-route-map-rule-1)#
The following example shows the route-map ‘test‘ settings:
nx9500-6C8809(config-dr-route-map-test)#show context
route-map test
 deny route-map 1
  description "This is a deny route map rule"
  match ip-route-source prefix-list PrefixList_01
  set as-path exclude 20
  set ip next-hop peer-address
  set local-preference 30
  set community internet
 permit route-map 2
  match ip-next-hop DL_01
nx9500-6C8809(config-dr-route-map-test)#