IPv6 OSPF and IPv6 BGP -- ipv6 unicast-routing

 

R12#show run
R12#show running-config 
Building configuration...

Current configuration : 2920 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R12
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
clock timezone HKT 8 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip auth-proxy max-login-attempts 5
ip admission max-login-attempts 5
!         
!         
!         
!         
!         
no ip domain lookup
ip cef    
ipv6 unicast-routing
ipv6 cef  
!         
multilink bundle-name authenticated
!         
!         
!         
!         
!         
!         
!         
!         
!         
redundancy
!         
!         
!         
!         
!         
!         
!         
!         
!         
!         
!         
!         
!
!
interface Loopback0
 ip address 123.12.12.12 255.255.255.255
 ipv6 address 2001:CC1E:BEEF:1212:12:12:12:12/128
!
interface Ethernet0/0
 ip address 10.1.12.1 255.255.255.0
 ipv6 address 2001:CC1E:BEEF:12:10:1:12:1/64
!
interface Ethernet0/1
 no ip address
!
interface Ethernet0/1.4
  encapsulation dot1Q 12
 ip address 201.1.12.2 255.255.255.252
!
interface Ethernet0/1.6
  encapsulation dot1Q 6
 ipv6 address 2001:CC1E:8BAD:6112::2/64
!
interface Ethernet0/2
 no ip address
 shutdown
!
interface Ethernet0/3
 no ip address
 shutdown
!
interface Ethernet1/0
 no ip address
 shutdown
!
interface Ethernet1/1
 no ip address
 shutdown
!
interface Ethernet1/2
 no ip address
 shutdown
!
interface Ethernet1/3
 no ip address
 shutdown
!
interface Ethernet2/0
 no ip address
 shutdown
!
interface Ethernet2/1
 no ip address
 shutdown
!
interface Ethernet2/2
 no ip address
 shutdown
!
interface Ethernet2/3
 no ip address
 shutdown
!
interface Ethernet3/0
 no ip address
 shutdown
!
interface Ethernet3/1
 no ip address
 shutdown
!         
interface Ethernet3/2
 no ip address
 shutdown
!
interface Ethernet3/3
 no ip address
 shutdown
!
interface Serial4/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial4/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial4/2
 no ip address
 shutdown
 serial restart-delay 0
!         
interface Serial4/3
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial5/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial5/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial5/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial5/3
 no ip address
 shutdown 
 serial restart-delay 0
!
router bgp 65111
 bgp router-id 123.12.12.12
 bgp log-neighbor-changes
 no bgp default ipv4-unicast
 neighbor 2001:CC1E:8BAD:6112::1 remote-as 20001
 neighbor 201.1.12.1 remote-as 20001
 !
 address-family ipv4
  network 10.1.12.0 mask 255.255.255.0
  network 123.12.12.12 mask 255.255.255.255
 exit-address-family
 !
 address-family ipv6
  network 2001:CC1E:BEEF:12::/64
  network 2001:CC1E:BEEF:1212:12:12:12:12/128
   neighbor 2001:CC1E:8BAD:6112::1 activate
 exit-address-family
!
ip forward-protocol nd
!
!         
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
 login
 transport input all
!
!         
end

R12#  
R12#
R14#show run
R14#show running-config 
Building configuration...

Current configuration : 2948 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R14
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
clock timezone HKT 8 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip auth-proxy max-login-attempts 5
ip admission max-login-attempts 5
!
!
!
!
!
no ip domain lookup
ip cef
ipv6 unicast-routing
ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!         

!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
 ip address 123.14.14.14 255.255.255.255
 ipv6 address 2001:CC1E:BEEF:1414:14:14:14:14/128
!
interface Ethernet0/0
 ip address 10.1.14.1 255.255.255.0
 ipv6 address 2001:CC1E:BEEF:14:10:1:14:1/64
!
interface Ethernet0/1
 no ip address
!         
interface Ethernet0/1.4
 encapsulation dot1Q 14
 ip address 202.2.14.2 255.255.255.252

!
interface Ethernet0/1.6
 encapsulation dot1Q 6
 ipv6 address 2001:CC1E:1CE:6214::2/64

!
interface Ethernet0/2
 no ip address
 shutdown
!
interface Ethernet0/3
 no ip address
 shutdown
!
interface Ethernet1/0
 no ip address
 shutdown
!
interface Ethernet1/1
 no ip address
 shutdown 
!
interface Ethernet1/2
 no ip address
 shutdown
!
interface Ethernet1/3
 no ip address
 shutdown
!
interface Ethernet2/0
 no ip address
 shutdown
!
interface Ethernet2/1
 no ip address
 shutdown
!
interface Ethernet2/2
 no ip address
 shutdown
!
interface Ethernet2/3
 no ip address
 shutdown
!
interface Ethernet3/0
 no ip address
 shutdown
!
interface Ethernet3/1
 no ip address
 shutdown
!
interface Ethernet3/2
 no ip address
 shutdown
!
interface Ethernet3/3
 no ip address
 shutdown
!
interface Serial4/0
 no ip address
 shutdown
 serial restart-delay 0
!         
interface Serial4/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial4/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial4/3
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial5/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial5/1
 no ip address
 shutdown 
 serial restart-delay 0
!
interface Serial5/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial5/3
 no ip address
 shutdown
 serial restart-delay 0
!
router bgp 65111
 bgp router-id 123.14.14.14
 bgp log-neighbor-changes
 no bgp default ipv4-unicast
 neighbor 2001:CC1E:1CE:6214::1 remote-as 20002
 neighbor 202.2.14.1 remote-as 20002
 !
 address-family ipv4
  network 10.1.14.0 mask 255.255.255.0
  network 123.14.14.14 mask 255.255.255.255
  neighbor 202.2.14.1 activate
 exit-address-family
 !
 address-family ipv6
  network 2001:CC1E:BEEF:14::/64
  network 2001:CC1E:BEEF:1414:14:14:14:14/128
  neighbor 2001:CC1E:1CE:6214::1 activate
 exit-address-family
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!         
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
 login
 transport input all
!
!
end

R14#    
R14#
----------------------------------------
R14#show ipv6 ro
R14#show ipv6 route 
IPv6 Routing Table - default - 15 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
       l - LISP
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C   2001:CC1E:1CE:6214::/64 [0/0]
     via Ethernet0/1.6, directly connected
L   2001:CC1E:1CE:6214::2/128 [0/0]
     via Ethernet0/1.6, receive
B   2001:CC1E:BEEF:12::/64 [20/0]
     via FE80::A8BB:CCFF:FE00:3E20, Ethernet0/1.6
C   2001:CC1E:BEEF:14::/64 [0/0]
     via Ethernet0/0, directly connected
L   2001:CC1E:BEEF:14:10:1:14:1/128 [0/0]
     via Ethernet0/0, receive
B   2001:CC1E:BEEF:34::/64 [20/0]
     via FE80::A8BB:CCFF:FE00:3E20, Ethernet0/1.6
B   2001:CC1E:BEEF:203:123:3:3:3/128 [20/0]
     via FE80::A8BB:CCFF:FE00:3E20, Ethernet0/1.6
B   2001:CC1E:BEEF:204:123:4:4:4/128 [20/0]
     via FE80::A8BB:CCFF:FE00:3E20, Ethernet0/1.6
B   2001:CC1E:BEEF:310::/64 [20/0]
     via FE80::A8BB:CCFF:FE00:3E20, Ethernet0/1.6
B   2001:CC1E:BEEF:411::/64 [20/0]
     via FE80::A8BB:CCFF:FE00:3E20, Ethernet0/1.6
B   2001:CC1E:BEEF:1010:10:10:10:10/128 [20/0]
     via FE80::A8BB:CCFF:FE00:3E20, Ethernet0/1.6
B   2001:CC1E:BEEF:1111:11:11:11:11/128 [20/0]
     via FE80::A8BB:CCFF:FE00:3E20, Ethernet0/1.6
B   2001:CC1E:BEEF:1212:12:12:12:12/128 [20/0]
     via FE80::A8BB:CCFF:FE00:3E20, Ethernet0/1.6
LC  2001:CC1E:BEEF:1414:14:14:14:14/128 [0/0]
     via Loopback0, receive
L   FF00::/8 [0/0]
     via Null0, receive
R14#   
R14#
-----------------------------
R12#show ipv6 ro
R12#show ipv6 route 
IPv6 Routing Table - default - 15 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
       l - LISP
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C   2001:CC1E:8BAD:6112::/64 [0/0]
     via Ethernet0/1.6, directly connected
L   2001:CC1E:8BAD:6112::2/128 [0/0]
     via Ethernet0/1.6, receive
C   2001:CC1E:BEEF:12::/64 [0/0]
     via Ethernet0/0, directly connected
L   2001:CC1E:BEEF:12:10:1:12:1/128 [0/0]
     via Ethernet0/0, receive
B   2001:CC1E:BEEF:14::/64 [20/0]
     via FE80::A8BB:CCFF:FE00:3D20, Ethernet0/1.6
B   2001:CC1E:BEEF:34::/64 [20/0]
     via FE80::A8BB:CCFF:FE00:3D20, Ethernet0/1.6
B   2001:CC1E:BEEF:203:123:3:3:3/128 [20/0]
     via FE80::A8BB:CCFF:FE00:3D20, Ethernet0/1.6
B   2001:CC1E:BEEF:204:123:4:4:4/128 [20/0]
     via FE80::A8BB:CCFF:FE00:3D20, Ethernet0/1.6
B   2001:CC1E:BEEF:310::/64 [20/0]
     via FE80::A8BB:CCFF:FE00:3D20, Ethernet0/1.6
B   2001:CC1E:BEEF:411::/64 [20/0]
     via FE80::A8BB:CCFF:FE00:3D20, Ethernet0/1.6
B   2001:CC1E:BEEF:1010:10:10:10:10/128 [20/0]
     via FE80::A8BB:CCFF:FE00:3D20, Ethernet0/1.6
B   2001:CC1E:BEEF:1111:11:11:11:11/128 [20/0]
     via FE80::A8BB:CCFF:FE00:3D20, Ethernet0/1.6
LC  2001:CC1E:BEEF:1212:12:12:12:12/128 [0/0]
     via Loopback0, receive
B   2001:CC1E:BEEF:1414:14:14:14:14/128 [20/0]
     via FE80::A8BB:CCFF:FE00:3D20, Ethernet0/1.6
L   FF00::/8 [0/0]
     via Null0, receive
R12# 
R12#show ipv
R12#show ipv6 bg
R12#show ipv6 bg?
% Unrecognized command
R12#show b      
R12#show bg
R12#show bgp ip
R12#show bgp ipv6  ?
  multicast  Address Family modifier
  mvpn       Address Family modifier
  unicast    Address Family modifier

R12#show bgp ipv6  un
R12#show bgp ipv6  unicast ?
  X:X:X:X::X/<0-128>  IPv6 prefix <network>/<length>
  community           Display routes matching the communities
  community-list      Display routes matching the community-list
  dampening           Display detailed information about dampening
  extcommunity-list   Display routes matching the extcommunity-list
  filter-list         Display routes conforming to the filter-list
  inconsistency       Display all inconsistent paths
  inconsistent-as     Display only routes with inconsistent origin ASs
  injected-paths      Display all injected paths
  labels              Display BGP labels for prefixes
  neighbors           Detailed information on TCP and BGP neighbor connections
  nexthops            Nexthop address table
  paths               Path information
  peer-group          Display information on peer-groups
  pending-prefixes    Display prefixes pending deletion
  prefix-list         Display routes matching the prefix-list
  quote-regexp        Display routes matching the AS path "regular expression"
  regexp              Display routes matching the AS path regular expression
  replication         Display replication status of update-group(s)
  rib-failure         Display bgp routes that failed to install in the routing
                      table (RIB)
  route-map           Display routes matching the route-map
  route-server        Route server information
  rpki                Display RPKI Neighbor Cache
  summary             Summary of BGP neighbor status
  update-group        Display information on update-groups
  update-sources      Update source interface table
  |                   Output modifiers
  <cr>

R12#show bgp ipv6  unicast 
BGP table version is 12, local router ID is 123.12.12.12
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, 
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, 
              x best-external, a additional-path, c RIB-compressed, 
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
 *>  2001:CC1E:BEEF:12::/64
                       ::                       0         32768 i
 *>  2001:CC1E:BEEF:14::/64
                       2001:CC1E:8BAD:6112::1
                                                              0 20001 34567 ?
 *>  2001:CC1E:BEEF:34::/64
                       2001:CC1E:8BAD:6112::1
                                                              0 20001 34567 ?
 *>  2001:CC1E:BEEF:203:123:3:3:3/128
                       2001:CC1E:8BAD:6112::1
                                                              0 20001 34567 ?
 *>  2001:CC1E:BEEF:204:123:4:4:4/128
                       2001:CC1E:8BAD:6112::1
                                                              0 20001 34567 ?
 *>  2001:CC1E:BEEF:310::/64
     Network          Next Hop            Metric LocPrf Weight Path
                       2001:CC1E:8BAD:6112::1
                                                              0 20001 34567 ?
 *>  2001:CC1E:BEEF:411::/64
                       2001:CC1E:8BAD:6112::1
                                                              0 20001 34567 ?
 *>  2001:CC1E:BEEF:1010:10:10:10:10/128
                       2001:CC1E:8BAD:6112::1
                                                              0 20001 34567 ?
 *>  2001:CC1E:BEEF:1111:11:11:11:11/128
                       2001:CC1E:8BAD:6112::1
                                                              0 20001 34567 ?
 *>  2001:CC1E:BEEF:1212:12:12:12:12/128
                       ::                       0         32768 i
 *>  2001:CC1E:BEEF:1414:14:14:14:14/128
                       2001:CC1E:8BAD:6112::1
                                                              0 20001 34567 ?
R12#  
R12#show b
R12#show bg
R12#show bgp ipv6 un?
unicast  

R12#show bgp ipv6 un
R12#show bgp ipv6 unicast nei
R12#show bgp ipv6 unicast neighbors ?
  A.B.C.D     Neighbor to display information about
  X:X:X:X::X  IPv6 neighbor to display information about
  slow        Slow neighbor status
  |           Output modifiers
  <cr>

R12#show bgp ipv6 unicast neighbors 
BGP neighbor is 2001:CC1E:8BAD:6112::1,  remote AS 20001, external link
  BGP version 4, remote router ID 123.61.61.61
  BGP state = Established, up for 00:10:52
  Last read 00:00:46, last write 00:00:10, hold time is 180, keepalive interval is 60 seconds
  Neighbor sessions:
    1 active, is not multisession capable (disabled)
  Neighbor capabilities:
    Route refresh: advertised and received(new)
    Four-octets ASN Capability: advertised and received
    Address family IPv6 Unicast: advertised and received
    Enhanced Refresh Capability: advertised and received
    Multisession Capability: 
    Stateful switchover support enabled: NO for session 1
  Message statistics:
    InQ depth is 0
    OutQ depth is 0
    
                         Sent       Rcvd
    Opens:                  1          1
    Notifications:          0          0
    Updates:                2          8
    Keepalives:            13         11
    Route Refresh:          0          0
    Total:                 16         20
  Default minimum time between advertisement runs is 30 seconds

 For address family: IPv6 Unicast
  Session: 2001:CC1E:8BAD:6112::1
  BGP table version 12, neighbor version 12/0
  Output queue size : 0
  Index 1, Advertise bit 0
  1 update-group member
  Slow-peer detection is disabled
  Slow-peer split-update-group dynamic is disabled
                                 Sent       Rcvd
  Prefix activity:               ----       ----
    Prefixes Current:               2          9
    Prefixes Total:                 2          9
    Implicit Withdraw:              0          0
    Explicit Withdraw:              0          0
    Used as bestpath:             n/a          0
    Used as multipath:            n/a          0

                                   Outbound    Inbound
  Local Policy Denied Prefixes:    --------    -------
    AS_PATH loop:                       n/a          2
    Bestpath from this peer:              9        n/a
    Total:                                9          2
  Number of NLRIs in the update sent: max 2, min 0
  Last detected as dynamic slow peer: never
  Dynamic slow peer recovered: never
  Refresh Epoch: 1
  Last Sent Refresh Start-of-rib: never
  Last Sent Refresh End-of-rib: never
  Last Received Refresh Start-of-rib: never
  Last Received Refresh End-of-rib: never
                                       Sent       Rcvd
        Refresh activity:              ----       ----
          Refresh Start-of-RIB          0          0
          Refresh End-of-RIB            0          0

  Address tracking is enabled, the RIB does have a route to 2001:CC1E:8BAD:6112::1
  Connections established 1; dropped 0
  Last reset never
  Transport(tcp) path-mtu-discovery is enabled
  Graceful-Restart is disabled
Connection state is ESTAB, I/O status: 1, unread input bytes: 0            
Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1
Local host: 2001:CC1E:8BAD:6112::2, Local port: 179
Foreign host: 2001:CC1E:8BAD:6112::1, Foreign port: 23100
Connection tableid (VRF): 0
Maximum output segment queue size: 50

Enqueued packets for retransmit: 0, input: 0  mis-ordered: 0 (0 bytes)

Event Timers (current time is 0xAD27E):
Timer          Starts    Wakeups            Next
Retrans            14          0             0x0
TimeWait            0          0             0x0
AckHold            15         13             0x0
SendWnd             0          0             0x0
KeepAlive           0          0             0x0
GiveUp              0          0             0x0
PmtuAger            0          0             0x0
DeadWait            0          0             0x0
Linger              0          0             0x0
ProcessQ            0          0             0x0

iss: 2208482561  snduna: 2208483004  sndnxt: 2208483004
irs: 4129458046  rcvnxt: 4129459049
          
sndwnd:  15942  scale:      0  maxrcvwnd:  16384
rcvwnd:  15382  scale:      0  delrcvwnd:   1002

SRTT: 846 ms, RTTO: 1975 ms, RTV: 1129 ms, KRTT: 0 ms
minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms
Status Flags: passive open, gen tcbs
Option Flags: nagle, path mtu capable
IP Precedence value : 6

Datagrams (max data segment is 1440 bytes):
Rcvd: 30 (out of order: 0), with data: 15, total data bytes: 1002
Sent: 30 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 30, total data bytes: 1650
 Packets received in fast path: 0, fast processed: 0, slow path: 0
 fast lock acquisition failures: 0, slow path: 0
TCP Semaphore      0xB28B82F4  FREE 

R12# 
-----------------------
R14#show bgp all  summary 
For address family: IPv4 Unicast
BGP router identifier 123.14.14.14, local AS number 65111
BGP table version is 6, main routing table version 6
5 network entries using 720 bytes of memory
5 path entries using 300 bytes of memory
3/3 BGP path/bestpath attribute entries using 408 bytes of memory
2 BGP AS-PATH entries using 48 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1476 total bytes of memory
BGP activity 16/0 prefixes, 16/0 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
202.2.14.1      4        20002      20      19        6    0    0 00:14:02        3

For address family: IPv6 Unicast
BGP router identifier 123.14.14.14, local AS number 65111
BGP table version is 12, main routing table version 12
11 network entries using 1848 bytes of memory
11 path entries using 924 bytes of memory
2/2 BGP path/bestpath attribute entries using 272 bytes of memory
2 BGP AS-PATH entries using 48 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 3092 total bytes of memory
BGP activity 16/0 prefixes, 16/0 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
2001:CC1E:1CE:6214::1
                4        20002      24      19       12    0    0 00:14:02        9
R14#
R14#
R12#ping 2001:cc1e:beef:14:10:1:14:1 source e 0/0 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:CC1E:BEEF:14:10:1:14:1, timeout is 2 seconds:
Packet sent with a source address of 2001:CC1E:BEEF:12:10:1:12:1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/2/4 ms
R12#
R12#


===================================


2.9 OSPFv3 +

ipv6 unicast-routing

-----------------lo 0  address need to see exam--


SW3: 


ipv6 unicast-routing

interface vlan 34 
 ipv6 address 2001:cc1e:beef:34:123:10:2:13/64
 no shutdown 

interface vlan 310 
 ipv6 address 2001:cc1e:beef:310:123:10:2:17/64 
 no shutdown 

interface lo 0 
 ipv6 address 2001:cc1e:beef:203:123:3:3:3/128 
 no shutdown 


SW4: 


ipv6 unicast-routing

interface vlan 34 
 ipv6 address 2001:cc1e:beef:34:123:10:2:14/64 
 no shutdown 

interface vlan 411
 ipv6 address 2001:cc1e:beef:411:123:10:2:21/64 
 no shutdown 

interface lo 0 
 ipv6 address 2001:cc1e:beef:204:123:4:4:4/128 
 no shutdown 

R10: 

ipv6 unicast-routing 

interface eth 0/2 
 ipv6 address 2001:cc1e:beef:310:123:10:2:18/64 
 no shutdown 

interface lo 0 
 ipv6 address 2001:cc1e:beef:1010:10:10:10:10/128 
 no shutdown 

interface eth 0/0 
 ipv6 address 2001:cc1e:8bad:1061::2/64 
 no shutdown 

R11: 

ipv6 unicast-routing 

interface eth 0/1 
 ipv6 address 2001:cc1e:beef:411:123:10:2:22/64 
 no shutdown 

interface lo 0 
 ipv6 address 2001:cc1e:beef:1111:11:11:11:11/128 
 no shutdown 

interface eth 0/0 
 ipv6 address 2001:cc1e:1ce:1162::2/64 
 no shutdown 


SW3: 

router ospfv3 1 
 router-id 123.203.3.3 
 exit


interface vlan 34 
  ospfv3 1 ipv6 area 0 

interface lo 0 
 ospfv3 1 ipv6 area 0 

interface vlan 310 
 ospfv3 1 ipv6 area 10



SW4: 

router ospfv3 1 
 router-id 123.204.4.4 
 exit

interface vlan 34 
 ospfv3 1 ipv6 area 0
 
interface lo 0 
 ospfv3 1 ipv6 area 0

interface vlan 411 
  ospfv3 1 ipv6 area 11


show ipv6 ospf interface brief 

R10: 

router ospfv3 1 
 router-id 123.10.10.10 
 exit

interface eth 0/2 
 ospfv3 1 area 10 ipv6 

interface lo 0 
 ospfv3 1 area 10 ipv6

R11: 

router ospfv3 1 
 router-id 123.11.11.11 
 exit

interface eth 0/1
 ospfv3 1 area 11 ipv6 
 
interface lo 0 
 ospfv3 1 area 11 ipv6 


show cli: 

show ipv6 ospf neighbor

show ipv6 route ospf 


SW4:

interface vlan 34 
 ospfv3 priority 255 
 exit


SW3:

interface vlan 34 
 ospfv3 priority 254 
 exit

show cli: 

show ipv6 ospf neighbor  


clear ipv6 ospf process
yes



show ipv6 ospf neighbor  

show ipv6 ospf inteface brief 

show ipv6 route ospf 



2.10 BGP for IPv6 


R10: 

router bgp 34567 
 neighbor 2001:cc1e:8bad:1061::1 remote-as 20001 
 address-family ipv6 
  neighbor 2001:cc1e:8bad:1061::1 activate 



R11: 

router bgp 34567 
 neighbor 2001:cc1e:1ce:1162::1 remote-as 20002 
 address-family ipv6 
  neighbor 2001:cc1e:1ce:1162::1 activate 


R12:  

ipv6 unicast-routing 

interface eth 0/1.6 
 ipv6 address 2001:cc1e:8bad:6112::2/64
 no shutdown 

interface eth 0/0 
 ipv6 address 2001:cc1e:beef:12:10:1:12:1/64
 no shutdown

interface lo 0
 ipv6 address 2001:cc1e:beef:1212:12:12:12:12/128 
 no shutdown 


router bgp 65111 
 neighbor 2001:cc1e:8bad:6112::1 remote-as 20001 
 address-family ipv6 
  neighbor 2001:cc1e:8bad:6112::1 activate 
  network 2001:cc1e:beef:12::/64 
  network 2001:cc1e:beef:1212:12:12:12:12/128 
  exit-address-family 

R14: 

ipv6 unicast-routing 

interface eth 0/1.6 
 ipv6 address 2001:cc1e:1ce:6214::2/64 
 no shutdown 

interface eth 0/0 
 ipv6 address 2001:cc1e:beef:14:10:1:14:1/64 
 no shutdown 

interface lo 0 
 ipv6 address 2001:cc1e:beef:1414:14:14:14:14/128 
 no shutdown 

router bgp 65111 
 neighbor 2001:cc1e:1ce:6214::1 remote-as 20002 
 address-family ipv6 
  neighbor 2001:cc1e:1ce:6214::1 activate 
  network 2001:cc1e:beef:14::/64 
  network 2001:cc1e:beef:1414:14:14:14:14/128

show cli:

show bgp ipv6 unicast 

show bgp ipv6 unicast 

R10:


router bgp 34567 
 address-family ipv6 
  redistribute ospf 1 match internal external 1 external 2 include-connected
  exit

router ospfv3 1 
 router-id 123.10.10.10
 address-family ipv6 unicast
  redistribute bgp 34567 



R11: 

router bgp 34567 
 address-family ipv6 
  redistribute ospf 1 match internal external 1 external 2  include-connected 
  exit

router ospfv3 1 
 router-id 123.11.11.11 
 address-family ipv6 unicast
  redistribute bgp 34567 
 end


show cli: 

show bgp ipv6 unicast 


R12:

ping 2001:cc1e:beef:14:10:1:14:1 source e 0/0 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值