Platform Notes: SunFDDI Adapter

Displaying Statistics from Neighboring Stations

When you use the pf_stat or nf_stat command with the -m option, it displays information about the neighboring stations attached to the local interface pf<inst> and the frames received from the network.

For example, to display information about the neighboring stations attached to the interface pf0, type:


# <basedir>/pf_stat --m pf0
PhyS	Frame	Error	Lost	SA	UNA	DNA
M	b43eb2	0	3	<mac_addr1>	<mac_addr2>	<mac_addr3>

You can also monitor the neighboring stations dynamically (active monitor), by specifying the interval (the elapsed time in seconds between interrogations) and count (the total number of interrogations). The minimum interval is one second and the accumulated statistics are displayed after every tenth interrogation.

For example, to monitor the stations attached to pf0 once every 10 seconds for 1 minute (a total of 6 interrogations), type:


# <basedir>/pf_stat --m pf0 10 6
PhyS	Frame	Error	Lost	SA	UNA	DNA
M	c460a6d	0	3	<mac_addr1>	<mac_addr2>	<mac_addr3>
M	27224	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
M	27227	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
M	27220	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
M	2722e	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
M	27223	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>

Interpreting Statistics from Neighboring Stations

Running the pf_stat utility with the -m option displays information about the neighboring stations attached to the local interface pf<inst>.

Phy (Physical Connection)

PHY shows the type of physical connection to the FDDI network. This heading is modified to indicate the type of port being managed:

The following states may be returned by pf_stat under the Phy heading:

Table 2-4 pf_stat States Under the PHY Heading

State 

Meaning 

NONE

Port disconnected 

M

Port connected to Port M on a concentrator 

S

Port connected to Port S on a single-attached station 

A

Port connected to Port A on a dual-attached station 

B

Port connected to Port B on a dual-attached station 

Frame (Frames Received)

Running pf_stat or nf_stat without an interval and count displays the total number of SMT frames received since the interface was activated. Running pf_stat or nf_stat with an interval and count displays the number of SMT frames received since the last interrogation.

More detailed information about the SMT frames can be recovered using the pf_smtmon(1M) or nf_smtmon(1M) utility described in "Monitoring SMT Frames".

Error (Error Frames)

Running pf_stat or nf_stat without an interval and count displays the total number of error frames received since the interface was activated. Running pf_stat or nf_stat with an interval and count displays the number of error frames received since the last interrogation. An error frame is defined as an SMT frame whose E (error) bit is set, and whose E bit is first detected by the local station. It does not indicate the location of the cause of the error. Frequent error frames can indicate a noise problem on the network, either dirt (optical fiber) or electrical interference (UTP).

Lost (Lost Frames)

Running pf_stat or nf_stat without an interval and count displays the total number of lost frames since the interface was activated. Running pf_stat or nf_stat with an interval and count displays the number of lost frames since the last interrogation. A lost frame is defined as an SMT frame whose reception is aborted by the local station. It does not indicate the location of the cause of the error. A large number of lost frames can indicate a noise problem on the network, either dirt (optical fiber) or electrical interference (UTP).

SA (Station Address)

Displays the MAC address for the local station.

UNA (Upstream Neighbor Address)

Displays the MAC address for the neighboring station, connected upstream on the ring from the local station.

DNA (Downstream Neighbor Address)

Displays the MAC address for the neighboring station, connected downstream on the ring from the local station.

Example Neighbor Statistics

The following output was recovered from a single-attached station using the command shown. A temporary fault condition was simulated by disconnecting the FDDI cable from the SunFDDI card and then reconnecting it.


# <basedir>/pf_stat --m pf0 1 20
PhyS	Frame	Error	Lost	SA	UNA	DNA
	M	c45d5463	1	1b	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	27437	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	27427	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	27435	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	NONE	182f1	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	NONE	0	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	NONE	0	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	d432	0	7	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	2707e	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>

PhyS	Frame	Error	Lost	SA	UNA	DNA
	M	c46e5ce7	1	22	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	27228	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	27230	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	27227	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	2722e	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	2722c	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	27228	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	27231	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	2722b	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>
	M	27227	0	0	<mac_addr1>	<mac_addr2>	<mac_addr3>

Note the following observations regarding this example: