Step 1 |
enable
Example:
|
Enables privileged EXEC mode.
|
Step 2 |
configure
terminal
Example:
Device# configure terminal
|
Enters global configuration mode.
|
Step 3 |
class-map
match-all
egress
Example:
Device(config)# class-map match-all egress
|
Determines how packets are evaluated when multiple match criteria exist for the egress.
|
Step 4 |
match
qos-group
number
Example:
Device(config)# match qos-group 101
|
Identifies a specific quality of service (QoS) group value as a match criterion. The range is from 0 to 1023.
|
Step 5 |
class-map
match-all
ingress
Example:
Device(config)# class-map match-all ingress
|
Determines how packets are evaluated when multiple match criteria exist for the ingress.
|
Step 6 |
match
input-interface
name
Example:
Device(config)# match input-interface Vlan2
|
Configures a class map to use the specified input interface as a match criterion.
|
Step 7 |
policy-map
egress-policy
Example:
Device(config)# policy-map egress-policy
|
Creates or modifies a policy map that can be attached to one or more interfaces to specify an egress service policy and enters policy-map configuration mode.
|
Step 8 |
class
egress
Example:
Device(config-pmap)# class egress
|
Specifies the name of the egress class whose policy you want to create or change or specifies the default class (commonly known as the class-default class) before you configure its policy. Enters policy-map class configuration mode.
|
Step 9 |
set
cos-inner
number
Example:
Device(config-pmap-c)# set cos-inner 5
|
Sets the inner CoS value. The range is from 0 to 7.
|
Step 10 |
set
vlan-inner
number
Example:
Device(config-pmap-c)# set vlan-inner 333
|
(For PPPoE) Sets the inner VLAN value. The range is from 1 to 4094.
|
Step 11 | exit
Example:
Device(config-pmap-c)# exit
| Exits policy-map class configuration mode and returns to policy-map configuration mode.
|
Step 12 | exit
Example:
Device(config-pmap)# exit
| Exits policy-map configuration mode and returns to global configuration mode.
|
Step 13 |
policy-map
ingress-policy
Example:
Device(config)# policy-map ingress-policy
|
Creates or modifies a policy map that can be attached to one or more interfaces to specify an ingress service policy and enters policy-map configuration mode.
|
Step 14 |
class
ingress
Example:
Device(config-pmap)# class ingress
|
Specifies the name of the ingress class whose policy you want to create or change or to specify the default class (commonly known as the class-default class) before you configure its policy. Enters policy-map class configuration mode
|
Step 15 |
set
qos-group
number
Example:
Device(config-pmap-c)# set qos-group 101
|
Sets the CoS value for a CoS group. The range is from 0 to 1023.
|
Step 16 | exit
Example:
Device(config-pmap-c)# exit
| Exits policy-map class configuration mode and returns to policy-map configuration mode.
|
Step 17 | exit
Example:
Device(config-pmap)# exit
| Exits policy-map configuration mode and returns to global configuration mode.
|
Step 18 | Enter one of the following:
-
interface
atm
interface-id
point-to-point
-
interface
atm
slot
/
0
point-to-point
-
interface
atm
slot/
port-adaptor/0
point-to-point
Example:
Device(config)# interface atm0 point-to-point
Example:
Device(config)# interface atm 0/0 point-to-point
Example:
Device(config)# interface atm 0/1/0.1 point-to-point
|
Specifies the ATM point-to-point interface using the appropriate format of the command and enters interface or subinterface configuration mode.
|
Step 19 |
bridge-group
group-number
Example:
Device(config-if)# bridge-group 1
|
Assigns the interface or subinterface to a bridge group.
|
Step 20 |
pvc
vpi/vci
Example:
Device(config-if)# pvc 9/117
|
Creates a PVC of a specified virtual path identifier (VPI)/virtual circuit identifier (VCI) number and enters interface ATM VC configuration mode or subinterface ATM VC configuration mode.
|
Step 21 |
bridge-dot1q encap
provider-vlan-id
Example:
device(config-if-atm-vc)# bridge-dot1q encap
|
Enables the router to include the 802.1Q VLAN ID in the MAC PDU. The service provider VLAN ID range is from 1 to 4094.
|
Step 22 |
encapsulation
aal5snap
Example:
Device(config-if-atm-vc)# encapsulation aal5snap
|
Specifies the ATM Adaptation Layer 5 (AAL5) encapsulation type. AAL5SNAP is used so that two or more protocols can be multiplexed over the virtual circuit.
|
Step 23 |
service-policy
out
egress-policy
Example:
Device(config-if-atm-vc)# service-policy out egress-policy
|
Defines the service policy at the egress.
|
Step 24 |
pppoe-client
dial-pool-number
number
Example:
Device(config-if-atm-vc)# pppoe-client dial-pool-number 1
|
Configures a PPP over Ethernet (PPPoE) client and specifies dial-on-demand routing (DDR) functionality.
|
Step 25 |
pppoe-client
control-packets
vlan
cos
number
Example:
Device(config-if-atm-vc)# pppoe-client control-packets vlan cos 6
|
Enables CoS marking for PPPoE control packets on the PPPoE client.
|
Step 26 |
service-policy
input
ingress-policy
Example:
Device(config-if-atm-vc)# service-policy input ingress-policy
|
Defines the service policy at the ingress.
|
Step 27 |
end
Example:
Device(config-if-atm-vc)# end
|
Exits interface ATM VC configuration mode, or subinterface ATM VC configuration mode and returns to privileged EXEC mode.
|