Configuration Example Of Layer 2 Overhead Accounting - Cisco 10000 Series Configuration Manual

Router access network control protocol
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

Chapter 7
Traffic Accounting
DETAILED STEPS
Command
Step 1
interface type number.subinterface
Example:
Router(config)# interface GigabitEthernet
1/0/1.4
Step 2
encapsulation dot1q vlan-id [native]
Example:
Router(config-subif)# encapsulation dot1q 101
Step 3
pppoe enable group group-name
Example:
Router(config-subif)# pppoe enable group
bba-group1
Step 4
exit
Example:
Router(config-subif)# exit

Configuration Example of Layer 2 Overhead Accounting

Router> enable
Router# configure terminal
Router(config)# policy-map child
Router(config-pmap)# class data-premium
Router(config-pmap-c)# bandwidth remaining ratio 10 account dot1q aal5 snap-pppoa
Router(config-pmap-c)# exit
Router(config-pmap)# policy-map parent
Router(config-pmap)# class class-default
Router(config-pmap-c)# shape average 8000 account dot1q aal5 snap-pppoa
Router(config-pmap-c)# service-policy child
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface virtual-template 1
Router(config-if)# ip unnumbered ethernet 4/0/0
Router(config-if)# ppp authorization
Router(config-if)# ppp accounting
OL-14660-03
Purpose
Creates or modifies a subinterface. Enters subinterface
configuration mode.
type specifies the interface type (for example, Gigabit
Ethernet).
number specifies the subinterface's port, module, and slot
number (for example 1/0/0).
.subinterface specifies the number of the subinterface (for
example, 1/0/0.10).
Enables IEEE 802.1Q VLAN encapsulation of traffic on
this subinterface.
vlan-id specifies a virtual LAN identifier. Valid values are
from 1 to 1000.
(Optional) native sets the PVID value of the port to the
vlan-id value.
Enables PPPoE sessions on the Ethernet subinterface and
applies the PPPoE profile to the subinterface.
The BRAS applies the parameters defined in the
Note
PPPoE profile to the PPPoE sessions on the
subinterface.
group indicates that PPPoE sessions on the subinterface are
to use the specified PPPoE profile.
group-name is the name of the PPPoE profile.
Exits subinterface configuration mode.
Cisco 10000 Series Router Access Network Control Protocol Configuration Guide
Layer 2 Overhead Accounting
7-11

Advertisement

Table of Contents
loading

Table of Contents