xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
DGS-3612G:4#show ospf neighbor
Command: show ospf neighbor
IP Address of Router ID of Neighbor Neighbor
Neighbor Neighbor Priority State
--------------- -------------- -------- ------------
10.48.74.122 10.2.2.2 1 Initial
Total Entries: 1
DGS-3612G:4#
show ospf virtual_neighbor
Purpose
Used to display the current OSPF virtual neighbor router table.
Syntax
show ospf virtual_neighbor {<area_id> <neighbor id>}
Description
This command will display the current OSPF virtual neighbor router table.
Parameters
<area_id>
−
A 32-bit number in the form of an IP address
(xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF
domain.
<neighbor_id>
−
The OSPF router ID for the neighbor. This is a 32-bit
number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely
identifies the remote area’s Area Border Router.
Restrictions None.
Usage example
To display the current OSPF virtual neighbor table:
DGS-3612G:4#show ospf virtual_neighbor
Total Entries : 1
Command: show ospf virtual_neighbor
Transit Router ID of IP Address of Virtual Neighbor
Area ID Virtual Neighbor Virtual Neighbor State
------------ ---------------- --------------- ----------------
10.1.1.1 10.2.3.4 10.48.74.111 Exchange
DGS-3612G:4#
config ospf ipif
Purpose
Used to configure the OSPF interface settings.
Syntax
config ospf [ipif <ipif_name 12> | all] {area <area_id> | priority <value> |
hello_interval <sec 1-65535> | dead_interval <sec 1-65535> | authentication
[none | simple <password 8> | md5 <key_id 1-255>] | metric <value 1-65535>
| state [enable | disable] | passive [enable | disable]}
Description
This command is used to configure the OSPF interface settings.
Parameters
<ipif_name 12>
−
The name of the IP interface.
all
- All IP interfaces.
area <area_id>
- A 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx)
that uniquely identifies the OSPF area in the OSPF domain.
priority <value>
−
The priority used in the election of the Designated Router (DR).
A number between 0 and 255.
262