ospf路由器

ospf路由器

aggregate-route rapng-vpn

area

default-cost

no [default-cost | nssa | stub]

nssa [default-information-originate | no-redistribution | no-summary]

stub [no-summary]

default-information originate always

redistribute

loopback

rapng-vpn

static

vlan [add | remove | ]

router-id

subnet exclude

Description

This command configures OSPF configuration for the upstream router. This command is only available in the Config mode. OSPFv2 is a dynamic Interior Gateway routing Protocol (IGP) based on IETF RFC 2328. The OSPF implementation allowsmanaged devicesto deploy effectively in a Layer 3 topology.

Parameter

Description

aggregate-route rapng-vpn

Configures the aggregate route information for specified IP address and subnet mask and redistributes RAPNG VPN address

area

Configures OSPF area for specified area ID (IP address)

default-cost

Configures summary default-cost of a NSSA/stub area

Range:0-16777215

no [default-cost | nssa | stub]

Removes configured default-cost of NSSA/stub, NSSA, or stub

nssa [default-information-originate |

no-redistribution | no-summary]

Configures origination of type 7 default into NSSA area, sets NSSA area for no distribution into this NSSA area, or stops sending of summary LSA into this NSSA area

stub [no-summary]

Configures an area as stub area and stops sending summary LSA into this area

default-information originate always

Configures distribution of default information by distributing a default route

redistribute

Redistributes the route

loopback

Redistributes loopback addresses

rapng-vpn

Redistributes RAPNG VPN addresses

static

Redistributes static IP routes.

vlan [add |

remove | ]

Redistributes VLAN user subnet, adds user VLANs to list, or removes user VLANs from list.

router-id

Configures router ID for specified IP address

subnet exclude

Configures IP address and subnet mask that OSPF will not advertise

Example

The following example configures an IP address 192.0.2.1 and subnet mask 255.0.255.255 that OSPF will not advertise:

(host) [mynode] (config) #router ospf subnet exclude 192.0.2.1 255.0.255.255

Command History

Release

Modification

ArubaOS8.1.0.0

Thestaticsub-parameter was added under theredistributeparameter.

ArubaOS8.0.0.0

Command introduced.

Command Information

Platforms

License

Command Mode

All Platforms

Base operating system

Configuration mode onmanaged devices.