If-Match Interface; If-Match Route-Type - HP 6125G Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Examples
# Configure node 10 in permit mode of routing policy policy1 to match BGP routing information to
extended community lists 100 and 150.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match extcommunity 100 150

if-match interface

Syntax
if-match interface { interface-type interface-number }&<1- 1 6>
undo if-match interface [ interface-type interface-number ]&<1- 1 6>
View
Routing policy view
Default level
2: System level
Parameters
interface-type interface-number: Specifies an interface by its type and number
&<1- 1 6>: Indicates the argument before it can be entered up to 16 times.
Description
Use if-match interface to specify interfaces for matching against the outbound interface of routing
information.
Use undo if-match interface to remove the match criterion.
The match criterion is not configured by default.
BGP does not support criteria for matching against the outbound interface of routing information.
Examples
# Configure node 10 in permit mode of routing policy policy1 to permit routing information with the
outbound interface as VLAN-interface 1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match interface vlan-interface 1

if-match route-type

Syntax
if-match route-type { external-type1 | external-type1or2 | external-type2 | internal |
nssa-external-type1 | nssa-external-type1or2 | nssa-external-type2 } *
undo if-match route-type [ external-type1 | external-type1or2 | external-type2 | internal |
nssa-external-type1 | nssa-external-type1or2 | nssa-external-type2 ] *
View
Routing policy view
348

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents