Difference between revisions of "IPv6: Cisco: konfigurasi interface"

From OnnoWiki
Jump to navigation Jump to search
Line 15: Line 15:
 
  configure terminal
 
  configure terminal
 
   interface ethernet1/0
 
   interface ethernet1/0
     ipv6 address 2001:1::1/64 eui-64
+
     ipv6 address 2001:1::/64 eui-64
 
     ipv6 enable
 
     ipv6 enable
 
     end
 
     end
Line 21: Line 21:
 
Multiple IPv6 link-local addresses on an interface are not supported.  
 
Multiple IPv6 link-local addresses on an interface are not supported.  
  
  sdm prefer dual-ipv4-and-ipv6 default
+
  enable
  ip routing
+
  configure terminal
ipv6 unicast-routing
+
  interface ethernet1/0
  interface gigabitethernet2/0/1
+
   ip address 192.168.99.1 255.255.255.0
  no switchport
+
   ipv6 address 2001:1:2:3:4::/64 eui-64
   ip address 192.168.99.1 244.244.244.0
 
   ipv6 address 2001:0DB8:c18:1::/64 eui 64
 
 
   end  
 
   end  
  
Line 35: Line 33:
  
 
  ping ipv6 2001::1
 
  ping ipv6 2001::1
 +
 
  show ipv6 interface
 
  show ipv6 interface
  

Revision as of 09:16, 5 January 2019

enable
configure terminal
  interface type number
    ipv6 address ipv6-prefix /prefix-length eui-64
    ipv6 address ipv6-address / prefix-length link-local
    ipv6 enable
  exit
ipv6 unicast-routing


Contoh

enable
configure terminal
  interface ethernet1/0
    ipv6 address 2001:1::/64 eui-64
    ipv6 enable
    end

Multiple IPv6 link-local addresses on an interface are not supported.

enable
configure terminal
interface ethernet1/0
  ip address 192.168.99.1 255.255.255.0
  ipv6 address 2001:1:2:3:4::/64 eui-64
  end 


Cek

ping ipv6 2001::1
show ipv6 interface


Pranala Menarik