|
Command or Action |
Purpose |
Step 1 |
enable
Example:
|
Enables privileged EXEC mode.
-
Enter your password if prompted.
|
Step 2 |
configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode. |
Step 3 |
pfr master
Example:
Router(config)# pfr master
|
Enters PfR master controller configuration mode to configure a router as a master controller.
-
A master controller and border router process can be enabled on the same router (for example, in a network that has a single router with two exit links to different service providers).
|
Step 4 |
border ip-address [key-chain key-chain-name]
Example:
Router(config-pfr-mc)# border 192.168.1.2 key-chain border1_PFR
|
Enters PfR-managed border router configuration mode to establish communication with a border router.
-
An IP address is configured to identify the border router.
-
At least one border router must be specified to create a PfR-managed network. A maximum of ten border routers can be controlled by a single master controller.
-
The value for the key-chain-name argument must match the key-chain name configured when the border router is set up.
Note |
The key-chain keyword and key-chain-name argument must be entered when a border router is initially configured. However, this keyword is optional when reconfiguring an existing border router. |
|
Step 5 |
interface type number external
Example:
Router(config-pfr-mc-br)# interface Serial 2/0 external
|
Configures a border router interface as a PfR-managed external interface.
-
External interfaces are used to forward traffic and for active monitoring.
-
A minimum of two external border router interfaces are required in a PfR-managed network. At least one external interface must be configured on each border router. A maximum of 20 external interfaces can be controlled by single master controller.
Tip |
Configuring an interface as a PfR-managed external interface on a router enters PfR border exit interface configuration mode. In this mode, you can configure maximum link utilization or cost-based optimization for the interface. |
Note |
Entering the interface (PfR) command without the external orinternal keyword places the router in global configuration mode and not PfR border exit configuration mode. The no form of this command should be applied carefully so that active interfaces are not removed from the router configuration. |
|
Step 6 |
link-group link-group-name [link-group-name [link-group-name]]
Example:
Router(config-pfr-mc-br-if)# link-group VIDEO
|
Configures a PfR border router exit interface as a member of a link group.
-
Use the link-group-name to specify the link group name for the interface.
-
Up to three link groups can be specified for each interface.
-
In this example, the Serial 2/0 external interface is configured as a member of the link group named VIDEO.
Note |
The link-group (PfR) command associates a link group with an interface. Another step, Step 17, uses the set link-group (PfR) command to identify the link group as a primary or fallback group for traffic classes defined in a PfR map. |
|
Step 7 |
exit
Example:
Router(config-pfr-mc-br-if)# exit
|
Exits PfR-managed border exit interface configuration mode and returns to PfR-managed border router configuration mode. |
Step 8 |
Repeat Step 5 through Step 7 with appropriate changes to set up link groups for all the external interface. |
-- |
Step 9 |
interface type number internal
Example:
Router(config-pfr-mc-br)# interface FastEthernet 0/1 internal
|
Configures a border router interface as an PfR controlled internal interface.
-
Internal interfaces are used for passive monitoring only. Internal interfaces do not forward traffic.
-
At least one internal interface must be configured on each border router.
Note |
Support to configure a VLAN interface as an internal interface was introduced in Cisco IOS Release 12.3(14)T and 12.2(33)SRB. |
|
Step 10 |
exit
Example:
Router(config-pfr-mc-br)# exit
|
Exits PfR-managed border configuration mode and returns to global configuration mode. |
Step 11 |
ip access-list {standard | extended} access-list-name
Example:
Router(config)# ip access-list extended ACCESS_VIDEO
|
Defines an IP access list by name and enters extended named access list configuration mode.
-
PfR supports only named access lists.
-
The example creates an extended IP access list named ACCESS_VIDEO.
|
Step 12 |
[sequence-number] permit udp source source-wildcard [operator [port]] destination destination-wildcard [operator [port]] [dscp dscp-value]
Example:
Router(config-ext-nacl)# permit tcp any any 500
|
Sets conditions to allow a packet to pass a named IP access list.
-
The example is configured to identify all TCP traffic from any destination or source and from destination port number of 500. This specific TCP traffic is to be optimized.
|
Step 13 |
Repeat Step 12 for more access list entries, as required. |
-- |
Step 14 |
exit
Example:
Router(config-ext-nacl)# exit
|
(Optional) Exits extended named access list configuration mode and returns to global configuration mode. |
Step 15 |
pfr-map map-name sequence-number
Example:
Router(config)# pfr-map VIDEO_MAP 10
|
Enters PfR map configuration mode to configure a PfR map.
-
Only one match clause can be configured for each PfR map sequence.
-
Permit sequences are first defined in an IP prefix list and then applied with the match ip address (PfR) command in Step 16 .
-
The example creates n PfR map named VIDEO_MAP.
|
Step 16 |
match traffic-class access-list access-list-name
Example:
Router(config-pfr-map)# traffic-class access-list ACCESS_VIDEO
|
Manually configures an access list as match criteria used to create traffic classes using a PfR map.
-
Each access list entry must contain a destination prefix and may include other optional parameters.
-
The example defines a traffic class using the criteria defined in the access list named ACCESS_VIDEO.
|
Step 17 |
set link-group link-group-name [fallback link-group-name]
Example:
Router(config-pfr-map)# set link-group video fallback voice
|
Specifies a link group for traffic classes defined in a PfR map to create a PfR policy.
-
Use the link-group-name to specify the primary link group name for the policy.
-
Use the fallback keyword to specify the fallback link group name for the policy.
-
The example specifies the VIDEO link group as the primary link group for the traffic class matching the access list ACCESS_VIDEO. The link group VOICE is specified as the fallback link group.
|
Step 18 |
end
Example:
Router(config-pfr-map)# end
|
(Optional) Exits PfR map configuration mode and returns to privileged EXEC mode. |
Step 19 |
show pfr master link-group [link-group-name]
Example:
Router# show pfr master link-group
|
Displays information about configured PfR link groups.
-
Use the optional link-group-name argument to display information for the specified PfR link group.
-
If the link-group-name argument is not specified, information about all PfR link groups is displayed.
-
The example displays information about all configured link groups.
|