l3-counters
Syntax
l3-counters [rx | tx] no l3-counters [rx | tx]
Description
使计数器在第三层的接口。默认t, all interfaces are layer 3. To change a layer 2 interface to layer 3, use theroutingcommand.
Thenoform 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 interface1/1/1:
switch(config)#interface 1/1/1switch(config-if)#l3-counters tx
Disabling layer 3 transmit and receive counters on interface1/1/2:
switch(config)#interface 1/1/2switch(config-if)#no l3-counters