Step 1 |
enable
Example:
|
Enables privileged EXEC mode.
|
Step 2 | configure terminal
Example:
Device# configure terminal
|
Enters global configuration mode.
|
Step 3 | access-list
access-list-number
permit protocol
{any | host
{address
|
name}} {any | host
{address
|
name}}
Example:
Device(config)# access-list 140 permit 46 any any
|
Configures an access list for filtering frames by protocol type.
|
Step 4 | access-list
access-list-number
permit protocol {tcd | udp} {any | host {source-addr
|
name}}
eq
port number
{any | host {source-addr
|
name}}
eq
port number
Example:
Device(config)# access-list 141 permit udp any eq 1699 any eq 1698
|
Configures an access list for filtering frames by UDP protocol and matches only packets with a given port number.
|
Step 5 | class-map class-map-name
Example:
Device(config)# class-map match-any MyClassMap
|
Creates a class-map and enters QoS class-map configuration mode.
|
Step 6 | match access-group
access-list-index
Example:
Device(config-cmap)# match access-group 140
|
Specifies access groups to apply to an identity policy. The range of valid values is 1-2799.
|
Step 7 | exit
Example:
Device(config-cmap)# exit
| Exits QoS class-map configuration mode and returns to global configuration mode.
|
Step 8 | policy-map
policy-map-name
Example:
Device(config)# policy-map Policy1
| Specifies a service policy and enters QoS policy-map configuration mode.
|
Step 9 | class
class-map-name
Example:
Device(config-pmap-)# class MyClassMap
| Enters QoS policy-map class configuration more
|
Step 10 | police rate
units
pps
Example:
Device(config-pmap-c)# police rate 10 pps
| Polices traffic destined for the control plane at a specified rate.
|
Step 11 | conform-action
action
Example:
Device(config-pmap-c-police)# conform-action transmit
| (Optional) Specifies the action to take on packets that conform to the police rate limit and enters policy-map class police configuration mode.
|
Step 12 | exit
Example:
Device(config-pmap-c-police)# exit
| Exits policy-map class police configuration mode
|
Step 13 | exit
Example:
Device(config-pmap-)# exit
| Exits policy-map class configuration mode
|
Step 14 | control plane [host | transit | cef-exception]
Example:
Device(config)# control-plane
| Associates or modifies attributes (such as a service policy) that are associated with the control plane of the device and enters control plane configuration mode.
|
Step 15 | service-policy {input |
output}
policy-map-name
Example:
Device(config-cp)# service-policy input Policy1
| Attaches a policy map to a control plane.
|
Step 16 | exit
Example:
| Exits control plane configuration mode and returns to global configuration mode.
|
Step 17 | exit
Example:
| Exits global configuration mode returns to privileged EXEC mode.
|
Step 18 | show control-plane {aggregate |
cef-exception |
counters |
features |
host |
transit}
Example:
Device# show control-plane features
| Displays the configured control plane features
|