Underlay routing

This section provides configuration examples for underlay routing. All sample configurations in this section are specific to the PE1 router.

IGP - OSPF

This example configures an OSPFv2 neighbor. The port and interface configuration is similar to that shown in Ports and interfaces. OSPF is assigned a higher preference value, so that IS-IS is preferred in the topology.

See "Configuring OSPF" in the 7450 ESS, 7750 SR, 7950 XRS, and VSR Unicast Routing Protocols Guide for detailed information about OSPF configuration.

See OSPF for information about relevant OSPF show commands.

/configure router "Base" ospf 0 admin-state enable
/configure router "Base" ospf 0 preference 20
/configure router "Base" ospf 0 area 0.0.0.0 interface "To-P1" interface-type point-to-point
/configure router "Base" ospf 0 area 0.0.0.0 interface "system" interface-type point-to-point

IGP - IS-IS

This example configures the router as an IS-IS Level 1 and 2 (default). The port and interface configuration is similar to that described in Port and interfaces.

See "Configuring IS-IS" in the 7450 ESS, 7750 SR, 7950 XRS, and VSR Unicast Routing Protocols Guide for detailed information about IS-IS configuration.

See IS-IS for information about relevant IS-IS show commands.

/configure router "Base" isis 0 admin-state enable
/configure router "Base" isis 0 area-address [49.0000]
/configure router "Base" isis 0 interface "To-P1" interface-type point-to-point
/configure router "Base" isis 0 interface "system" interface-type point-to-point

BGP

In this example, BGP is used to advertise the VPN-IPv4 address family for the VPRN service and the EVPN address family for the EVPN-MPLS service. The following applies:

  • only PE1 and PE3 will participate in VPRN service
  • all four PEs will participate in EVPN-MPLS service

See "BGP" in the 7450 ESS, 7750 SR, 7950 XRS, and VSR Unicast Routing Protocols Guide for detailed information about BGP configuration.

See BGP for information about relevant BGP show commands.

/configure router "Base" bgp router-id 10.10.10.1
/configure router "Base" bgp group "pe" peer-as 64500
/configure router "Base" bgp neighbor "10.10.10.2" group "pe"
/configure router "Base" bgp neighbor "10.10.10.2" family evpn true
/configure router "Base" bgp neighbor "10.10.10.3" group "pe"
/configure router "Base" bgp neighbor "10.10.10.3" family vpn-ipv4 true
/configure router "Base" bgp neighbor "10.10.10.3" family evpn true
/configure router "Base" bgp neighbor "10.10.10.4" group "pe"
/configure router "Base" bgp neighbor "10.10.10.4" family evpn true