Tuesday 19 March 2019

PE - CPE RIP Configuration

PE Router - IOS XR

router bgp 1
 vrf CUST2
  rd 200:1
  address-family ipv4 unicast
   redistribute rip metric 1

router rip
 vrf CUST2
  interface GigabitEthernet0/0/0/1
  !
  interface GigabitEthernet0/0/0/3
  !
  redistribute bgp 1
 !
!



CPE Router - IOS XE

router rip
!
address-family ipv4 vrf CUST2
  network 6.0.0.0
  network 169.10.0.0
  no auto-summary
  version 2
 exit-address-family
!
!


Monday 18 March 2019

BGP Issues

Cisco IOS XR

router bgp 1
 bgp router-id 1.0.0.133

 vrf CUST1
  rd 100:1
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
  neighbor 100.96.100.1
   remote-as 200
   address-family ipv4 unicast
    route-policy PASS in
    route-policy PASS out
   !
   address-family ipv6 unicast
    route-policy PASS in
    route-policy PASS out

Cisco IOS XE:

router bgp 200
 !
 address-family ipv4 vrf CUST1
  bgp router-id 100.96.100.1
  neighbor 100.96.100.2 remote-as 1
  neighbor 100.96.100.2 update-source GigabitEthernet0/1.100
  neighbor 100.96.100.2 activate
 exit-address-family
!

#####it will not establish as XE has only IPV4 and missing IPV6 address family.#####

Thursday 7 March 2019

MPLS TE - Manual tunnel

Cisco IOS XR

interface tunnel-te20
 ipv4 unnumbered Loopback0
 priority 4 4
 signalled-bandwidth 750
 autoroute announce
 !
 destination 1.0.0.122
 path-option 1 explicit name ASBR2 attribute-set BW
 path-option 2 dynamic

mpls traffic-eng
 !
 attribute-set path-option BW
  signalled-bandwidth 750 class-type 0
#didnt work for me - use signaled bandwidth under interface 


explicit-path name ASBR2
 index 1 next-address strict ipv4 unicast 1.0.0.101
 index 2 next-address strict ipv4 unicast 1.0.0.121
 index 3 next-address strict ipv4 unicast 1.0.0.122
 index 4 next-address strict ipv4 unicast 1.0.0.102
 index 5 next-address strict ipv4 unicast 1.0.0.112







Cisco IOS XE

interface Tunnel10
 ip unnumbered Loopback0
 tunnel mode mpls traffic-eng
 tunnel destination 1.0.0.132
 tunnel mpls traffic-eng autoroute announce
 tunnel mpls traffic-eng priority 6 6
 tunnel mpls traffic-eng bandwidth 750
 tunnel mpls traffic-eng path-option 1 dynamic

ip explicit-path name PE3 enable
 next-address 1.0.0.102
 next-address 1.0.0.132
 next-address 1.0.0.101
 next-address 1.0.0.133




Tuesday 5 March 2019

mpls traffic-eng onehop primary

CISCO IOS XR

MPLS ONEHOP

mpls traffic-eng
 interface GigabitEthernet0/0/0/0
 !
 interface GigabitEthernet0/0/0/3
 !
 auto-tunnel mesh
  group 1
   onehop
   attribute-set DEFAULT
  !
  tunnel-id min 200 max 250
 !
 attribute-set auto-mesh DEFAULT
  autoroute announce
 !
!
ipv4 unnumbered mpls traffic-eng Loopback0



CISCO IOS XE

mpls traffic-eng tunnels
mpls traffic-eng auto-tunnel primary onehop
mpls traffic-eng auto-tunnel primary tunnel-num min 200 max 250
mpls traffic-eng router-id Loopback0

interface GigabitEthernet2
 ip address 1.1.12.12 255.255.255.0
 ip ospf message-digest-key 1 md5 CISCO
 ip ospf network point-to-point
 ip ospf 1 area 0
 negotiation auto
 ipv6 address 2001:DB8::1:1:12:12/122
 mpls traffic-eng tunnels
 ip rsvp bandwidth





1.1 Switched campus 1.1.a Switch administration 1.1.a i Managing MAC address table Show Commands: Switch#show mac address-table ?   address ...