19.2. S-VLAN Status Collection Command Reference

19.2.1. Command Hierarchies

19.2.1.1. S-VLAN Status Collection Commands

config
— subscriber-mgmt
[no] shutdown

19.2.1.2. S-VLAN Status Collection Show Commands

show
— subscriber-mgmt
svlan-statistics port port-id all-svlans
svlan-statistics port port-id svlan tag

19.2.1.3. S-VLAN Clear Commands

clear
— subscriber-mgmt
svlan-statistics port port-id all-svlans
svlan-statistics port port-id svlan tag

19.2.2. GTP Command Descriptions

19.2.2.1. GTP Commands

19.2.2.1.1. Generic Commands

shutdown

Syntax 
[no] shutdown
Context 
config>subscr-mgmt>svlan-statistics
Description 

This command administratively disables the entity. When disabled, an entity does not change, reset, or remove any configuration settings or statistics. Many entities must be explicitly enabled using the no shutdown command. The operational state of the entity is disabled as well as the operational state of any entities contained within. Many objects must be shut down before they may be deleted.

Unlike other commands and parameters where the default state is not indicated in the configuration file, shutdown and no shutdown are always indicated in system-generated configuration files.

The no form of this command places the entity into an administratively enabled state.

19.2.2.1.2. S-VLAN Statistics Collection Commands

svlan-statistics

Syntax 
svlan-statistics
Context 
config>subscr-mgmt
Description 

This command enables the context to enable subscriber VLAN statistics collection.

19.2.2.1.3. S-VLAN Statistics Collection Show Commands

svlan-statistics

Syntax 
svlan-statistics port port-id all-svlans
svlan-statistics port port-id svlan tag
Context 
show>subscr-mgmt
Description 

This command displays S-VLAN statistics.

Parameters 
port-id—
Specifies the physical port ID in the slot/mda/port format of the S-VLAN.
Values—

port-id

slot/mda/port

lag-id

lag-id

lag

keyword

id

1 to 800

pw-id

pw-id

id

1 to 32767

 

all-svlans—
Displays statistics for all S-VLANs on the port
svlan—
Displays information about the SVLAN
tag—
Specifies a valid S-VLAN identifier
Values—
0 to 4095

 

Output 

The following is an example of S-VLAN statistics information.

Sample Output
A:Dut-C# show subscriber-mgmt svlan-statistics port 1/1/2 all-svlans 
===============================================================================
Subscriber VLAN statistics for port 1/1/2 vlan 0
===============================================================================
                                     Ingress              Egress
-------------------------------------------------------------------------------
IP packets                           0                    0
Bytes in IP packets                  0                    0
===============================================================================
===============================================================================
Subscriber VLAN statistics for port 1/1/2 vlan 2001
===============================================================================
                                     Ingress              Egress
-------------------------------------------------------------------------------
IP packets                           0                    0
Bytes in IP packets                  0                    0
===============================================================================
===============================================================================
Subscriber VLAN statistics for port 1/1/2 vlan 2002
===============================================================================
                                     Ingress              Egress
-------------------------------------------------------------------------------
IP packets                           0                    0
Bytes in IP packets                  0                    0
===============================================================================
A:Dut-C# 
A:Dut-C# show subscriber-mgmt svlan-statistics port 1/1/2 svlan 2002 
===============================================================================
Subscriber VLAN statistics for port 1/1/2 vlan 2002
===============================================================================
                                     Ingress              Egress
-------------------------------------------------------------------------------
IP packets                           0                    0
Bytes in IP packets                  0                    0
===============================================================================
Status:
A:Dut-C# show subscriber-mgmt status system 
===============================================================================
Subscriber Management System Status
===============================================================================
Chassis 1
-------------------------------------------------------------------------------
Memory usage high                                       : No
DHCP message processing overload                        : No
<snip>
Subscriber VLAN statistics resources
-------------------------------------------------------------------------------
Administrative state                                    : out-of-service
Number of entries                                       : 0
===============================================================================

19.2.2.1.4. S-VLAN Statistics Collection Clear Commands

svlan-statistics

Syntax 
svlan-statistics port port-id all-svlans
svlan-statistics port port-id svlan tag
Context 
clear>subscr-mgmt
Description 

This command clears Subscriber-VLAN statistics.

Parameters 
port-id—
Specifies the physical port ID in the slot/mda/port format of the S-VLAN
all-svlans—
Clears statistics for all S-VLANs on the port
svlan—
Clears information associated with the SVLAN
tag—
Specifies a valid S-VLAN identifier
Values—
0 to 4095