|
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 |
ip prefix-list list-name [seq seq-value] {deny network/length | permit network/length }
Example:
Router(config)# ip prefix-list INCLUDE_10_NET permit 10.0.0.0/8
|
Creates an IP prefix list to filter prefixes for learning.
-
An IP prefix list is used under learn list configuration mode to filter IP addresses that are learned.
-
The example creates an IP prefix list named INCLUDE_10_NET for PfR to profile the prefix, 10.0.0.0/8.
|
Step 4 |
pfr master
Example:
Router(config)# pfr master
|
Enters PfR master controller configuration mode to configure a Cisco router as a master controller and to configure master controller policy and timer settings. |
Step 5 |
policy-rules map-name
Example:
Router(config-pfr-mc)# policy-rules LL_REMOTE_MAP
|
Selects a PfR map and applies the configuration under PfR master controller configuration mode.
-
Use the map-name argument to specify the PfR map name to be activated.
-
The example applies the PfR map named LL_REMOTE_MAP that includes the learn list configured in this task.
|
Step 6 |
learn
Example:
Router(config-pfr-mc)# learn
|
Enters PfR Top Talker and Top Delay learning configuration mode to automatically learn traffic classes. |
Step 7 |
list seq number refname refname
Example:
Router(config-pfr-mc-learn)# list seq 10 refname LEARN_REMOTE_LOGIN_TC
|
Creates an PfR learn list and enters learn list configuration mode.
-
Use the seq keyword and number argument to specify a sequence number used to determine the order in which learn list criteria is applied.
-
Use the refname keyword and refname argument to specify a reference name for the learn list.
-
The example creates a learn list named LEARN_REMOTE_LOGIN_TC.
|
Step 8 |
traffic-class application application-name... [filter prefix-list-name]
Example:
Router(config-pfr-mc-learn-list)# traffic-class application telnet ssh
|
Defines an PfR traffic class using a pre-defined static application.
-
Use the application-name argument to specify one or more keywords that represent pre-defined static applications. The ellipses are used to show that more than one application keyword can be specified.
-
The example defines a traffic class as containing telnet and ssh traffic.
|
Step 9 |
aggregation-type {bgp non-bgp prefix-length} prefix-mask
Example:
Router(config-pfr-mc-learn-list)# aggregation-type prefix-length 24
|
(Optional) Configures a master controller to aggregate learned prefixes based on traffic flow type.
-
The bgp keyword configures prefix aggregation based on entries in the BGP routing table. This keyword is used if BGP peering is enabled in the network.
-
The non-bgp keyword configures learned prefix aggregation based on static routes. Entries in the BGP routing table are ignored when this keyword is entered.
-
The prefix-length keyword configures aggregation based on the specified prefix length. The range of values that can be configured for this argument is a prefix mask from 1 to 32.
-
If this command is not specified, the default aggregation is performed based on a /24 prefix length.
-
The example configures prefix length aggregation based on a /24 prefix length.
|
Step 10 |
throughput
Example:
Router(config-pfr-mc-learn-list)# throughput
|
Configures the master controller to learn the top prefixes based on the highest outbound throughput.
-
When this command is enabled, the master controller will learn the top prefixes across all border routers according to the highest outbound throughput.
-
The example configures a master controller to learn the top prefixes based on highest outbound throughput for the LEARN_REMOTE_LOGIN_TC traffic class.
|
Step 11 |
exit
Example:
Router(config-pfr-mc-learn-list)# exit
|
Exits learn list configuration mode, and returns to PfR Top Talker and Top Delay learning configuration mode. |
Step 12 |
Repeat Step 7 to Step 11 to configure additional learn lists |
-- |
Step 13 |
exit
Example:
Router(config-pfr-mc-learn)# exit
|
Exits PfR Top Talker and Top Delay learn configuration mode, and returns to PfR master controller configuration mode. |
Step 14 |
Repeat Step 13 to return to global configuration mode. |
-- |
Step 15 |
pfr-map map-name sequence-number
Example:
Router(config)# pfr-map LL_REMOTE_MAP 10
|
Enters PfR map configuration mode to configure a PfR map.
-
Only one match clause can be configured for each PfR map sequence.
-
The example creates a PfR map named LL_REMOTE_MAP.
|
Step 16 |
match pfr learn list refname
Example:
Router(config-oer-map)# match pfr learn list LEARN_REMOTE_LOGIN_TC
|
Creates a match clause entry in a PfR map to match PfR learned prefixes.
-
The example defines a traffic class using the criteria defined in the PfR learn list named LEARN_REMOTE_LOGIN_TC.
Note |
Only the syntax relevant to this task is used here. |
|
Step 17 |
end
Example:
Router(config-oer-map)# end
|
(Optional) Exits OER map configuration mode and returns to privileged EXEC mode. |