/
protocols ospf4 area interface vif address passive host
protocols ospf4 area interface vif address passive host
To make OSPF advertise host route, use the set protocols ospf4 area interface vif address passive host in L2/L3 configuration mode.
Command Syntax
set protocols ospf4 area area-id interface interface-name vif vif-name address ip-address passive host { true | false }
Parameters
area-id | OSPF area identifier. Use dotted decimal notation. For example, use 0.0.0.0 for area 0. |
interface-name | Interface name |
vif-name | Virtual interface name. |
ip-address | Virtual interface IP address. |
true | Advertise host route. |
false | Do not advertise host route. |
Example
The following example makes the OSPF interface advertise host route:
admin@Switch# set protocols ospf4 area 0.0.0.0 interface vlan2 vif vlan2 address 10.2.2.1 passive host true
, multiple selections available,
Copyright © 2025 Pica8 Inc. All Rights Reserved.