Passive-interface, Display information, Show ip ospf – LevelOne GTL-2691 User Manual

Page 1502: Passive-interface 1502

Advertising
background image

C

HAPTER

49

| IP Routing Commands

Open Shortest Path First (OSPFv2)

– 1502 –

E

XAMPLE

Console(config)#interface vlan 1

Console(config-if)#ip ospf transmit-delay 6

Console(config-if)#

passive-interface

This command suppresses OSPF routing traffic on the specified interface.

Use the no form to allow routing traffic to be sent and received on the

specified interface.

S

YNTAX

[no] passive-interface vlan vlan-id [ip-address]

vlan-id - VLAN ID. (Range: 1-4093)
ip-address - An IPv4 address configured on this interface.

C

OMMAND

M

ODE

Router Configuration

D

EFAULT

S

ETTING

None

C

OMMAND

U

SAGE

You can configure an OSPF interface as passive to prevent OSPF routing

traffic from exiting or entering that interface. No OSPF adjacency can be

formed if one of the interfaces involved is set to passive mode. The

specified interface will appear as a stub in the OSPF domain. Also, if you

configure an OSPF interface as passive where an adjacency already exists,

the adjacency will drop almost immediately.

E

XAMPLE

Console(config-router)#passive-interface vlan 1

Console(config-router)#

Display Information

show ip ospf

This command shows basic information about the routing configuration.

S

YNTAX

show ip ospf [process-id]

process-id - The ID of the router process for which information will

be displayed. (Range: 1-65535)

C

OMMAND

M

ODE

Privileged Exec

Advertising