Huawei Quidway S9300 Configuration Manual page 257

Terabit routing switch device management
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Device Management
[PE2] ptp enable
[PE2] ptp device-type bc
[PE2] ptp freq-sync
[PE2] clock bits-type 1pps-tod in bits0
[PE2] interface gigabitethernet 1/0/1
[PE2-GigabitEthernet1/0/1] ptp delay-mechanism pdelay
[PE2-GigabitEthernet1/0/1] ptp udp-egress source-ip 12.0.0.1 destination-ip
12.0.0.2
[PE2-GigabitEthernet1/0/1] ptp udp-egress destination-mac 1111-2222-3333
[PE2-GigabitEthernet1/0/1] ptp enable
[PE2-GigabitEthernet1/0/1] interface gigabitethernet 1/0/0
[PE2-GigabitEthernet1/0/0] ptp delay-mechanism pdelay
[PE2-GigabitEthernet1/0/0] ptp udp-egress source-ip 10.0.0.2 destination-ip
10.0.0.1
[PE2-GigabitEthernet1/0/0] ptp udp-egress destination-mac 0000-1111-1111
[PE2-GigabitEthernet1/0/0] ptp enable
[PE2-GigabitEthernet1/0/0] quit
# Configure CE1.
[CE1] ptp enable
[CE1] ptp device-type bc
[CE1] ptp freq-sync
[CE1] interface gigabitethernet 1/0/0
[CE1-GigabitEthernet1/0/0] ptp delay-mechanism pdelay
[CE1-GigabitEthernet1/0/0] ptp udp-egress source-ip 11.0.0.2 destination-ip
11.0.0.1
[CE1-GigabitEthernet1/0/0] ptp udp-egress destination-mac 0000-1111-1111
[CE1-GigabitEthernet1/0/0] ptp enable
[CE1-GigabitEthernet1/0/0] quit
[CE1-GigabitEthernet1/0/0] interface gigabitethernet 1/0/1
[CE1-GigabitEthernet1/0/1] ptp delay-mechanism pdelay
[CE1-GigabitEthernet1/0/1] ptp udp-egress source-ip 13.0.0.1 destination-ip
13.0.0.2
[CE1-GigabitEthernet1/0/1] ptp udp-egress destination-mac 2222-3333-1111
[CE1-GigabitEthernet1/0/1] ptp enable
[CE1-GigabitEthernet1/0/1] quit
# Configure CE2.
[CE2] ptp enable
[CE2] ptp device-type bc
[CE2] ptp freq-sync
[CE2] interface gigabitethernet 1/0/0
[CE2-GigabitEthernet1/0/0] ptp delay-mechanism pdelay
[CE2-GigabitEthernet1/0/0] ptp udp-egress source-ip 12.0.0.2 destination-ip
12.0.0.1
[CE2-GigabitEthernet1/0/0] ptp udp-egress destination-mac 0000-1111-2222
[CE2-GigabitEthernet1/0/0] ptp enable
[CE2-GigabitEthernet1/0/0] quit
[CE2-GigabitEthernet1/0/0] interface gigabitethernet 1/0/1
[CE2-GigabitEthernet1/0/1] ptp delay-mechanism pdelay
[CE2-GigabitEthernet1/0/1] ptp udp-egress source-ip 15.0.0.1 destination-ip
15.0.0.2
[CE2-GigabitEthernet1/0/1] ptp udp-egress destination-mac 2222-3333-2222
[CE2-GigabitEthernet1/0/1] ptp enable
[CE2-GigabitEthernet1/0/1] quit
Step 4 Verify the configuration.
After the preceding configurations, run the display ptp all command. You can view the PTP
operation status. Take the display on CE1 as an example. You can view that GE 1/0/0 on CE1
works in the Slave state and you can also view clock IDs of the upstream clock and grandmaster
clock with which CE1 synchronizes. The command output indicates that CE1 has synchronized
with the master clock source.
<CE1> display ptp all
Device config info
------------------------------------------------------------------
Issue 03 (2011-12-29)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
12 PTP Configuration
245

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents