Simplified Networking
  • Home
  • Technology VoD!
    • Cisco >
      • Route & Switch / Enterprise Infrastructure
  • Technology Breakdowns!
    • Route&Switch/Ent. Infra. >
      • L2 Technologies
      • L3 Technologies
      • VPN Technologies
      • Services >
        • IOS - Dynamic NAT
        • HSRP - IPv4 Setup
        • HSRP - Priority and Preemption
    • Service Provider >
      • IGPs (Interior Gateway Protocols)
      • First Hop Redundancy >
        • HSRP (Hot Standby Router Protocol) >
          • HSRP - IOS/IOS XE Setup
          • HSRP - IOS XR Setup
      • BGP (Border Gateway Protocol)
      • Inter AS Multicast (MSDP)
      • Intra-AS MPLS
      • Inter-AS MPLS
    • Security >
      • IOS Firewall
      • ASA Firewall
      • FirePOWER Threat Defense >
        • FTD - FTD NGFW Device Setup and FMC Integration
      • VPNs >
        • PKI
        • Site to Site VPNs
        • Remote Access VPNs >
          • IOS Remote Access
          • ASA Remote Access
    • Data Center >
      • Nexus 9000v >
        • Nexus 9000v - Enabling Features
        • Nexus 9000v - VLANs and Trunks
        • Nexus 9000v - LACP Port Channels
        • Nexus 9000v - vPC (Virtual Port Channel)
        • Nexus 9000v - OSPFv2
        • Nexus 9000v - VXLAN - Ingress Replication Flood and Learn
        • Nexus 9000v - IP Multicast
        • Nexus 9000v - VxLAN - Multicast Flood and Learn
        • Nexus 9000v - VxLAN - BGP EVPN with Multicast
        • Nexus 9000v - VxLAN - BGP EVPN w/Ingress Replication
        • Nexus 9000v - VxLAN - Inter-VxLAN Routing with BGP EVPN
        • Nexus 9000v - VXLAN - External Routing
      • Nexus 7000v
    • Palo Alto

​PE-CE Routing with OSPFv2/v3 VRF Aware CE

Picture


vrf definition OSPF
 rd 1:1
 !
 address-family ipv4
 exit-address-family
 !
 address-family ipv6
 exit-address-family
!
interface GigabitEthernet0/0
 vrf forwarding OSPF
 ip address 101.5.18.18 255.255.255.0
 ip ospf 100 area 0
 ipv6 address 101:5:18::18/64
 ospfv3 100 ipv6 area 0


IOS18#show ip ospf 100 database summary 

            OSPF Router with ID (101.5.18.18) (Process ID 100)

                Summary Net Link States (Area 0)

  LS age: 233
  Options: (No TOS-capability, DC, Downward)
  LS Type: Summary Links(Network)
  Link State ID: 10.101.8.8 (summary Network Number)
  Advertising Router: 101.5.18.5
  LS Seq Number: 80000001
  Checksum: 0xD4E4
  Length: 28
  Network Mask: /32
        MTID: 0         Metric: 2 

  LS age: 233
  Options: (No TOS-capability, DC, Downward)
  LS Type: Summary Links(Network)
  Link State ID: 10.101.17.17 (summary Network Number)
  Advertising Router: 101.5.18.5
  LS Seq Number: 80000001
  Checksum: 0x1790
  Length: 28
  Network Mask: /32
        MTID: 0         Metric: 2 

  LS age: 233
  Options: (No TOS-capability, DC, Downward)
  LS Type: Summary Links(Network)
  Link State ID: 10.101.19.19 (summary Network Number)
  Advertising Router: 101.5.18.5
  LS Seq Number: 80000001
  Checksum: 0xECB6
  Length: 28
  Network Mask: /32
        MTID: 0         Metric: 2 

  LS age: 233
  Options: (No TOS-capability, DC, Downward)
  LS Type: Summary Links(Network)
  Link State ID: 101.1.8.0 (summary Network Number)
  Advertising Router: 101.5.18.5
  LS Seq Number: 80000001
  Checksum: 0x2C9F
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 1 

  LS age: 233
  Options: (No TOS-capability, DC, Downward)
  LS Type: Summary Links(Network)
  Link State ID: 101.1.17.0 (summary Network Number)
  Advertising Router: 101.5.18.5
  LS Seq Number: 80000001
  Checksum: 0xC8F9
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 1 

  LS age: 233
  Options: (No TOS-capability, DC, Downward)
  LS Type: Summary Links(Network)
  Link State ID: 101.13.19.0 (summary Network Number)
  Advertising Router: 101.5.18.5
  LS Seq Number: 80000001
  Checksum: 0x2292
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 1 




IOS18#show ospfv3 100 vrf OSPF database inter-area prefix 

          OSPFv3 100 address-family ipv6 vrf OSPF (router-id 101.5.18.18)

                Inter Area Prefix Link States (Area 0)

  LS age: 309
  LS Type: Inter Area Prefix Links
  Link State ID: 6
  Advertising Router: 101.5.18.5
  LS Seq Number: 80000001
  Checksum: 0x6D86
  Length: 44
  Metric: 1 
  Prefix Address: 10:101:8::8
  Prefix Length: 128, Options: DN

  LS age: 309
  LS Type: Inter Area Prefix Links
  Link State ID: 7
  Advertising Router: 101.5.18.5
  LS Seq Number: 80000001
  Checksum: 0xDBF8
  Length: 44
  Metric: 1 
  Prefix Address: 10:101:17::17
  Prefix Length: 128, Options: DN

  LS age: 309
  LS Type: Inter Area Prefix Links
  Link State ID: 8
  Advertising Router: 101.5.18.5
  LS Seq Number: 80000001
  Checksum: 0x26A9
  Length: 44
  Metric: 1 
  Prefix Address: 10:101:19::19
  Prefix Length: 128, Options: DN

  LS age: 309
  LS Type: Inter Area Prefix Links
  Link State ID: 9
  Advertising Router: 101.5.18.5
  LS Seq Number: 80000001
  Checksum: 0xF55A
  Length: 36
  Metric: 1 
  Prefix Address: 101:1:8::
  Prefix Length: 64, Options: DN

  LS age: 309
  LS Type: Inter Area Prefix Links
  Link State ID: 10
  Advertising Router: 101.5.18.5
  LS Seq Number: 80000001
  Checksum: 0xDC63
  Length: 36
  Metric: 1 
  Prefix Address: 101:1:17::
  Prefix Length: 64, Options: DN

  LS age: 309
  LS Type: Inter Area Prefix Links
  Link State ID: 11
  Advertising Router: 101.5.18.5
  LS Seq Number: 80000001
  Checksum: 0xEF3B
  Length: 36
  Metric: 1 
  Prefix Address: 101:13:19::
  Prefix Length: 64, Options: DN


IOS18
router ospfv3 100
  address-family ipv6 unicast vrf OSPF
  capability vrf-lite
 exit-address-family
!
router ospf 100 vrf OSPF
 capability vrf-lite



IOS18#show ip route vrf OSPF

Routing Table: OSPF
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override, p - overrides from PfR

Gateway of last resort is not set

      10.0.0.0/32 is subnetted, 3 subnets
O IA     10.101.8.8 [110/3] via 101.5.18.5, 00:01:39, GigabitEthernet0/0
O IA     10.101.17.17 [110/3] via 101.5.18.5, 00:01:39, GigabitEthernet0/0
O IA     10.101.19.19 [110/3] via 101.5.18.5, 00:01:39, GigabitEthernet0/0
      101.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
O IA     101.1.8.0/24 [110/2] via 101.5.18.5, 00:01:39, GigabitEthernet0/0
O IA     101.1.17.0/24 [110/2] via 101.5.18.5, 00:01:39, GigabitEthernet0/0
C        101.5.18.0/24 is directly connected, GigabitEthernet0/0
L        101.5.18.18/32 is directly connected, GigabitEthernet0/0
O IA     101.13.19.0/24 [110/2] via 101.5.18.5, 00:01:39, GigabitEthernet0/0



IOS18#show ipv6 route vrf OSPF
IPv6 Routing Table - OSPF - 9 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
       H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
       IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO
       ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
       RL - RPL, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
       OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
       la - LISP alt, lr - LISP site-registrations, ld - LISP dyn-eid
       lA - LISP away, a - Application
OI  10:101:8::8/128 [110/2]
     via FE80::5200:FF:FE05:1, GigabitEthernet0/0
OI  10:101:17::17/128 [110/2]
     via FE80::5200:FF:FE05:1, GigabitEthernet0/0
OI  10:101:19::19/128 [110/2]
     via FE80::5200:FF:FE05:1, GigabitEthernet0/0
OI  101:1:8::/64 [110/2]
     via FE80::5200:FF:FE05:1, GigabitEthernet0/0
OI  101:1:17::/64 [110/2]
     via FE80::5200:FF:FE05:1, GigabitEthernet0/0
C   101:5:18::/64 [0/0]
     via GigabitEthernet0/0, directly connected
L   101:5:18::18/128 [0/0]
     via GigabitEthernet0/0, receive
OI  101:13:19::/64 [110/2]
     via FE80::5200:FF:FE05:1, GigabitEthernet0/0
L   FF00::/8 [0/0]
     via Null0, receive




IOS18#traceroute vrf OSPF 
Protocol [ip]: 
Target IP address: 10.101.8.8
Ingress traceroute [n]: 
Source address: 
Numeric display [n]: y
Resolve AS number in (G)lobal table, (V)RF or(N)one [G]: 
Timeout in seconds [3]: 
Probe count [3]: 
Minimum Time to Live [1]: 
Maximum Time to Live [30]: 
Port Number [33434]: 
Loose, Strict, Record, Timestamp, Verbose[none]: 
Type escape sequence to abort.
Tracing the route to 10.101.8.8
VRF info: (vrf in name/id, vrf out name/id)
  1 101.5.18.5 7 msec 7 msec 4 msec
  2 10.3.5.3 [MPLS: Labels 33/75 Exp 0] 31 msec 23 msec 20 msec
  3 101.1.8.1 [MPLS: Label 75 Exp 0] 16 msec 12 msec 11 msec
  4 101.1.8.8 23 msec *  32 msec




IOS18#traceroute vrf OSPF
Protocol [ip]: ipv6
Target IPv6 address: 10:101:8::8        
Source address: 
Insert source routing header? [no]: 
Numeric display? [no]: y
Timeout in seconds [3]: 
Probe count [3]: 
Minimum Time to Live [1]: 
Maximum Time to Live [30]: 
Priority [0]: 
Port Number [0]: 
Type escape sequence to abort.
Tracing the route to 10:101:8::8

  1 101:5:18::5 13 msec 8 msec 5 msec
  2  * 
    ::FFFF:10.3.5.3 30 msec 12 msec
  3 101:1:8::1 [MPLS: Label 64 Exp 0] 28 msec 14 msec 12 msec
  4 101:1:8::8 21 msec 20 msec 34 msec
Powered by Create your own unique website with customizable templates.
  • Home
  • Technology VoD!
    • Cisco >
      • Route & Switch / Enterprise Infrastructure
  • Technology Breakdowns!
    • Route&Switch/Ent. Infra. >
      • L2 Technologies
      • L3 Technologies
      • VPN Technologies
      • Services >
        • IOS - Dynamic NAT
        • HSRP - IPv4 Setup
        • HSRP - Priority and Preemption
    • Service Provider >
      • IGPs (Interior Gateway Protocols)
      • First Hop Redundancy >
        • HSRP (Hot Standby Router Protocol) >
          • HSRP - IOS/IOS XE Setup
          • HSRP - IOS XR Setup
      • BGP (Border Gateway Protocol)
      • Inter AS Multicast (MSDP)
      • Intra-AS MPLS
      • Inter-AS MPLS
    • Security >
      • IOS Firewall
      • ASA Firewall
      • FirePOWER Threat Defense >
        • FTD - FTD NGFW Device Setup and FMC Integration
      • VPNs >
        • PKI
        • Site to Site VPNs
        • Remote Access VPNs >
          • IOS Remote Access
          • ASA Remote Access
    • Data Center >
      • Nexus 9000v >
        • Nexus 9000v - Enabling Features
        • Nexus 9000v - VLANs and Trunks
        • Nexus 9000v - LACP Port Channels
        • Nexus 9000v - vPC (Virtual Port Channel)
        • Nexus 9000v - OSPFv2
        • Nexus 9000v - VXLAN - Ingress Replication Flood and Learn
        • Nexus 9000v - IP Multicast
        • Nexus 9000v - VxLAN - Multicast Flood and Learn
        • Nexus 9000v - VxLAN - BGP EVPN with Multicast
        • Nexus 9000v - VxLAN - BGP EVPN w/Ingress Replication
        • Nexus 9000v - VxLAN - Inter-VxLAN Routing with BGP EVPN
        • Nexus 9000v - VXLAN - External Routing
      • Nexus 7000v
    • Palo Alto