PTP Debugging over GRE Tunnel - Cisco · PTP Debugging over GRE Tunnel ... • Guidelines,page2 •...

4
PTP Debugging over GRE Tunnel The Precision Time Protocol (PTP) debugging over GRE tunnel feature enables the transport of PTP debugging information and PTP packets originated from this device through a GRE tunnel. Information About PTP Debugging over GRE Tunnel, page 1 Prerequisites, page 2 Restrictions, page 2 Guidelines, page 2 Configuring GRE Tunnel on Slave Device, page 3 Configuring PTP Debugging over GRE Tunnel, page 4 Information About PTP Debugging over GRE Tunnel PTP debugging over GRE tunnel feature encapsulates the debugging dumps into the IP/UDP packets. The packets are transferred from the PTP slave device to a remote site device or IXIA through a GRE tunnel. The PTP packets received on the remote site are captured in a packet capture (PCAP) file, which is then used for analysis. The following figure shows the sample Unidirectional tunnel with slave device topology. Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide 1

Transcript of PTP Debugging over GRE Tunnel - Cisco · PTP Debugging over GRE Tunnel ... • Guidelines,page2 •...

Page 1: PTP Debugging over GRE Tunnel - Cisco · PTP Debugging over GRE Tunnel ... • Guidelines,page2 • ConfiguringGRETunnelonSlaveDevice,page3 ... (PCAP)file,whichisthenusedfor

PTP Debugging over GRE Tunnel

The Precision Time Protocol (PTP) debugging over GRE tunnel feature enables the transport of PTP debugginginformation and PTP packets originated from this device through a GRE tunnel.

• Information About PTP Debugging over GRE Tunnel, page 1

• Prerequisites, page 2

• Restrictions, page 2

• Guidelines, page 2

• Configuring GRE Tunnel on Slave Device, page 3

• Configuring PTP Debugging over GRE Tunnel, page 4

Information About PTP Debugging over GRE TunnelPTP debugging over GRE tunnel feature encapsulates the debugging dumps into the IP/UDP packets. Thepackets are transferred from the PTP slave device to a remote site device or IXIA through a GRE tunnel. ThePTP packets received on the remote site are captured in a packet capture (PCAP) file, which is then used foranalysis.

The following figure shows the sample Unidirectional tunnel with slave device topology.

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide 1

Page 2: PTP Debugging over GRE Tunnel - Cisco · PTP Debugging over GRE Tunnel ... • Guidelines,page2 • ConfiguringGRETunnelonSlaveDevice,page3 ... (PCAP)file,whichisthenusedfor

This feature should be used only for debugging purposes and in a maintenance window.Note

Figure 1: Topology: Unidirectional Tunnel with Slave Device

Prerequisites• Identify a remote site node, which is reachable through an IP path.

• Ensure that the GRE tunnel configured on the PTP slave device is not carrying any data traffic at thetime of PTP debugging.

• Ensure that the tunnel configuration is not changed during PTP debugging.

• Ensure that the PTP debugging dumps are enabled.

Restrictions• The PTP debugging over GRE tunnel feature is supported only for debugging.

• Only Unidirectional GRE tunnel is supported.

• This feature does not support the capture of PTP packets received from the peer on this device. It onlysupports the capture of PTP packets generated by this device.

• This feature does not support the changes in tunnel configuration during execution.

Guidelines• Unidirectional GRE tunnel should be set up manually by the user from the PTP client node to the remotesite node or IXIA where the packets are captured.

• Manual configuration of GRE tunnel is required by the user.

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide2

PTP Debugging over GRE TunnelPrerequisites

Page 3: PTP Debugging over GRE Tunnel - Cisco · PTP Debugging over GRE Tunnel ... • Guidelines,page2 • ConfiguringGRETunnelonSlaveDevice,page3 ... (PCAP)file,whichisthenusedfor

• The PTP packets are captured only for a 30minutes duration in packet capture (PCAP) file. The debuggingis disabled after 30 minutes.

• After the successful capture of PTP packets, tunnel configuration must be manually removed from theslave device.

Configuring GRE Tunnel on Slave DevicePerform this task to configure GRE tunnel on the slave device.

This feature configures a unidirectional GRE tunnel. The other end of the tunnel is not configured withany GRE tunnel configuration; however, that other end must be reachable through a pure IP path (noMPLS).

Note

Procedure

PurposeCommand or Action

Enables privileged EXEC mode.enableStep 1

Example:

Router# enable

• Enter your password if prompted.

Enters global configuration mode.configure terminal

Example:Router# configure terminal

Step 2

Enters tunnel interface configuration mode.number is the number associated with thetunnel interface.

interface tunnel number

Example:Router(config)# interface Tunnel l0

Step 3

Specifies the IPv4 address and subnet maskfor the interface.

ipv4 address ipv4-address subnet-mask

Example:Router(config-if)# ip address 45.45.45.1255.255.255.0

Step 4

Specifies the source of the tunnel interface.tunnel source type source-ip-address

Example:Router(config-if)# tunnel source 7.7.7.5

Step 5

Defines the tunnel destination.tunnel destination ip-address

Example:Router(config-if)# tunnel destination7.7.7.10

Step 6

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide 3

PTP Debugging over GRE TunnelConfiguring GRE Tunnel on Slave Device

Page 4: PTP Debugging over GRE Tunnel - Cisco · PTP Debugging over GRE Tunnel ... • Guidelines,page2 • ConfiguringGRETunnelonSlaveDevice,page3 ... (PCAP)file,whichisthenusedfor

PurposeCommand or Action

Exits configuration mode and entersprivileged EXEC mode.

end

Example:Router(config-if)# end

Step 7

Configuring PTP Debugging over GRE TunnelPerform the following steps to configure PTP debugging over GRE tunnel.

Procedure

Step 1 Enable PTP debugging dumps on the ASR901 PTP slave device using BCM shell commands. (Contact CiscoTAC to enable these commands.)

Step 2 Enable PTP debugging over GRE tunnel feature using the debug platform ptp interface tunnel command.Step 3 Allow the packet capture to run for 30 minutes. After 30 minutes, disable the feature. (You can disable the

PTP debugging over GRE tunnel feature using the no debug platform ptp interface tunnel command.)Generic debug commands like debug all and undebug all do not have any effect on this feature.You can only use the debug platform ptp interface tunnel command to enable the PTP debuggingover GRE tunnel feature.

Note

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide4

PTP Debugging over GRE TunnelConfiguring PTP Debugging over GRE Tunnel