RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
MAC : CPE_MAC (Ex : d83add3c5cc3)
2. In CPE, trigger ForceSync as root
3. Using dmcli to check the DM
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
root@RaspberryPi-Gateway:~# dmcli eRT getv Device.NAT.
CR component name is: eRT.com.cisco.spvtg.ccsp.CR
subsystem_prefix eRT.
getv from/to component(eRT.com.cisco.spvtg.ccsp.pam): Device.NAT.
Execution succeed.
Parameter 1 name: Device.NAT.X_CISCO_COM_TCPTimeout
type: uint, value: 0
Parameter 2 name: Device.NAT.X_CISCO_COM_UDPTimeout
type: uint, value: 0
Parameter 3 name: Device.NAT.X_CISCO_COM_ICMPTimeout
type: uint, value: 0
Parameter 4 name: Device.NAT.X_Comcast_com_EnablePortMapping
type: bool, value: true
Parameter 5 name: Device.NAT.X_Comcast_com_EnableHSPortMapping
type: bool, value: true
Parameter 6 name: Device.NAT.X_Comcast_com_EnableNATMapping
type: bool, value: false
Parameter 7 name: Device.NAT.PortMappingNumberOfEntries
type: uint, value: 3
Parameter 8 name: Device.NAT.X_CISCO_COM_DMZ.Enable
type: bool, value: false
Parameter 9 name: Device.NAT.X_CISCO_COM_DMZ.RemoteIPStart
type: string, value:
Parameter 10 name: Device.NAT.X_CISCO_COM_DMZ.RemoteIPEnd
type: string, value:
Parameter 11 name: Device.NAT.X_CISCO_COM_DMZ.InternalIP
type: string, value: 0.0.0.0
Parameter 12 name: Device.NAT.X_CISCO_COM_DMZ.InternalMAC
type: string, value:
Parameter 13 name: Device.NAT.X_CISCO_COM_DMZ.IPv6Host
type: string, value:
Parameter 14 name: Device.NAT.X_CISCO_COM_DMZ.Data
type: string, value:
Parameter 15 name: Device.NAT.PortMapping.1.Enable
type: bool, value: true
Parameter 16 name: Device.NAT.PortMapping.1.Status
type: string, value: Enabled
Parameter 17 name: Device.NAT.PortMapping.1.Alias
type: string, value:
Parameter 18 name: Device.NAT.PortMapping.1.AllInterfaces
type: bool, value: true
Parameter 19 name: Device.NAT.PortMapping.1.LeaseDuration
type: uint, value: 0
Parameter 20 name: Device.NAT.PortMapping.1.ExternalPort
type: uint, value: 23
Parameter 21 name: Device.NAT.PortMapping.1.ExternalPortEndRange
type: uint, value: 23
Parameter 22 name: Device.NAT.PortMapping.1.InternalPort
type: uint, value: 0
Parameter 23 name: Device.NAT.PortMapping.1.Protocol
type: string, value: BOTH
Parameter 24 name: Device.NAT.PortMapping.1.InternalClient
type: string, value: 10.0.0.111
Parameter 25 name: Device.NAT.PortMapping.1.RemoteHost
type: string, value: 0.0.0.0
Parameter 26 name: Device.NAT.PortMapping.1.X_Comcast_com_PublicIP
type: string, value: 0.0.0.0
Parameter 27 name: Device.NAT.PortMapping.1.Description
type: string, value: telnet
Parameter 28 name: Device.NAT.PortMapping.1.Interface
type: string, value:
Parameter 29 name: Device.NAT.PortMapping.1.X_CISCO_COM_InternalClientV6
type: string, value: x
Parameter 30 name: Device.NAT.PortMapping.2.Enable
type: bool, value: true
Parameter 31 name: Device.NAT.PortMapping.2.Status
type: string, value: Enabled
Parameter 32 name: Device.NAT.PortMapping.2.Alias
type: string, value:
Parameter 33 name: Device.NAT.PortMapping.2.AllInterfaces
type: bool, value: true
Parameter 34 name: Device.NAT.PortMapping.2.LeaseDuration
type: uint, value: 0
Parameter 35 name: Device.NAT.PortMapping.2.ExternalPort
type: uint, value: 25
Parameter 36 name: Device.NAT.PortMapping.2.ExternalPortEndRange
type: uint, value: 25
Parameter 37 name: Device.NAT.PortMapping.2.InternalPort
type: uint, value: 0
Parameter 38 name: Device.NAT.PortMapping.2.Protocol
type: string, value: BOTH
Parameter 39 name: Device.NAT.PortMapping.2.InternalClient
type: string, value: 10.0.0.112
Parameter 40 name: Device.NAT.PortMapping.2.RemoteHost
type: string, value: 0.0.0.0
Parameter 41 name: Device.NAT.PortMapping.2.X_Comcast_com_PublicIP
type: string, value: 0.0.0.0
Parameter 42 name: Device.NAT.PortMapping.2.Description
type: string, value: mail
Parameter 43 name: Device.NAT.PortMapping.2.Interface
type: string, value:
Parameter 44 name: Device.NAT.PortMapping.2.X_CISCO_COM_InternalClientV6
type: string, value: x
Parameter 45 name: Device.NAT.PortMapping.3.Enable
type: bool, value: true
Parameter 46 name: Device.NAT.PortMapping.3.Status
type: string, value: Enabled
Parameter 47 name: Device.NAT.PortMapping.3.Alias
type: string, value:
Parameter 48 name: Device.NAT.PortMapping.3.AllInterfaces
type: bool, value: true
Parameter 49 name: Device.NAT.PortMapping.3.LeaseDuration
type: uint, value: 0
Parameter 50 name: Device.NAT.PortMapping.3.ExternalPort
type: uint, value: 443
Parameter 51 name: Device.NAT.PortMapping.3.ExternalPortEndRange
type: uint, value: 443
Parameter 52 name: Device.NAT.PortMapping.3.InternalPort
type: uint, value: 0
Parameter 53 name: Device.NAT.PortMapping.3.Protocol
type: string, value: BOTH
Parameter 54 name: Device.NAT.PortMapping.3.InternalClient
type: string, value: 10.0.0.102
Parameter 55 name: Device.NAT.PortMapping.3.RemoteHost
type: string, value: 0.0.0.0
Parameter 56 name: Device.NAT.PortMapping.3.X_Comcast_com_PublicIP
type: string, value: 0.0.0.0
Parameter 57 name: Device.NAT.PortMapping.3.Description
type: string, value: https
Parameter 58 name: Device.NAT.PortMapping.3.Interface
type: string, value:
Parameter 59 name: Device.NAT.PortMapping.3.X_CISCO_COM_InternalClientV6
type: string, value: x
Parameter 60 name: Device.NAT.X_RDK_PortMapping.Data
type: string, value:
Parameter 61 name: Device.NAT.X_CISCO_COM_PortTriggers.Enable
type: bool, value: false
Parameter 62 name: Device.NAT.X_CISCO_COM_PortTriggers.TriggerNumberOfEntries
type: uint, value: 0
|
4. Success Logs
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
240423-06:29:55.135135 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: doc portforwarding is updated to version 3329431262 status pending error_details none error_code 0 trans_id 0 temp->retry_count 0
240423-06:29:55.135651 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: subdoc_name: portforwarding, version: 3329431262, transaction_id: 63776
240423-06:29:55.135754 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: doc portforwarding is updated to version 3329431262 status pending error_details none error_code 0 trans_id 63776 temp->retry_count 0
240423-06:29:55.135811 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: Request:> param[0].name = Device.NAT.X_RDK_PortMapping.Data, type = 5
240423-06:29:55.139435 [mod=WEBCONFIG, lvl=INFO] [tid=2793] WEBCONFIG: Received msg portforwarding,63776,3329431262,ACK,19 from topic webconfigSignal
240423-06:29:55.139522 [mod=WEBCONFIG, lvl=INFO] [tid=2793] WEBCONFIG: Received webconfig event signal Info portforwarding,63776,3329431262,ACK,19
240423-06:29:55.139694 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: TIMEOUT EVENT: portforwarding,63776,3329431262,ACK,19 (doc apply need time)
240423-06:29:55.139765 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: doc apply need time, start timer.
240423-06:29:55.139840 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: Timer list is empty
240423-06:29:55.139912 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: new_node->subdoc_name portforwarding new_node->txid 63776 new_node->timeout 19 status 1 added to list
240423-06:29:55.139967 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: startWebcfgTimer success
240423-06:29:55.140139 [mod=WEBCONFIG, lvl=INFO] [tid=3693] WEBCONFIG: dest is event:subdoc-report/portforwarding/mac:d83add3c5cc3/ack
240423-06:29:55.140202 [mod=WEBCONFIG, lvl=INFO] [tid=3693] WEBCONFIG: stringifiedNotifyPayload is {"device_id":"mac:d83add3c5cc3","namespace":"portforwarding","application_status":"pending","timeout":19,"transaction_uuid":"6acc5f86-542d-46fd-bcbe-f63b67fbce45","version":"3329431262"}
240423-06:29:55.140383 [mod=WEBCONFIG, lvl=INFO] [tid=3693] WEBCONFIG: Notification successfully sent to Webconfig.Upstream
240423-06:29:55.142148 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: The ret status for rbus_setMulti is 0
240423-06:29:55.142234 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: ccspRetStatus is 100 |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
240423-06:29:55.137534 [mod=PAM, lvl=WARN] [tid=1463] base64 decoded data contains 419 bytes
240423-06:29:55.137628 [mod=PAM, lvl=WARN] [tid=1463] Base64 decode Elapsed time : 0 ms
240423-06:29:55.137694 [mod=PAM, lvl=WARN] [tid=1463] MSGPACK_UNPACK_SUCCESS :2
240423-06:29:55.137794 [mod=PAM, lvl=WARN] [tid=1463] rpm->entries_count is 3
240423-06:29:55.137853 [mod=PAM, lvl=WARN] [tid=1463] rpm->subdoc_name is portforwarding
240423-06:29:55.137910 [mod=PAM, lvl=WARN] [tid=1463] rpm->version is 3329431262
240423-06:29:55.137966 [mod=PAM, lvl=WARN] [tid=1463] rpm->transaction_id is 63776
240423-06:29:55.138021 [mod=PAM, lvl=WARN] [tid=1463] Portmap configuration received
240423-06:29:55.138083 [mod=PAM, lvl=INFO] [tid=1463] PushBlobRequest : subdoc_name portforwarding , txid 63776, version 3329431262 , entries 3
240423-06:29:55.138142 [mod=PAM, lvl=INFO] [tid=1463] Inside FUNC checkNewVersionUpdateRequired LINE 1244
240423-06:29:55.138253 [mod=PAM, lvl=INFO] [tid=1463] checkIfVersionExecInQueue : Queue Empty
240423-06:29:55.138311 [mod=PAM, lvl=INFO] [tid=1463] New version available , prcessing new Blob request
240423-06:29:55.138399 [mod=PAM, lvl=INFO] [tid=1463] calculateTimeout is NULL , using default timeout routine
240423-06:29:55.138459 [mod=PAM, lvl=INFO] [tid=1463] PushBlobRequest timeout received from calcTimeout is 19
240423-06:29:55.138516 [mod=PAM, lvl=INFO] [tid=1463] getPendingQueueTimeout : Queue Empty
240423-06:29:55.138574 [mod=PAM, lvl=INFO] [tid=1463] PushBlobRequest : Send received request ACK , timeout is 19
240423-06:29:55.138633 [mod=PAM, lvl=INFO] [tid=1463] send_ACK : doc name portforwarding , doc version 3329431262, txid is 63776 timeout is 19
240423-06:29:55.138692 [mod=PAM, lvl=INFO] [tid=1463] isWebCfgRbusEnabled: rbus enabled is 1
240423-06:29:55.138749 [mod=PAM, lvl=INFO] [tid=1463] sendWebConfigSignal : rbus_set :: event_name : webconfigSignal ::
240423-06:29:55.140790 [mod=PAM, lvl=WARN] [tid=1463] PushBlobRequest complete
240423-06:29:55.140874 [mod=PAM, lvl=INFO] [tid=1716] Received event
240423-06:29:55.141283 [mod=PAM, lvl=INFO] [tid=15686] Inside FUNC execute_request LINE 854
240423-06:29:55.141378 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries_count is 3
240423-06:29:55.141438 [mod=PAM, lvl=WARN] [tid=15686] Portmap configurartion recieved
240423-06:29:55.165710 [mod=PAM, lvl=WARN] [tid=1463] CosaNTPInitJournal : Partner = RDKM
240423-06:29:55.170084 [mod=PAM, lvl=WARN] [tid=1463] CosaNTPInitJournal : Partner = RDKM
240423-06:29:55.180459 [mod=PAM, lvl=INFO] [tid=15686] CheckIfIpIsValid:IpAddressReceivedIs:10.0.0.111
240423-06:29:55.180571 [mod=PAM, lvl=INFO] [tid=15686] CheckIfPortsAreValid:ExternalPortEndRangeReceivedIs:23
240423-06:29:55.180627 [mod=PAM, lvl=INFO] [tid=15686] CheckIfPortsAreValid:ExternalPortEndRangeReceivedIs:23
240423-06:29:55.180699 [mod=PAM, lvl=INFO] [tid=15686] CheckIfIpIsValid:IpAddressReceivedIs:10.0.0.112
240423-06:29:55.180748 [mod=PAM, lvl=INFO] [tid=15686] CheckIfPortsAreValid:ExternalPortEndRangeReceivedIs:25
240423-06:29:55.180793 [mod=PAM, lvl=INFO] [tid=15686] CheckIfPortsAreValid:ExternalPortEndRangeReceivedIs:25
240423-06:29:55.180875 [mod=PAM, lvl=INFO] [tid=15686] CheckIfIpIsValid:IpAddressReceivedIs:10.0.0.102
240423-06:29:55.180922 [mod=PAM, lvl=INFO] [tid=15686] CheckIfPortsAreValid:ExternalPortEndRangeReceivedIs:443
240423-06:29:55.180967 [mod=PAM, lvl=INFO] [tid=15686] CheckIfPortsAreValid:ExternalPortEndRangeReceivedIs:443
240423-06:29:55.219712 [mod=PAM, lvl=WARN] [tid=15686] Portmap configurartion applied
240423-06:29:55.219820 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[0].InternalClient 10.0.0.111
240423-06:29:55.219873 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[0].ExternalPortEndRange 23
240423-06:29:55.219922 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[0].Enable true
240423-06:29:55.219973 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[0].Protocol TCP/UDP
240423-06:29:55.220024 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[0].Description telnet
240423-06:29:55.220075 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[0].external_port 23
240423-06:29:55.220162 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[1].InternalClient 10.0.0.112
240423-06:29:55.220218 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[1].ExternalPortEndRange 25
240423-06:29:55.220265 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[1].Enable true
240423-06:29:55.220311 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[1].Protocol TCP/UDP
240423-06:29:55.220356 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[1].Description mail
240423-06:29:55.220401 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[1].external_port 25
240423-06:29:55.220443 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[2].InternalClient 10.0.0.102
240423-06:29:55.220492 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[2].ExternalPortEndRange 443
240423-06:29:55.220532 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[2].Enable true
240423-06:29:55.220572 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[2].Protocol TCP/UDP
240423-06:29:55.220611 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[2].Description https
240423-06:29:55.220650 [mod=PAM, lvl=WARN] [tid=15686] rpm->entries[2].external_port 443
240423-06:29:55.220749 [mod=PAM, lvl=INFO] [tid=1716] messageQueueProcessing : Execution success , sending completed ACK
240423-06:29:55.225331 [mod=PAM, lvl=INFO] [tid=1716] send_ACK : doc name portforwarding , doc version 3329431262, txid is 63776 timeout is 0
240423-06:29:55.225405 [mod=PAM, lvl=INFO] [tid=1716] isWebCfgRbusEnabled: rbus enabled is 1
240423-06:29:55.225449 [mod=PAM, lvl=INFO] [tid=1716] sendWebConfigSignal : rbus_set :: event_name : webconfigSignal ::
240423-06:29:55.227354 [mod=PAM, lvl=INFO] [tid=1716] Entering freeResources_PortForwarding |
Jira | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...