DGS-6604
m
set interface
CLI Reference Guide
556
set interface
Use the command in route-map configuration mode to set the interface to route
the packets that pass a match clause of a route map. To remove the setting, use
the
no
form of the command to remove the setting.
set interface
INTERFACE-NAME
no set interface [
INTERFACE-NAME
]
Default
Not configured
Command Mode
Route-map configuration
Usage Guideline
If other set clauses for policy based routing are used with the command, they will
be evaluated based on the following ordering:
1. set ip next-hop
2. set interface
3. set ip default next-hop
4. set default interface
With this ordering, the set next-hop clauses and the set interface clauses will be
evaluated before look up of the routing table. If route cannot be found for the
packets, the set ip default next-hop and set default interface command will be
evaluated.
Example
The following example sends packets with the destination IP address specified
by access list name IPACL-01 are output to Vlan200.
You can verify your settings by entering the
show route-map
privileged
EXEC
command.
Syntax Description
INTERFACE-NAME
Specify the interface to route the packet.
Switch(config)#route-map example permit 10
Switch(config-route-map)# match ip address IPACL-01
Switch(config-route-map)# set interface vlan200
Switch(config-route-map)# exit
Switch(config)#interface vlan100
Switch(config-if)#ip policy route-map example
Switch(config-if)#exit
Switch(config)#
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...