1164 OSPF Commands
vlan-id
— Valid VLAN ID.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode.
User Guidelines
This command has no user guidelines.
Example
The following example displays the ospf statistics for VLAN 15.
console>show ip ospf interface stats vlan15
OSPF Area ID....................................... 0.0.0.0
Area Border Router Count................................. 0
AS Border Router Count................................... 0
Area LSA Count........................................... 1
IP Address......................................... 2.2.2.2
OSPF Interface Events.................................... 1
Virtual Events........................................... 0
Neighbor Events.......................................... 0
External LSA Count....................................... 0
show ip ospf neighbor
Use the show ip ospf neighbor command in Privileged EXEC mode to display
information about OSPF neighbors. Th e information below only displays if
OSPF is enabled and the interface has a neighbor.
Syntax
show ip ospf neighbor [interface-type interface-number] [neighbor-id]
2CSPC4.XCT-SWUM2XX1.book Page 1164 Monday, October 3, 2011 11:05 AM