SERVER(config)# twamp server | Use this command to change to the twamp server mode. |
SERVER(config-twamp-server)#port 5555 | Set the TCP port value where the twamp server will be listening. It could be either the default value 862, or in the range 1025-65535. |
SERVER(config-twamp-server)# max-connection-duration 3 | Set the maximum connection duration value between 0 and 120 hours. |
SERVER(config-twamp-server)# max-connections 17 | Set the maximum number of connections value between 1 and 32. |
SERVER(config-twamp-server)# max-connections-per-client 3 | Set the maximum number of connections per client value between 1 and 4. |
SERVER(config-twamp-server)# maximum-sessions 25 | Set the maximum number of sessions between 1 and 64. |
SERVER(config-twamp-server)# maximum-sessions-per-connection 20 | Set the maximum number of sessions per connection between 1 and 64. |
SERVER(config-twamp-server)# inactivity-timeout 5 | Set the inactivity timeout to a value between 0 and 30 in minutes. |
SERVER(config-twamp-server)# listen-vrf vrf123 | Use this command to add custom VRFs to the list of VRFs where the TWAMP server is running. If no listen-vrf is specified, the TWAMP server is started in the default VRF only. Multiple VRFs can be specified. The user can issue the same command multiple times, once for each VRF. Only clients in the configured VRFs are allowed to connect to the server and only sessions to IPs in the configured VRFs are allowed to be established. |
SERVER(config-twamp-server)# server-admin-state enable | Use this command to Start/Stop the TWAMP server with the above configured parameters. In case any of the twamp server parameters are modified after the server is started, the modification will be applied after the server is stopped and started again. |
SERVER(config-twamp-server)#commit | Commit the candidate configuration to the running configuration |