OcNOS-SP : Layer 3 Guide : Two-Way Active Measurement Protocol Command Reference : TWAMP Commands : reflector-name
reflector-name
Use this command to configure a TWAMP light reflector session.
Command Syntax
reflector-name WORD reflector-ip (ipv4 A.B.C.D|ipv6 X:X::X:X|HOSTNAME) (reflector-port (862|<1025-65535>)|) (vrf NAME|) (sender-ip (ipv4 A.B.C.D|ipv6 X:X::X:X|HOSTNAME)|) (sender-port (862|<1025-65535>)|)
Parameters
WORD
Set TWAMP Light reflector session name
 
X:X::X:X
TWAMP Reflector IP address in IPv6 format.
A.B.C.D
TWAMP Reflector IP address in IPv4 format.
HOSTNAME
The hostname of the TWAMP reflector
vrf NAME
Set TWAMP Light reflector session VRF name
reflector-port
Set the TWAMP Reflector UDP port number where the reflector will be listening
sender-ip
Set the sender IP from which the reflector will accept the TWAMP packets. If the source of the TWAMP packet does not match this address, the packet will be ignored. In case not set, the reflector will not discriminate on the sender IP value.
sender-port
Set the sender UDP port from which the reflector will accept the TWAMP packets. In case not set, the reflector will not discriminate on the sender UDP port value.
Default
862 for reflector-port
0 for the sender-port (interpreted as no filtering on sender port)
Command Mode
TWAMP light reflector mode (config-twamp-light-ctrl)
Applicability
This command was introduced before OcNOS version 5.1.
The sender-IP and sender-port parameters were added in OcNOS version 6.0.0
Example
(config)#twamp-light reflector
(config-twamp-light-ref)# reflector-name R11 reflector-ip 23.1.1.1 vrf vrf1
(config-twamp-light-ref)# reflector-name R12 reflector-ip 24.1.1.1 vrf vrf2
(config-twamp-light-ref)# reflector-name R12 reflector-ip 24.1.1.1 sender-ip 24.1.1.2 vrf vrf2
(config-twamp-light-ref)# reflector-name R12 reflector-ip 24.1.1.1 sender-ip 24.1.1.2 sender-port 1555 vrf vrf2
 
 
 
Last modified date: 10/16/2023