Editing and deleting PBR lists

Last Updated : Nov 06, 2012 |

About this task

You cannot delete or modify a PBR list when it is attached to an interface. In order to delete or modify a PBR list, you must first remove the list from the interface. You can then delete or modify the list. After modifying the list, you can reattach the list to the interface.

Procedure

  1. To remove a list from an interface, use the no form of the ip pbr-group command in the interface context.

    The following example removes the PBR list from the VLAN 2 interface.

    Gxxx-001(super)# interface vlan 1
    Gxxx-001(super-if:VLAN 1)# no ip pbr-group
    Done!
    Gxxx-001(super-if:VLAN 1)#
  2. To modify a PBR list, enter ip pbr-list, followed by the number of the list you want to modify, to enter the list context.

    Redefine the parameters of the list.

  3. To delete a PBR list, enter exit to return to general context and enter no ip pbr-list followed by the number of the list you want to delete.