Configuring CU-106
Usage Scenario
Pre-configuration Tasks
- Set physical parameters of interfaces and ensure that the interfaces are physically Up.
- Configuring the BITS Clock Source as the T-GM
- Configuring Clock Source Attributes Used for BMC Selection
- Configuring CU-106 Globally
- (Optional) Configuring the Time Synchronization Alarm Function
- Configuring CU-106 on an Interface
- Configuring Time Attributes for CU-106 Packets
- Configuring Encapsulation Modes for CU-106 Packets
- Verifying the Configuration of CU-106
Configuring the BITS Clock Source as the T-GM
You can introduce a clock source that functions as the grandmaster clock on the T-GM of building integrated timing supply system (BITS). This clock source provides the source of time signals for T-BCs to achieve time synchronization between the T-GM and T-BCs.
Configuring Clock Source Attributes Used for BMC Selection
This section describes how to configure clock source attributes used for BMC selection. routers configured with clock source attributes can participate in BMC selection. A local clock on a CU-106 router can also participate in BMC selection. The BMC algorithm helps CU-106 routers to select a master clock. The master clock provides time signals for other routers over a CU-106 network. CU-106 routers obtain clock synchronous information from the grandmaster.
Procedure
- Run system-view
The system view is displayed.
- Run ptp clock-source bits0 grandmaster-clockid grandmaster-clockid-value
Specifies the ID of the grandmaster clock.
- Run ptp clock-source bits0 clock-accuracy clock-accuracy-value
Specifies the accuracy value of the clock source.
- Run ptp clock-source bits0 clock-class clock-class-value
Specifies the clock class for the BITS source.
In T-BC mode, the default clock class is 248. If the clock class of the locked clock is less than 135, the clock class automatically changes to 165 after the clock is out of lock and this clock class cannot be configured.
- Run ptp clock-source local priority2 priority2-value
The priority 2 of the local clock source is set.
- Run ptp clock-source local local-priority local-priority-value
The priority of the local clock source is set.
- Run ptp clock-source local time-source time-source-value
The time source of the local clock source is configured.
- Run commit
The configuration is committed.
Configuring CU-106 Globally
You need to enable CU-106 on a router in the system view, configure the router as a T-BC, specify the domain to which the router belongs to, and enable the static configuration of the status of the T-BC interface.
Procedure
- Run system-view
The system view is displayed.
- Run ptp enable
PTP is enabled.
- Run ptp profile cu-106 enable
CU-106 is enabled.
- Run ptp device-type t-bc
The device type is set to T-BC.
- (Optional) Run ptp domain domain-value
The domain where the device resides is configured.
Devices in the same clock domain can exchange CU-106 packets to synchronize time signals. - (Optional) Run ptp virtual-clock-id clock-id-value
A virtual clock ID is set.
- (Optional) Configure automatic asymmetry measurement for
fibers.
- Run commit
The configuration is committed.
(Optional) Configuring the Time Synchronization Alarm Function
After the time synchronization alarm function is configured to monitor time synchronization status information, the alarm information will be reported to the NMS for further troubleshooting and maintenance.
Procedure
- Run system-view
The system view is displayed.
- Configure the time synchronization alarm function as required.
Run the ptp alarm-threshold clock-class clock-class-value command to configure the alarm threshold for PTP source input deterioration.
Run the ptp alarm-threshold standard-time-offset time-offset-value command to configure the alarm threshold for the PTP source absolute time reference.
Run the ptp alarm-threshold time-offset-sum time-offset-sum command to configure the alarm threshold for the peak value of the accumulated PTP source time offsets.
- Run commit
The configuration is committed.
Configuring CU-106 on an Interface
After enabling CU-106 in the system view, you need to enable CU-106 in the interface view.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run ptp enable
PTP is enabled on the interface.
- (Optional) Run ptp local-priority local-priority-value
The local priority of a PTP interface is set.
- (Optional) Run ptp asymmetry-correction { negative negative-asymmetry-correction-value | positive positive-asymmetry-correction-value }
The asymmetric correction time for sending CU-106 packets on the interface is set.
- (Optional) Run ptp clock-step { one-step | two-step }
The timestamping mode of the synchronization packets sending by the CU-106 port is set.
- Run commit
The configuration is committed.
Configuring Time Attributes for CU-106 Packets
This section describes how to configure time attributes for CU-106 packets. T-BCs exchange Announce, Sync, and Delay or Pdelay packets to send time information and maintain CU-106 connections. You can set the interval at which a CU-106 interface sends Announce, Sync, and Delay or Pdelay packets and the maximum number of Announce packet timeouts. Using the default time attribute values is recommended.
Configuring Encapsulation Modes for CU-106 Packets
You can configure destination MAC addresses of packets according to the actual networking.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run ptp mac-egress destination-mac destination-mac
The CU-106 packets to be sent from the interface is encapsulated in MAC encapsulation mode, and a destination MAC address is configured.
- Run commit
The configuration is committed.
Verifying the Configuration of CU-106
After configuring the CU-106 function, verify the configuration.
- Configuring the BITS Clock Source as the T-GM
- Configuring Clock Source Attributes Used for BMC Selection
- Configuring CU-106 Globally
- (Optional) Configuring the Time Synchronization Alarm Function
- Configuring CU-106 on an Interface
- Configuring Time Attributes for CU-106 Packets
- Configuring Encapsulation Modes for CU-106 Packets
- Verifying the Configuration of CU-106