Chapter 8
Layer 2
RUGGEDCOM ROX II
CLI User Guide
272 Viewing Switched Ethernet Port Statistics
Parameter Description
• ADVERTISE ONLY : the port will declare all VLANs existing in the switch (configured or
learned) but will not learn any VLANs.
• ADVERTISE and LEARN : the port will declare all VLANs existing in the switch
(configured or learned) and can dynamically learn VLANs.
NOTE
Once a VLAN ID has been assigned to a switched Ethernet port, a VLAN is created and can be
configured in switch» vlans» all-vlans.
9. If the port is in switchport mode, configure the VLAN for the port. For more information, refer to
Section8.5.4.2, “Configuring VLANs for Switched Ethernet Ports”.
10. Configure the port security settings. For more information, refer to Section6.6.2, “Configuring Port Security”.
11. Configure the spanning tree settings. For more information, refer to Section14.3.5, “Configuring STP for
Switched Ethernet Ports and Ethernet Trunk Interfaces”.
12. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section8.1.3
Viewing Switched Ethernet Port Statistics
To view statistics collected for a specific switched Ethernet port, type:
show interfaces switch slot port port-stats
Where:
• slot is the name of the module location
• port is the port number (or a list of ports, if aggregated in a port trunk) for the module
A table or list similar to the following example appears:
ruggedcom# show interfaces switch lm1 1 port-stats
port-stats
in octets 6820
out octets 3086
in pkts 33
out pkts 18
error pkts 0
This table or list provides the following information:
Parameter Description
in-octets Synopsis: A 32-bit unsigned integer
The number of octets in received good packets. (Unicast+Multicast+Broadcast) and dropped
packets.
This parameter is mandatory.
out-octets Synopsis: A 32-bit unsigned integer
The number of octets in transmitted good packets.
This parameter is mandatory.
in-pkts Synopsis: A 32-bit unsigned integer
The number of received good packets (Unicast+Multicast+Broadcast) and dropped packets.