Skip to main content
Viptela is now part of Cisco.
Support
Product Documentation
Viptela Documentation

advertise

omp advertise, vpn omp advertise—Advertise routes learned locally by the vEdge router to OMP (on vEdge routers only). OMP carries the routes learned to the vSmart controller. By default, a vEdge router advertises connected, static, OSPF inter-area, and OSPF intra-area routes to OMP.

Route advertisements that you configure with the omp advertise command apply to all VPNs configured on the router. With the vpn omp advertise command, you can configure how routes are advertised in any individual VPN except for VPN 0 and VPN 512, and this configuration applies only to the specific VPN. If you configure route advertisements with both commands, they are both applied.

vManage Feature Template

For vEdge routers only:

Configuration ► Templates ► OMP

Configuration ► Templates ► System

Command Hierarchy

omp
  advertise (bgp | connected | ospf type | static)
vpn vpn-id
  omp
    advertise (aggregate prefix [aggregate-only] | bgp | connected | network prefix | ospf type | static)

Options

Aggregate Routes
aggregate prefix [aggregate-only]
Aggregate routes from the specified prefix before advertising them into OMP. By default, the aggregated prefixes and all individual prefixes are advertised. To advertise only the aggregated prefix, include the aggregate-only option.
BGP Routes
bgp
Advertise all BGP routes learned by the vEdge router to OMP.
Connected Routes
connected
Advertise all connected routes on the vEdge router to OMP. Connected routes are advertised by default. To disable advertisement, use the no advertise connected command.
Network Routes
network prefix
Advertise a specific route learned by the vEdge router to OMP. This route must be in the vEdge router's route table for the VPN. Use this option to advertise a specific route instead of advertising all routes for a protocol.
OSPF Routes
ospf type
Advertise all OSPF routes learned by the local vEdge router to OMP. For the global OMP configuration, type can be external, to advertise routes learned from external ASs. For the VPN-specific OMP configuration, type can be external, to advertise routes learned from the local AS. For the global OMP configuration, OSPF external routes are advertised by default.
Static Routes
static
Advertise all static routes configured on the vEdge router to OMP. Static routes are advertised by default. To disable advertisement, use the no advertise static command.

Operational Commands

show ip routes
show omp routes

Example

For a vEdge router in a branch network that is running BGP, advertise to the vSmart controller the routes that the vEdge router has learned from the local network:

omp
  advertise bgp

Release Information

Command introduced in Viptela Software Release 14.1.​
In Release 15.1.1, add keywords for advertising connected and static routes.
In Release 16.3, add vpn omp advertise command.

Additional Information

See the Unicast Overlay Routing Overview, Configuring OMP, and Routing Configuration Example articles for your software release.

  • Was this article helpful?