match med

Use this command to match a packet against the specified MED value.

Syntax

match med value
no match med value

Parameters

value Specifies a MED value to match this packet against.

Defaults

None.

Mode

BGP route map configuration.

Usage

The no match med command removes the match clause for the specified MED value.

Example

This example shows how to match a packet against the MED value 50:

System(su)->configure
System(su-config)->route-map bgp bgprm1 permit
System(su-config-route-map-bgp)->match med 50
System(su-config-route-map-bgp)->show route-map bgprm1
 route-map bgp bgprm1 permit 10
  match prefix-list permit100
  match afi ipv6
  match safi unicast
  match as-path "^20313_$13"
  match community "100"
  match med 50
System(su-config-route-map-bgp)->