19
Feb
2019

Intercontext routing dla ipv6

Konfiguracja:

context local

interface first-isis-intf intercontext p2p 1
  ipv6 address 10::1/64

interface router-A-id loopback
  ipv6 address 194::100/128

router isis my-backbone
  net 47.0001.1111.2222.3333.00
  is type level-1
  no address-family ipv4 unicast
  address-family ipv6 unicast
   redistribute connected level-1
   redistribute static level-1
 !
  interface router-A-id
   passive-interface
   no address-family ipv4 unicast
   address-family ipv6 unicast
 !
  interface first-isis-intf
   no address-family ipv4 unicast
   address-family ipv6 unicast

context clips

interface eth-10-1 intercontext p2p 1
  ipv6 address 10::2/64

interface router-B-id loopback
  ipv6 address 192::200/128

router isis my-backbone
  net 47.0001.0001.0002.0003.00
  is type level-1
  no address-family ipv4 unicast
  address-family ipv6 unicast
   redistribute connected level-1
   redistribute static level-1
 !
  interface router-B-id
   passive-interface
   no address-family ipv4 unicast
   address-family ipv6 unicast
 !
  interface eth-10-1
   no address-family ipv4 unicast
   address-family ipv6 unicast

Weryfikacja

[local]Train-3#ping ipv6 192::200 source 194::100
PING6 192::200 : 8 data bytes
timeout is 1 second, source 194::100
!!!!!

--- 192::200 ping6 statistics ---
5 packets transmitted, 5 packets received, 0.00000% packet loss
round-trip min/avg/max/std-dev = 1.713/1.951/2.111/0.131 ms



[local]Train-3#sh ipv6 rout
Codes: C - connected, S - static, S dv - dvsr, R - RIP, e B - EBGP, i B - IBGP
       O   - OSPF, O3  - OSPFv3, IA - OSPF(v3) inter-area,
       N1  - OSPF(v3) NSSA external type 1, N2  - OSPF(v3) NSSA external type 2
       E1  - OSPF(v3) external type 1, E2  - OSPF(v3) external type 2
       i   - IS-IS, L1 - IS-IS level-1,  L2  - IS-IS level-2, N - NAT
       IPH - IP Host, SUB A - Subscriber address, SUB S - Subscriber static
       SUB P - AAA downloaded aggregate subscriber routes
       SUB N - Subscriber ND, SUB D - Subscriber DHCP-PD
       M F - Mobile Sub Foreign Agent, M H - Mobile Sub Home Agent,
       M G - Mobile Sub GTP
       E P - EPS Aggregate(Prefix), E A - EPS Address, E S - EPS Static
       ICR - Inter-Chassis Resilience
       EPG - Evolved Packet Gateway
       A - Derived Default, MeH - Media Nexthop
       TSC - tunnel shortcut
       >   - Active Route, * - LSP

Type    Network              Next Hop        Dist    Metric    UpTime  Interface
> C     10::/64                                 0         0  00:32:26  first-isis-intf
> i L1  192::200/128                          115        11  00:10:02
> C     194::100/128         194::100           0         0  00:33:05  router-A-id



[clips]Train-3#sh ipv6 interf brief
Fri Apr  8 09:26:40 2016
Name              Address                   MTU   State    Bindings
eth-10-1          10::2/64                  1500  Up       (inter-cxt-p2p)
router-B-id       192::200/128              1500  Up       (Loopback)
[clips]Train-3#sh ipv6 rout
Codes: C - connected, S - static, S dv - dvsr, R - RIP, e B - EBGP, i B - IBGP
       O   - OSPF, O3  - OSPFv3, IA - OSPF(v3) inter-area,
       N1  - OSPF(v3) NSSA external type 1, N2  - OSPF(v3) NSSA external type 2
       E1  - OSPF(v3) external type 1, E2  - OSPF(v3) external type 2
       i   - IS-IS, L1 - IS-IS level-1,  L2  - IS-IS level-2, N - NAT
       IPH - IP Host, SUB A - Subscriber address, SUB S - Subscriber static
       SUB P - AAA downloaded aggregate subscriber routes
       SUB N - Subscriber ND, SUB D - Subscriber DHCP-PD
       M F - Mobile Sub Foreign Agent, M H - Mobile Sub Home Agent,
       M G - Mobile Sub GTP
       E P - EPS Aggregate(Prefix), E A - EPS Address, E S - EPS Static
       ICR - Inter-Chassis Resilience
       EPG - Evolved Packet Gateway
       A - Derived Default, MeH - Media Nexthop
       TSC - tunnel shortcut
       >   - Active Route, * - LSP

Type    Network              Next Hop        Dist    Metric    UpTime  Interface
> C     10::/64                                 0         0  00:53:35  eth-10-1
> C     192::200/128         192::200           0         0  00:50:59  router-B-id
> i L1  194::100/128                          115        11  00:10:50


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *