ospf prefix-suppression
Use ospf prefix-suppression to disable an OSPF interface from advertising all its IP prefixes, except for the prefixes of secondary IP addresses.
Use undo ospf prefix-suppression to restore the default.
Syntax
ospf prefix-suppression [ disable ]
undo ospf prefix-suppression
Default
Prefix suppression is disabled.
Views
Interface view
Predefined user roles
network-admin
Parameters
disable: Disables prefix suppression for an interface.
Usage guidelines
To disable prefix suppression for an interface associated with an OSPF process that has been enabled with prefix suppression, use the ospf prefix-suppression disable command on that interface.
Examples
# Enable prefix suppression for VLAN-interface 10.
<Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf prefix-suppression
Related commands
prefix-suppression