H3C Technologies H3C SecBlade LB Cards User Manual

Page 147

Advertising
background image

137

[LBA-GigabitEthernet0/1] ntp-service broadcast-client

Configure LB B:
# Enable NTP authentication on LB B. Configure an NTP authentication key, with the key ID of 88
and key value of 123456. Specify the key as a trusted key.

<LBB> system-view

[LBB] ntp-service authentication enable

[LBB] ntp-service authentication-keyid 88 authentication-mode md5 123456

[LBB] ntp-service reliable authentication-keyid 88

# Configure LB B to operate in broadcast client mode and receive NTP broadcast messages on

GigabitEthernet 0/1.

[LBB] interface gigabitethernet 0/1

[LBB-GigabitEthernet0/1] ntp-service broadcast-client

Configure LB C:
# Specify the local clock as the reference source, with the stratum level 3.

<LBC> system-view

[LBC] ntp-service refclock-master 3

# Configure LB C to operate in NTP broadcast server mode and use GigabitEthernet 0/1 to send
NTP broadcast packets.

[LBC] interface gigabitethernet 0/1

[LBC-GigabitEthernet0/1] ntp-service broadcast-server

[LBC-GigabitEthernet0/1] quit

# LB A synchronizes its local clock based on the received broadcast messages sent from LB C.
# Display NTP service status information on LB A.

[LBA-GigabitEthernet0/1] display ntp-service status

Clock status: synchronized

Clock stratum: 4

Reference clock ID: 3.0.1.31

Nominal frequency: 64.0000 Hz

Actual frequency: 64.0000 Hz

Clock precision: 2^7

Clock offset: 0.0000 ms

Root delay: 31.00 ms

Root dispersion: 8.31 ms

Peer dispersion: 34.30 ms

Reference time: 16:01:51.713 UTC Sep 19 2005 (C6D95F6F.B6872B02)

The output shows that LB A has synchronized to LB C. The stratum level of LB A is 4, and that of LB
C is 3.
# Display NTP session information for LB A, which shows that an association has been set up
between LB A and LB C.

[LBA-GigabitEthernet0/1] display ntp-service sessions

source reference

stra reach poll now offset delay disper

**************************************************************************

[1234] 3.0.1.31 127.127.1.0 3 254 64 62 -16.0 32.0 16.6

note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured

Total associations : 1

Advertising
This manual is related to the following products: