l3-counters
Syntax
l3-counters [rx | tx]
no l3-counters [rx | tx]
Description
Enables counters on a layer 3 interface. By default, all interfaces are layer 3. To change a layer 2 interface to layer 3, use the
routing
command.
The
no
form of this command, with no specification, disables both transmit and receive counters on a layer 3 interface. To disable transmit (tx
) or receive (rx
) counters only, specify the counter type you want to disable.
Command context
config-if
Parameters
rx
Specifies receive counters.
tx
Specifies transmit counters.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Enabling layer 3 transmit counters.
On the 6300 Switch Series:
switch(config)# interface 1/1/1 switch(config-if)# routing switch(config-if)# l3-countersOn the 6400 Switch Series:
switch(config)# interface 1/3/1 switch(config-if)# routing switch(config-if)# l3-counters