(Optional) Configuring the Clock Mode for a Combo Interface
Context
A combo interface on a router is connected to an Ethernet interface that supports the clock function on the peer end. To exchange data successfully, interfaces at both ends must work in clock synchronization state.
A combo interface works in either of the following clock modes:
- Master: uses clock signals provided by the interface card.
- Slave: uses line clock signals.
When a router is connected to an Ethernet interface on the peer end and both the connected interfaces support the clock function, you must configure the interfaces to work in master and slave clock modes, respectively.
- When you manually specify the clock modes of the two interfaces, you must configure one interface to work in master clock mode and the other in slave clock mode.
- When you manually specify the clock mode of an interface and configure the other interface to automatically select the clock mode, the other interface will automatically select the clock mode opposite to the specified clock mode of the peer interface.
- When you configure both the interfaces to automatically select the clock mode, the interfaces will select different clock modes.
Only the Ethernet electrical interface (with the rate of 1000 Mbit/s) on the 4GECS interface card supports the clock mode configuration. Before performing this task, verify that the combo interface works in electrical mode and its interface rate is 1000 Mbit/s.
Procedure
- Run system-view
The system view is displayed.
- Run interface gigabitethernet interface-number
The GE interface view is displayed.
- Run clock [ auto perfer ] { master | slave }
The clock mode is configured on the combo interface.
By default, a combo interface automatically selects the clock mode, and preferentially works in slave clock mode to use line clock signals.