Skip to main content
Cisco SD-WAN
Support
Product Documentation
Viptela Documentation

distance

vpn router ospf distance—Define the OSPF route administration distance based on route type (on vEdge routers only).

vManage Feature Template

For vEdge routers only:

Configuration ► Templates ► OSPF

Command Hierarchy

vpn vpn-id  
  router
    ospf
      distance
        ​external number
       ​ inter-area number
        ​intra-area number

Options

Distance for External Routes
external number
Set the OSPF distance for routes learned from other domains.
Range: 0 through 255
Default: 110
Distance for Interarea Routes
inter-area number
Set the distance for routes coming from one area into another.
Range: 0 through 255
Default: 110
Distance for Intra-Area Routes
intra-area number
Set the distance for routes within an area.
Range: 0 through 255
Default: 110

Operational Commands

show ospf routes

Example

Change the OSPF distance for routes learned from other domains:

vEdge# config
Entering configuration mode terminal
vEdge(config)# vpn 1 router ospf
vEdge(config-ospf)# distance external 50
vEdge(config-ospf)# show config
vpn 1
 router
  ospf
   distance external 50
  !
 !
!

Release Information

Command introduced in Viptela Software Release 14.1.​

Additional Information

See the Routing CLI Reference article for your software release.

  • Was this article helpful?