7000 Series L3 Managed Switch Reference Manual for Software v2.0
Routing Commands 8-9
config trapflags ospf
This command enables or disables OSPF traps.
Default enable
Format config trapflags ospf <enable|disable>
config router ospf adminmode
This command sets the administrative mode of OSPF in the router to active or inactive.
Default disable
Format config router ospf adminmode <enable|dis-
able>
config router ospf asbr
This command determines whether the router can act as an autonomous system border router.
Default disable
Format config router ospf asbr <enable|disable>
config router ospf preference
This command sets the route preference value of OSPF in the router. Lower route preference
values are preferred when determining the best route. The type of OSPF can be intra, inter, type-1,
or type-2. The range of preference is 0 to 255.
Default Intra -- 8; Inter -- 10; Type-1 -- 13; Type-2 -- 150.
Format config router ospf preference <intra/inter/
type1/type2> <0-255>
show router ospf interface info
This command displays the information for the IFO object or virtual interface tables.
Format show router ospf interface info <slot.port>
IP Address Represents the IP address for the specified interface. This is a
configured value.