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

ospf

vpn router ospf—Configure OSPF within a VPN on a vEdge router.

vManage Feature Template

For vEdge routers only:

Configuration ► Templates ► OSPF

Command Hierarchy

vpn vpn-id
  router
    ospf
      area number
        interface interface-name
          authentication
            authentication-key key
            message-digest key
            type (message-digest | simple)
          cost number
          dead-interval seconds
          hello-interval seconds
          network (broadcast | point-to-point)
          passive-interface
          priority number 
          retransmit-interval seconds 
        ! end area interface
        nssa
          no-summary
          translate (always | candidate | never)
        range prefix/length
          cost number
          no-advertise
        stub
          no-summary
      ! end area
      auto-cost reference-bandwidth mbps
      compatible rfc1583
      default-information    
        originate (always | metric metric | metric-type type)
      distance
        external number
        inter-area number
        intra-area number
      max-metric
        router-lsa (administrative | on-startup seconds)
      redistribute (bgp | connected | nat | natpool-outside | omp | static)
      route-policy policy-name in
      router-id ipv4-address
      timers
        spf delay initial-hold-time maximum-hold-time

Options

None

Example

In VPN 1 on a vEdge router, configure OSPF area 0. The interface ge0/0 participates in the local OSPF network.

vEdge# show running-config vpn 1 router ospf 
vpn 1
 router
  ospf
   redistribute static
   redistribute omp
   area 0
    interface ge0/0
    exit
   exit
  !
 !
!

vEdge# show interface vpn 1
                              IF      IF                                                                                            
                              ADMIN   OPER    ENCAP  PORT                              SPEED                      RX       TX       
VPN  INTERFACE  IP ADDRESS    STATUS  STATUS  TYPE   TYPE     MTU   HWADDR             MBPS   DUPLEX  UPTIME      PACKETS  PACKETS  
------------------------------------------------------------------------------------------------------------------------------------
1    ge0/0      10.2.2.11/24  Up      Up      null   service  1500  00:0c:29:ab:b7:58  10     full    0:01:36:54  725      669     

Release Information

Command introduced in Viptela Software Release 14.1.​

Additional Information

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

  • Was this article helpful?