NETCONF Configuration Guide
...
Interface
Port
8 min
asternos port this chapter provides examples of how to configure and manage physical using netconf there are some attributes that only can be configured with physical port, such as speed, auto negotiation configuring physical port speed note physical port can't be created, replaced or deleted, if you want to change attributes of a physical port, use operation="merge" for all asternos campus devices, the auto negotiation is enabled by default for all following speed modes 100m 1g 2 5g 10g to change speed for these modes, the auto negotiation must be disabled first for 25g, 40g, 50g and 100g speed modes, the auto negotiation is disabled by default the following example shows how to configure the speed of a physical port to 10g and disable auto negotiation request example to set speed to 10g and disable auto negotiation via edit config \<config> \<top> \<interfaces> \<interface> \<name>ethernet1\</name> \<ethernet config operation="merge"> \<auto negotiate>false\</auto negotiate> \<speed>1g\</speed> \</ethernet config> \</interface> \</interfaces> \</top> \</config> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ b29cf034 f496 4170 a7f6 94ebb910ec22"> \<ok/> \</rpc reply> configure physical port fec mode for 100g port request example to disable fec mode via edit config \<config>\<top>\<interfaces> \<interface> \<name>ethernet49\</name> \<ethernet config operation="merge"> \<fec>none\</fec> \</ethernet config> \</interface> \</interfaces>\</top>\</config> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid 7dab4208 65f3 469c bb92 9381e9582842"> \<ok/> \</rpc reply> configure port bandwidth alerting the following example shows how to configure bandwidth alerting on a physical port request example to set bandwidth alerting via edit config \<config>\<top>\<interfaces> \<interface> \<name>ethernet2\</name> \<bandwidth util warn operation="create"> \<rx alert threshold>90\</rx alert threshold> \<rx resume threshold>70\</rx resume threshold> \<tx alert threshold>90\</tx alert threshold> \<tx resume threshold>70\</tx resume threshold> \</bandwidth util warn> \</interface> \</interfaces>\</top>\</config> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid 368fbafd 2cad 49fd a965 98611a2944ce"> \<ok/> \</rpc reply> configure port global link delay user can configure a global link delay time for physical ports request example to set global link delay time via edit config \<config> \<top> \<ports global operation="create"> \<link delay>100\</link delay> \</ports global> \</top> \</config> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ c6cfb409 5037 4efa bd52 036ec5aed0e5"> \<ok/> \</rpc reply>
