new-scope

Configures scope shift for the current tunnel of the received packet.

Syntax

new-scope
no new-scope

Parameters

new-scope
Enables scope shift for the route-map.

Modes

Route-map config mode

Usage Guidelines

The no new-scope command disables scope shift for the route-map.

When new-scope is enabled, the packet headers are not decapsulated. The scope of the header is shifted to inner headers in the packet. Further blocks in the packet processing pipeline start using inner headers of the packet.

Examples

The following example configures scope shift for the route-map.

device(conf)# route-map rmap1 10 

device(conf-route-map)# new-scope 
device(config-route-map)# do show route-map all 
route-map rmap1 10 
forward-action deny  
decap 
new-scope 
Policy matches: 0 packets, 0 bytes, 0 Packets/sec, 0 Bits/sec
device(config)# route-map rt 1 
device(config-route-map)# decap 
device(config-route-map)# new-scope 
Error: Terminate is enabled on route-map rt, scopeshift can't enable 

device(config-route-map)# no new-scope  
Error: scopeshift not configured in this route map rt