Configure BGP4 Route Map Matching on an Interface

You can configure a route map that matches on an Ethernet interface, a loopback interface, or a VE interface.

Procedure

  1. Access global configuration mode.
    device# configure terminal
  2. Create a route map instance and allow a matching pattern.
    device(config)# route-map myintroutemap1 permit 99
    This example creates a route map instance named myintroutemap1 and allows a matching pattern of 99.
  3. Configure the route map to match on an interface.
    device(config-route-map-myintroutemap1/permit/99)# match interface ethernet 1/1 loopback 1
    This example configures the route map instance to match on Ethernet 1/1 and loopback 1.

Example

The following example summarizes the commands in this procedure.

device# configure terminal
device(config)# route-map myintroutemap1 permit 99
device(config-route-map-myintroutemap1/permit/99)# match interface ethernet 1/1 loopback 1