<th><atitle="The desired administrative state for this LSP.">AdminState</a></th>
<th><atitle="The current operational state of this LSP.">OperState</a></th>
<th><atitle="The sysUpTime when this LSP was last modified.">LastChangeat</a></th>
<th><atitle="The number of state transitions (up -> down and down -> up) this LSP has undergone.">Transitions</a></th>
<th><atitle="The time since the last transition (up -> down and down -> up) occurred on this LSP.">LastTransition</a></th>
<th><atitle="The number of paths configured for this LSP / The number of standby paths configured for this LSP / The number of operational paths for this LSP. This includes the path currently active, as well as operational standby paths.">Paths</br>Conf/Stby/Oper</a></th>
<th><atitle="The value specifies whether the label value is statically or dynamically assigned or whether the LSP will be used exclusively for bypass protection.">Type</a></th>
<th><atitle="When the value of FRR is true, fast reroute is enabled. A pre-computed detour LSP is created from each node in the primary path of this LSP. In case of a failure of a link or LSP between two nodes, traffic is immediately rerouted on the pre-computed detour LSP thus avoiding packet loss.">FRR</a></th>
<th><atitle="The percentage up time is calculated by (LSP up time / LSP age * 100 %).">Availability</br>%</a></th>
</tr>';
$i=0;
foreach(dbFetchRows('SELECT *, `vrf_name` FROM `mpls_lsps` AS l, `vrfs` AS v WHERE `l`.`vrf_oid` = `v`.`vrf_oid` AND `l`.`device_id` = `v`.`device_id` ORDER BY `l`.`device_id`, `l`.`mplsLspName`')as$lsp){
$host=@dbFetchRow('SELECT * FROM `ipv4_addresses` AS A, `ports` AS I, `devices` AS D WHERE A.ipv4_address = ? AND I.port_id = A.port_id AND D.device_id = I.device_id',[$lsp['mplsLspToAddr']]);
<th><atitle="Administrative name for LSP this path belongs to">LSPName</a></th>
<th><atitle="The OID index of this path">Index</a></th>
<th><atitle="This variable is an enum that represents the role this path is taking within this LSP.">Type</a></th>
<th><atitle="The desired administrative state for this LSP Path.">AdminState</a></th>
<th><atitle="The current operational state of this LSP Path.">OperState</a></th>
<th><atitle="The sysUpTime when this LSP Path was last modified.">LastChangeat</a></th>
<th><atitle="The number of transitions that have occurred for this LSP.">Transitions</a></th>
<th><atitle="This value specifies the amount of bandwidth in megabits per seconds (Mbps) to be reserved for this LSP path. A value of zero (0) indicates that no bandwidth is reserved.">Bandwidth</a></th>
<th><atitle="When make-before-break functionality for the LSP is enabled and if the path bandwidth is changed, the resources allocated to the existing LSP paths will not be released until a new path with the new bandwidth settings has been established. While a new path is being signaled, the administrative value and the operational values of the path bandwidth may differ.">OperBW</a></th>
<th><atitle="The current working state of this path within this LSP.">State</a></th>
<th><atitle="This indicates the reason code for LSP path failure. A value of 0 indicates that no failure has occurred.">Failcode</a></th>
<th><atitle="This indicates the name of the node in the LSP path at which the LSP path failed.">FailNode</a></th>
<th><atitle="This indicates the cost of the traffic engineered path returned by the IGP.">Metric</a></th>
<th><atitle="This indicates the operational metric for the LSP path.">OperMetric</a></th>
</tr>';
$i=0;
foreach(dbFetchRows('SELECT *, `mplsLspName` FROM `mpls_lsp_paths` AS `p`, `mpls_lsps` AS `l` WHERE `p`.`lsp_id` = `l`.`lsp_id` ORDER BY `p`.`device_id`, `l`.`mplsLspName`')as$path){
$host=@dbFetchRow('SELECT * FROM `ipv4_addresses` AS A, `ports` AS I, `devices` AS D WHERE A.ipv4_address = ? AND I.port_id = A.port_id AND D.device_id = I.device_id',[$path['mplsLspPathFailNodeAddr']]);
<th><atitle="Service Distribution Point identifier">SDPId</a></th>
<th><atitle="The value of destination object specifies the device name of the remote end of the tunnel defined by this SDP">Destination</a></th>
<th><atitle="This object specifies the type of delivery used by this SDP">Type</a></th>
<th><atitle="The value of sdpActiveLspType indicates the type of LSP that is currently active on this SDP. For sdpDelivery gre, the value is always not-applicable. For sdpDelivery mpls, the values can be rsvp, ldp, mplsTp, srIsis, srOspf, srTeLsp, fpe, bgp or none.">LSPType</a></th>
<th><atitle="Generic information about this SDP">Description</a></th>
<th><atitle="The desired administrative state for this SDP">AdminState</a></th>
<th><atitle="The current operational state of this SDP">OperState</a></th>
<th><atitle="This object specifies the desired largest service frame size (in octets) that can be transmitted through this SDP to the far-end ESR, without requiring the packet to be fragmented. The default value of zero indicates that the path MTU should be computed dynamically from the corresponding MTU of the tunnel.">AdminMTU</a></th>
<th><atitle="This object indicates the actual largest service frame size (in octets) that can be transmitted through this SDP to the far-end ESR, without requiring the packet to be fragmented. In order to be able to bind this SDP to a given service, the value of this object minus the control word size (if applicable) must be equal to or larger than the MTU of the service, as defined by its svcMtu.">OperMTU</a></th>
<th><atitle="The value of sysUpTime at the time of the most recent management-initiated change to this SDP.">LastMgmtChangeat</a></th>
<th><atitle="The value of sysUpTime at the time of the most recent operating status change to this SDP.">LastStatusChangeat</a></th>
</tr>';
$i=0;
foreach(dbFetchRows('SELECT * FROM `mpls_sdps` ORDER BY `sdp_oid`')as$sdp){
$host=@dbFetchRow('SELECT * FROM `ipv4_addresses` AS A, `ports` AS I, `devices` AS D WHERE A.ipv4_address = ? AND I.port_id = A.port_id AND D.device_id = I.device_id',[$sdp['sdpFarEndInetAddress']]);
<th><atitle="SDP Binding identifier. SDP identifier : Service identifier">SDPBindId</a></th>
<th><atitle="This object specifies whether this Service SDP binding is a spoke or a mesh.">BindType</a></th>
<th><atitle="The value of VC Type is an enumerated integer that specifies the type of virtual circuit (VC) associated with the SDP binding">VCType</a></th>
<th><atitle="The desired state of this Service-SDP binding.">AdminState</a></th>
<th><atitle="The value of sdpBindOperStatus indicates the operating status of this Service-SDP binding.
<th><atitle="The value of sysUpTime at the time of the most recent management-initiated change to this Service-SDP binding.">LastMgmtChangeat</a></th>
<th><atitle="The value of the object sdpBindLastStatusChange indicates the value of sysUpTime at the time of the most recent operating status change to this SDP Bind.">LastStatusChangeat</a></th>
foreach(dbFetchRows('SELECT b.*, s.svc_oid AS svcId FROM `mpls_sdp_binds` AS b LEFT JOIN `mpls_services` AS s ON `b`.`svc_id` = `s`.`svc_id` ORDER BY `sdp_oid`, `svc_oid`')as$sdpbind){
<th><atitle="The value of this object specifies the Service identifier. This value should be unique within the service domain.">ServiceId</a></th>
<th><atitle="The value of this object specifies the service type: e.g. epipe, tls, etc.">Type</a></th>
<th><atitle="The value of this object specifies the ID of the customer who owns this service.">Customer</a></th>
<th><atitle="The value of this object specifies the desired state of this service.">AdminStatus</a></th>
<th><atitle="The value of this object indicates the operating state of this service. The requirements for a service to be operationally up depend on the service type:
<th><atitle="The value of the object svcDescription specifiers an optional, generic information about this service.">Description</a></th>
<th><atitle="The value of the object svcMtu specifies the largest frame size (in octets) that this service can handle. Setting svcMtu to a value of zero (0), causes the agent to recalculate the default MTU size. The default value of this object depends on the service type: 1514 octets for epipe and tls, 1508 for apipe and fpipe, and 1500 octets for vprn, ipipe and ies, 1514 octets for cpipe.">ServiceMTU</a></th>
<th><atitle="The value of the object svcNumSaps indicates the number of SAPs defined on this service.">NumSAPs</a></th>
<th><atitle="The value of of the object svcLastMgmtChange indicates the value of sysUpTime at the time of the most recent management-initiated change to this service.">LastMgmtChangeat</a></th>
<th><atitle="The value of the object svcLastStatusChange indicates the value of sysUpTime at the time of the most recent operating status change to his service.">LastStatusChangeat</a></th>
<th><atitle="The value of this object specifies, for a IES or VPRN service the associated virtual router instance where its interfaces are defined. This object has a special significance for the VPRN service as it can be used to associate the service to a specific virtual router instance. If no routing instance is specified or a value of zero (0) is specified, the agent will assign the vRtrID index value that would have been returned by the vRtrNextVRtrID object in the TIMETRA-VRTR-MIB">VRF</a></th>
<th><atitle="The value specifies whether the MAC learning process is enabled in this TLS.">MACLearning</a></th>
<th><atitle="The value of the object svcTlsFdbTableSize specifies the maximum number of learned and static entries allowed in the FDB of this service. The maximum value of svcTlsFdbTableSize depends on the platform/chassis mode.">FDBTableSize</a></th>
<th><atitle="The value of the object svcTlsFdbNumEntries indicates the current number of entries allocated in the FDB of this service.">FDBEntries</a></th>
<th><atitle="The value of the object svcTlsStpAdminStatus specifies the administrative state of the Spanning Tree Protocol instance associated with this service.">STPAdminStatus</a></th>
<th><atitle="The value of the object svcTlsStpOperStatus indicates the operating status of the Spanning Tree Protocol instance associated with this service.">STPOperStatus</a></th>
</tr>';
$i=0;
foreach(dbFetchRows('SELECT s.*, v.vrf_name FROM `mpls_services` AS s LEFT JOIN `vrfs` AS v ON `s`.`svcVRouterId` = `v`.`vrf_oid` AND `s`.`device_id` = `v`.`device_id` ORDER BY `svc_oid`')as$svc){