Set Default Interface - D-Link DGS-6600-48T Cli Reference Manual

Modular layer 3 chassis ethernet managed switch
Hide thumbs Also See for DGS-6600-48T:
Table of Contents

Advertisement

DGS-6604
m

set default interface

set default interface INTERFACE-NAME
no set default interface [INTERFACE-NAME]
Syntax Description
INTERFACE-NAME
Default
Command Mode
Usage Guideline
Examples
Switch(config)#route-map example permit 10
Switch(config-route-map)# match ip address IPACL_01
Switch(config-route-map)# set default 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)#
CLI Reference Guide
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 and there is no route for the
packets. To remove the setting, use the no form of the command to remove the
setting.
Specify the interface to route the packet.
Not configured
Route-map configuration
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.
The following example sends packets with the destination IP address specified by access list
name IPACL-01 and for which the software has no explicit route to the destination are output
to vlan200:
You can verify your settings by entering the show route-map privileged EXEC
command.
set default interface
537

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dgs-6604Dgs-6600 series

Table of Contents