set interface

Specifies an egress interface for a route-map.

Syntax

set interface { ethernet slot / port | null0 | port-channel number }
no set interface { ethernet slot / port | null0 | port-channel number }

Parameters

ethernet slot / port
Specifies an Ethernet interface. If the device does not have linecards, specify 0.
null0
Specifies the Null0 interface, dropping the packet.
port-channel number
Specifies a port-channel interface.

Modes

Route-map configuration mode

Usage Guidelines

The order of the set statements in a route-map is critical: In general, a match followed by a valid set interface statement stops further processing. However a set interface NULL0 statement is always processed last.

The maximum number of set interface statements supported in a stanza is 128.

To delete a set interface statement from a route map, enter the no form of this command.