IP SLA TWAMP レスポンダが機能するには、制御クライアントとセッション送信元をネットワークに設定する必要があります。
次に、VRF 以外のシナリオ(デフォルト)の例を示します。
Device> enable
Device# configure terminal
Router(config)# ip sla serv twamp
Router(config-twamp-srvr)# port 12000
Router(config-twamp-srvr)# timer inactivity 1200
Router(config-twamp-srvr)# exit
Router(config)# ip sla responder tw
Router(config)# ip sla responder twamp
Router(config-twamp-ref)# resp
Router(config-twamp-ref)# time
Router(config-twamp-ref)# timeout 2000
Router(config-twamp-ref)# exit
Router# show ip sla twamp connection requests
Connection-Id Client Address Client Port Client VRF
A3 100.1.0.1 59807 default
Router# show ip sla twamp connection detail
Connection Id: A3
Client IP Address: 100.1.0.1
Client Port: 59807
Client VRF: intf2
Mode: Unauthenticated
Connection State: Connected
Control State: Active
Number of Test Requests - 0:1
Router# show ip sla twamp session
IP SLAs Responder TWAMP is: Enabled
Recvr Addr: 100.1.0.2
Recvr Port: 7
Sender Addr: 100.1.0.1
Sender Port: 34608
Sender VRF: default
Session Id: 100.1.0.2:15833604877498391199:6D496912
Connection Id: 101
Router# sh running-config | b twamp
ip sla responder twamp
timeout 2000
ip sla responder
ip sla enable reaction-alerts
ip sla server twamp
port 12000
timer inactivity 1200
!
!
次に、VRF のシナリオの例を示します。
Router# show ip sla twamp session
IP SLAs Responder TWAMP is: Enabled
Recvr Addr: 100.1.0.2
Recvr Port: 7
Sender Addr: 100.1.0.1
Sender Port: 51486
Sender VRF: intf1
Session Id: 100.1.0.2:9487538053959619969:73D5EDEA
Connection Id: D0
Router# show ip sla twamp connection detail
Connection Id: A3
Client IP Address: 100.1.0.1
Client Port: 52249
Client VRF: intf2
Mode: Unauthenticated
Connection State: Connected
Control State: Active
Number of Test Requests - 0:1
Router# show ip sla twamp connection requests
Connection-Id Client Address Client Port Client VRF
A3 100.1.0.1 52249 intf2
Total number of current connections: 1