Cisco SD-WAN Manager を使用して RAR を設定するには、CLI アドオン機能テンプレートを作成し、デバイステンプレートに添付します。
ここでは、CLI アドオンテンプレートに追加できる RAR の設定例を示します。
RAR のサービスの設定
policy-map type service rar-lab
pppoe service manet_radio //note: Enter the pppoe service policy name as manet_radio
!
OSPF ルーティングの設定
router ospfv3 1
router-id 10.0.0.1
!
address-family ipv4 unicast
redistribute connected metric 1 metric-type 1
log-adjacency-changes
exit-address-family
!
address-family ipv6 unicast
redistribute connected metric-type 1
log-adjacency-changes
exit-address-family
!
ip local pool PPPoEpool2 192.0.2.0 192.0.2.1
RAR の設定
interface GigabitEthernet0/0/0
no shutdown
no mop enabled
no mop sysid
negotiation auto
pppoe enable group PPPOE_RAR
interface vmi1
ip address 10.0.0.0 255.255.255.0
ipv6 enable
physical-interface GigabitEthernet0/0/0
mode bypass
exit
interface Virtual-Template1
no shutdown
ip unnumbered vmi1
ipv6 enable
ospfv3 1 network manet
ospfv3 1 ipv4 area 0
ospfv3 1 ipv6 area 0
exit
interface Tunnel100
no shutdown
ip unnumbered Loopback100
tunnel source Loopback100
tunnel mode sdwan
exit
interface Loopback100
tunnel-interface
encapsulation ipsec
color mpls
no allow-service bgp
allow-service dhcp
exit
router ospfv3 1
router-id 10.0.0.1
address-family ipv4 unicast
log-adjacency-changes
redistribute connected
redistribute connected metric 1 metric-type 1
exit-address-family
!
address-family ipv6 unicast
log-adjacency-changes
redistribute connected
redistribute connected metric-type 1
exit-address-family
次の例では、PPPoE 拡張セッションでの QoS プロビジョニングについて説明します。
policy-map rar_policer
class class-default
police 10000 2000 1000 conform-action transmit exceed-action drop violate-action drop
policy-map rar_shaper
class class-default
shape average percent 1
interface Virtual-Template2
ip address 192.0.2.255 255.255.255.0
no peer default ip address
no keepalive
service-policy input rar_policer
end