Match Metric - D-Link DXS-3600 Series Cli Reference Manual

Layer 2/3 managed 10gigabit
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
This example shows how to create an IP access list "myacl" first and create a route map entry to match
against the next hop based on IP access list.
Switch# configure terminal
Switch(config)# ip access-list myacl
Switch(config-ip-acl)# permit
Switch(config-ip-acl)# exit
Switch(config)# route-map myPolicy permit 1
Switch(config-route-map)# match ip next-hop myacl
Switch(config-route-map)#
91-4 match ip route-source
This command is used to define a clause to match the route's source router IP address based on the
standard IP access list. Use the no command to remove the clause.
match ip route-source ACCESS-LIST-NAME
no match ip route-source
Parameters
ACCESS-LIST-NAME
Default
None.
Command Mode
Route-map Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command in the route map configure mode to define a rule for matching routes against the
source router IP address. The IP address of the source router will be matched against the IP standard
access list.
Example
This example shows how to create an IP access list "myacl" first and create a route map entry to match
against the source router based on the IP access list:
Switch# configure terminal
Switch(config)# ip access-list myacl
Switch(config-ip-acl)# permit 10.20.0.0 255.255.0.0 any
Switch(config-ip-acl)# exit
Switch(config)# route-map myPolicy permit 1
Switch(config-route-map)# match ip route-source myacl
Switch(config-route-map)#

91-5 match metric

any 10.20.0.0 255.255.0.0
Specifies a standard IP access list name.
1139

Advertisement

Table of Contents
loading

Table of Contents