Sets the egress group to be used by the route map for forwarding matched packets.
Route-map config mode
This command is available only to users with the admin role.
The following reserved keywords cannot be used as name identifiers: all, ingress-group, egress, egress-group, match, list, access-list, route-map, and listener-policy.
The following example configures egress-group egr1
to be used by the route map
for forwarding matched packets.
device# configure terminal device(config)# route-map rmap1 10 device(config-route-map)# set egress-group egr1 device(config-route-map)# end device# show route-map all route-map R1 10 forward-action permit match ip access-list test_1 (active) egress-group eg_1 Policy matches: 0 packets, 0 bytes, 0 PacketRate, 0 BitRate
The following example sets the egress for the egress-group
and uses the
show running-config
command to verify the setting.
device# configure terminal device(conf)# egress-group eg-100 device(conf-egress-group)#set egress egress-100 device# show running-config egress-group egress-group eg-100 set egress egress-100
The following example unbinds the egress-group egr1
from the route map.
device# configure terminal device(config)# route-map rmap1 10 device(config-egress-group)# no set egress-group egr1