Updated from 4:09 p.m.

Cisco ( CSCO) posted a solid third quarter Tuesday, beating Wall Street's earnings and sales targets.

The company also offered solid fourth-quarter sales guidance and acquiesced to reformers who have long demanded that Cisco change its accounting for employee stock options. Cisco said it will count those expenses against its bottom line starting in the first quarter of fiscal 2006.

On a pro forma basis, excluding certain costs, Cisco made 23 cents a share on sales of $6.19 billion in the latest period. Wall Street analysts had forecast a 22-cent profit on sales of $6.16 billion.

For the quarter ended April 30, the San Jose, Calif., company made $1.41 billion, or 21 cents a share, up from the year-ago $1.21 billion, or 17 cents a share. Sales rose 10% from a year ago and 2.1% sequentially.

Many Cisco watchers were encouraged by the company's flat gross margin performance. Cisco delivered a third-quarter gross margin of 66.8%, even with the prior quarter. Investors will be hoping that the plateau halts a recent sliding trend.

Like other tech giants mired in a spending slump, Cisco has had to cut prices to win sales. The discounts caused Cisco's once-lofty 70.8% margins to narrow over the past two years.

Riding growth in certain markets and gains at rivals' expense, Cisco says it sees top-line momentum continuing. CEO John Chambers told analysts on a conference call Tuesday that he expects the company to post sequential sales growth somewhere between 4% and 7% in the current fiscal fourth quarter ending in July.

That range encompasses the current expectation for 5% sequential revenue growth for the current quarter.

Chambers estimated that the company may have gained between 1 and 3 percentage points of market share in its router divisions, including core routers -- Internet traffic sorters that sit in the middle of a network -- and edge routers. The company had two new customers for its mega-router CRS-1, taking the total to 15 customers, up from a dozen in the prior quarter.

Trends in phone company spending are favoring Internet gear over conventional phone gear sales, as telcos expand to accommodate more Net traffic, Chambers said.

Cisco bought back $2 billion worth of its stock in the latest quarter, as the company continues to fight to push its languishing shares higher. Cisco shares have been trading near a 52-week low and are down some 25% from a year ago.

"Today's results are a clear indication that our integrated technology strategy is working -- customers are realizing the benefits of an intelligent network architecture," says Chambers. "The long-term momentum we are seeing across product families, geographies and market segments clearly points to Cisco's strong competitive advantage."

Cisco shares gave up 4 cents Tuesday to close at $18.17. In early postclose action, Cisco rose 11 cents to $18.28.