2023-05-23 11:41 AM 2024-10-10 09:14 AM 更新
interface GigabitEthernet0/0/0
no shutdown
ipv6 dhcp client request vendor
no ipv6 address dhcp
#RA方式の場合明示的にipv6アドレスをDHCPでは取得しないようにする。
ipv6 address autoconfig
ipv6 enable
ipv6 nd autoconfig default-route
ipv6 nd ra suppress all
nat66 outside
exit
interface GigabitEthernet0/0/0
no shutdown
ipv6 address dhcp
ipv6 dhcp client vendor-class mac-address
ipv6 dhcp client request vendor
ipv6 dhcp client pd prefix-from-provider
ipv6 address prefix-from-provider ::aa:bb:cc:dd/64 または /80
ipv6 nd autoconfig default-route #RAでのデフォルトルートは取得する
ipv6 nd ra suppress all
nat66 outside
exit
interface GigabitEthernet0/0/1
no shutdown
exit
interface GigabitEthernet0/0/1.100 #Router1設定,Router2の場合はvlan番号を200へ
no shutdown
encapsulation dot1Q 100 #Router1設定,Router2の場合はvlan番号を200へ
ipv6 dhcp client request vendor
ipv6 address dhcp
ipv6 address autoconfig
ipv6 enable
ipv6 nd autoconfig default-route
ipv6 nd ra suppress all
exit
interface GigabitEthernet0/0/1.200 #Router1設定,Router2の場合はvlan番号を100へ
no shutdown
encapsulation dot1Q 200 #Router1設定,Router2の場合はvlan番号を100へ
ipv6 address fd00:4::1/64 #Router1設定,Router2の場合はアドレスをfd00:3::1/64へ
ipv6 enable
exit
interface Tunnel1
no shutdown
ip unnumbered GigabitEthernet0/0/0
no ip redirects
ipv6 unnumbered GigabitEthernet0/0/0
no ipv6 redirects
tunnel source GigabitEthernet0/0/0
tunnel mode sdwan
exit
interface Tunnel100001 #Router1設定,Router2の場合はvlan200を指定
no shutdown
ip unnumbered GigabitEthernet0/0/1.100
no ip redirects
ipv6 unnumbered GigabitEthernet0/0/1.100
no ipv6 redirects
tunnel source GigabitEthernet0/0/1.100
tunnel mode sdwan
exit
sdwan
interface GigabitEthernet0/0/0
tunnel-interface
encapsulation ipsec weight 1
color green
exit
exit
interface GigabitEthernet0/0/1.100 #Router1の設定,Router2の場合はVlan番号を200へ
tunnel-interface
encapsulation ipsec weight 1
color silver
exit
exit
interface GigabitEthernet0/0/1.200 #Router1の設定,Router2の場合はVlan番号を100へ
tloc-extension GigabitEthernet0/0/0
exit
#Router1
nat66 prefix inside fd00:4::/64 outside 2002:1::/64
#Router2
nat66 prefix inside fd00:3::/64 outside 2002:2::/64
#Router3
nat66 prefix inside fd00:6::/64 outside prefix-from-provider
#Router4
nat66 prefix inside fd00:5::/64 outside prefix-from-provider
ip host vbond-xxxx.sdwan.cisco.com 111.1.1.1 222.2.2.2 2001:1::1 2001:1::2
show ipv6 route
show nat66 prefix
show sdwan control connections
show sdwan bfd sessions
c8kv-001#sh ipv6 route
IPv6 Routing Table - default - 9 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, H - NHRP, HG - NHRP registered
Hg - NHRP registration summary, HE - NHRP External, I1 - ISIS L1
I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
EX - EIGRP external, 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, le - LISP extranet-policy
lp - LISP publications, ls - LISP destinations-summary, a - Application
m - OMP
ND ::/0 [2/0]
via FE80::20C:29FF:FEDA:2866, GigabitEthernet1
via FE80::20C:29FF:FEEE:CDFA, GigabitEthernet2.100
---
c8kv-002#sh ipv6 route
ND ::/0 [2/0]
via FE80::20C:29FF:FEDA:2870, GigabitEthernet1
via FE80::20C:29FF:FE26:93AF, GigabitEthernet2.200
c8kv-001#show nat66 prefix
Prefixes configured: 1
NAT66 Prefixes
Id: 1 Inside FD00:4::/64 Outside 2002:1::/64 vrf default
---
c8kv-002#show nat66 prefix
Prefixes configured: 1
NAT66 Prefixes
Id: 1 Inside FD00:3::/64 Outside 2002:2::/64 vrf default
c8kv-001#sh sdwan control connections
PEER PEER CONTROLLER
PEER PEER PEER SITE DOMAIN PEER PRIV PEER PUB GROUP
TYPE PROT SYSTEM IP ID ID PRIVATE IP PORT PUBLIC IP PORT ORGANIZATION LOCAL COLOR PROXY STATE UPTIME ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vsmart dtls 1.1.1.2 1000 1 2001:1::102 12346 2001:1::102 12346 EFTCPOCJP gold No up 0:00:25:53 0
vsmart dtls 1.1.1.2 1000 1 2001:1::102 12346 2001:1::102 12346 EFTCPOCJP silver No up 0:00:25:53 0
vbond dtls 0.0.0.0 0 0 10.1.1.1 12346 10.1.1.1 12346 EFTCPOCJP gold - up 0:00:25:54 0
vbond dtls 0.0.0.0 0 0 10.1.1.1 12346 10.1.1.1 12346 EFTCPOCJP silver - up 0:00:25:54 0
vmanage dtls 1.1.1.3 1000 0 2001:1::103 12946 2001:1::103 12946 EFTCPOCJP gold No up 0:00:25:54 0
c8kv-001#
c8kv-001#sh sdwan bfd sessions
SOURCE TLOC REMOTE TLOC DST PUBLIC DST PUBLIC DETECT TX
SYSTEM IP SITE ID STATE COLOR COLOR SOURCE IP IP PORT ENCAP MULTIPLIER INTERVAL(msec UPTIME TRANSITIONS
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
8.1.1.3 2 up gold gold 2002:1::20c:29ff:fe26:93a5 2002:1::20c:29ff:feb4:5be9 12346 ipsec 7 1000 0:00:18:48 4
8.1.1.4 2 up gold gold 2002:1::20c:29ff:fe26:93a5 2002:1::20c:29ff:fecf:1e7a 12386 ipsec 7 1000 0:00:18:52 0
8.1.1.3 2 up silver silver fd00:3::20c:29ff:fe26:93af 2002:2::20c:29ff:feb4:5bf3 12386 ipsec 7 1000 0:00:18:52 0
8.1.1.4 2 up silver silver fd00:3::20c:29ff:fe26:93af 2002:2::20c:29ff:fecf:1e70 12346 ipsec 7 1000 0:00:18:47 2
c8kv-001#
nat66 prefix inside {{inside-nat66-prefix}} outside {outside-nat66-prefix_or_prefix-from-provider}}
interface GigabitEthernet0/0/0
ipv6 dhcp client request vendor
!ipv6 dhcp client pd prefix-from-provider
!ipv6 dhcp client vendor-class mac-address
ipv6 address dhcp
ipv6 address autoconfig
ipv6 enable
ipv6 nd autoconfig default-route
ipv6 nd ra suppress all
nat66 outside
exit
interface {{tloc-ext-interface-ifname}}
no shutdown
negotiation auto
exit
interface {{tloc-ext-interface-ifname}}.{{tloc-ext-go-vlan-number}}
no shutdown
encapsulation dot1Q {{tloc-ext-go-vlan-number}}
ipv6 dhcp client request vendor
ipv6 address dhcp
ipv6 address autoconfig
ipv6 enable
ipv6 nd autoconfig default-route
ipv6 nd ra suppress all
exit
interface {{tloc-ext-interface-ifname}}.{{tloc-ext-come-vlan-number}}
no shutdown
encapsulation dot1Q {{tloc-ext-come-vlan-number}}
ipv6 address {{tloc-ext-come-ipv6-address}}
ipv6 enable
exit
sdwan
interface GigabitEthernet0/0/0
tunnel-interface
encapsulation ipsec
interface {{tloc-ext-interface-ifname}}.{{tloc-ext-go-vlan-number}}
tunnel-interface
encapsulation ipsec
interface {{tloc-ext-interface-ifname}}.{{tloc-ext-come-vlan-number}}
tloc-extension GigabitEthernet0/0/0
exit
検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう
シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします
下記より関連するコンテンツにアクセスできます