Configuration Guide User guide

BigIron RX Series Configuration Guide 293
53-1002484-04
Configuring port-based VLANs
11
Considerations when configuring VLAN byte accounting
VLAN byte accounting cannot be enabled for the default or control VLANs.
The number of VLANs on which byte accounting can be enabled system-wide is restricted by
the number of VLANs with byte accounting enabled on a given packet processor and the
number of rate limiting policies enabled on the same packet processor ports. Refer to Table 67
for details.
On a given packet processor, the total number of VLANs with byte accounting enabled and the
number of ACL-based and VLAN-based rate limiting policies is dependent on the interface
module. Refer to Table 67 for details.
If a port's VLAN has byte accounting enabled, you cannot enable rate limiting on that port.
Similarly, if a port has rate limiting enabled, you cannot enable VLAN byte accounting on that
port's VLAN.
Clearing the rate limiting counters using clear rate-limit counters will also clear VLAN
byte-accounting counters. It is recommended that when using rate limiting along with VLAN
byte accounting, use individual port rate limiting counters.
Configuring VLAN byte accounting
To enable VLAN accounting on a specified VLAN, use the following commands.
BigIron RX(config)# vlan 10
BigIron RX(config-vlan-10)# byte-accounting
Syntax: [no] byte-accounting
Displaying VLAN byte accounting information
To display VLAN accounting information for all VLANs configured on a router, use the show vlan
command as shown.
BigIron RX# show vlan
Configured PORT-VLAN entries: 2
Maximum PORT-VLAN entries: 512
Default PORT-VLAN id: 1
PORT-VLAN 1, Name DEFAULT-VLAN, Priority Level0
L2 protocols : NONE
Untagged Ports : ethe 1/1 to 1/40 ethe 2/1 to 2/4
PORT-VLAN 10, Name [None], Priority Level0
L2 protocols : NONE
Tagged Ports : ethe 1/2 to 1/5
Bytes received : 18527
To display VLAN accounting information for a specific VLAN, use the show vlan <vlan> command as
shown.
BigIron RX# show vlan 10
PORT-VLAN 10, Name [None], Priority Level0
L2 protocols : NONE
Tagged Ports : ethe 1/2 to 1/5
Bytes received : 5626
The Bytes received field displays the number of bytes received by all member ports of all VLANs
configured on the router.