OcNOS-SP : Timing and Synchronization Guide : Precision Time Protocol Command Reference : PTP Commands : network-interface
network-interface
Use this command to reference the configured underlying interface that is used by this PTP Port.
Use the no form of this command to delete network-interface.
Command Syntax
network-interface IFNAME
network-interface IFNAME vlan VLAN_ID
network-interface IFNAME port IFNAME
network-interface(gps|prc)
no network-interface
Parameters
IFNAME
The name of a physical interface
VLAN_ID
VLAN ID <1-4094> applicable for g8275.1 profile
gps
GPS interface
prc
SMA/SMB or external interfaces
Command Mode
PTP Clock Port Mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
(config)#ptp clock 0 profile g8275.1
(config-ptp-clk)#clock-port 1
(config-clk-port)#network-interface xe2
(config-clk-port)#exit
(config-ptp-clk)#clock-port 2
(config-clk-port)#network-interface xe3 vlan 2
(config-clk-port)#exit
(config-ptp-clk)#clock-port 3
(config-clk-port)#network-interface gps
 
(config)#ptp clock 0 profile g8275.2
(config-ptp-clk)#clock-port 1
(config-clk-port)#network-interface vlan1.2 port xe1
 
(config)#ptp clock 0 profile default
(config-ptp-clk)#clock-port 1
(config-clk-port)#network-interface vlan1.2 port xe1
 
(config)#ptp clock 0 profile g8265.1
(config-ptp-clk)#clock-port 1
(config-clk-port)#network-interface vlan1.2 port xe1
 
Last modified date: 06/30/2023