How to configure the work mode of the Combo interface of an AR router

20

Combo interfaces are optical-electrical multiplex Ethernet interfaces. The optical interface and the electrical interface of the combo interface cannot work at the same time.
Note: Combo interfaces work in electrical interface mode by default. If you want to use the optical interface of the Combo interface, you must configure the Combo interface as follows to set it to optical interface mode.

1. Run the system-view command to enter the system view.
2. Run the interface gigabitethernet [interface-number] command to enter the view of the GigabitEthernet interface.
3. Run the combo-port { auto | copper | fiber } command to configure the work mode of the Combo interface.

auto: Indicates the work mode is selected automatically. The device detects the state of the interfaces and select the work mode as follows:
- If the state of the electrical interface becomes Up first, electrical interface mode is selected.
- If the state of the optical interface becomes Up first, optical interface mode is selected.
copper: Indicates that the work mode of the Combo interface is set to electrical interface mode by force, that is, data is transmitted through network cables.
fiber: Indicates that the work mode of the Combo interface is set to optical interface mode by force, that is, data is transmitted through optical fibers.

Other related questions:
How to configure the working mode of a combo interface
You can run the combo-port { auto | copper | fiber } command to configure the working mode of a combo interface. By default, a combo interface works in auto mode, in which the combo interface automatically works as an optical or electrical interface. -When the auto mode is specified, the system checks whether the combo optical interface has an optical module installed, and selects the interface working mode as follows: -When the electrical interface is not connected, the combo interface works as an optical interface if the combo optical interface has an optical module installed. -When the electrical interface is connected using a network cable and the combo interface is Up, the combo interface works as an electrical interface even if the combo optical interface has an optical module installed. However, the combo interface works as an optical interface after the device restarts. -When the electrical interface is connected using a network cable and the combo interface is Down, the combo interface works as an optical interface if the combo optical interface has an optical module installed. In summary, when the auto mode is specified and the combo optical interface has an optical module installed, the combo interface works as an optical interface after the device restarts. -You can forcibly specify the working mode of the combo interface based on the remote interface type. If the local combo electrical interface is connected to a remote electrical interface, configure the combo interface to work in copper mode. If the local combo optical interface is connected to a remote optical interface, configure the combo interface to work in fiber mode.

How to configure a combo interface to work as an optical interface or electrical interface
By default, a combo interface works in the auto mode. The combo interface automatically works as an optical interface or electrical interface. -If a network cable is not connected to the interface, the combo interface works as an optical interface when an optical module is installed on the interface. -If a network cable is connected to the interface and the interface is in Up state, the combo interface works as an electrical interface when an optical module is installed on the interface. -If a network cable is connected to the interface and the interface is in Down state, the combo interface works as an optical interface when an optical module is installed on the interface. -If a network cable, an optical module, and an optical fiber are installed on the interface, the combo interface works as an optical interface after the device restarts. You are advised to run the combo-port { fiber | copper } command to forcibly configure the combo interface to work as an electrical interface or optical interface. If a combo interface is forcibly configured to work in a different mode from a remote interface, the two interfaces cannot communicate.

How to configure the CE1/PRI interface of an AR router to be working in E1 mode
You can configure the CE1/PRI interface of an AR router to be working in E1 mode as follows: # Configure the IE1T1-M/2E1T1-M interface card to be working in CE1/PRI mode. display device//Check whether the slot number of the E1T1-M interface card is correct and whether the interface card has been registered properly. system-view [Huawei] controller e1 1/0/0 //Enter the view of the specified CE1/PRI interface. [Huawei-E1 1/0/0] using e1 //Configure the CE1/PRI interface to be working in E1 mode. The CE1/PRI interface works in CE1 mode by default. The system automatically creates a serial interface xx:0. You can run the display interface brief command to check the information about the created interface. [Huawei-E1 1/0/0] line-termination 75-ohm //You can select 75-ohm coaxial cables or 120-ohm twisted pair cables. Twisted pair cables are used by default. You can directly use twisted pair cables on 4-interface and 8-interface cards. [Huawei-E1 1/0/0] undo detect-ais //Do not perform the alarm indication signal (AIS) detection on the current interface. This is an optional configuration which is mandatory for E1 interfaces. The configuration of the interface must be in accordance with that of the peer end (except for the clock). [Huawei-E1 1/0/0] itf number 4 //Set the number of characters filled between frames on the interface to a value ranging from 0 to 14. The default value is 4. [Huawei-E1 1/0/0] itf type 7e //Set the type of characters filled between frames on the interface to 7e or ff. The default type is 7e. [Huawei-E1 1/0/0] data-coding inverted //Configure whether to invert data by setting the value to inverted or normal. The default value is normal. Set the value to inverted when the number of error packets increases. [Huawei-E1 1/0/0] idlecode 7e //Set the idle code type of the line to 7e or ff. The default value is 7e. Run the display controller e1 [interface-number] command to check the status and parameters of the CE1/PRI interface. Run the display interface serial [interface-number] command to check the status and statistics of the corresponding serial interface.

How to configure the CE1/PRI interface of an AR router to be working in PRI mode
You can configure the CE1/PRI interface of an AR router to be working in PRI mode as follows: # Configure the IE1T1-M/2E1T1-M interface card to be working in CE1/PRI mode. display device//Check whether the slot number of the E1T1-M interface card is correct and whether the interface card has been registered properly. system-view [Huawei] controller e1 1/0/0 //Enter the view of the specified CE1/PRI interface. [Huawei-E1 1/0/0] using ce1 //Configure the CE1/PRI interface to be working in CE1/PRI mode. The CE1/PRI interface works in CE1 mode by default. The system automatically creates a serial interface xx:0. You can run the display interface brief command to check the information about the created interface. [Huawei-E1 1/0/0] pri-set timeslot-list 1,5-8,16 //Bind the timeslot 1, timeslots 5 to 8, and timeslot 16 of the CE1/PRI interface 1/0/0 into a pri-set. [Huawei-E1 1/0/0] line-termination 75-ohm //You can select 75-ohm coaxial cables or 120-ohm twisted pair cables. Twisted pair cables are used by default. You can directly use twisted pair cables on 4-interface and 8-interface cards. [Huawei-E1 1/0/0] frame-format crc4 //Set the frame format of the interface to CRC4 or NO-CRC4. The frame format is NO-CRC4 by default and can be modified. The frame format of the interface must be in accordance with that of the peer end (except for the clock). [Huawei-E1 1/0/0] itf number 4 //Set the number of characters filled between frames on the interface to a value ranging from 0 to 14. The default value is 4. [Huawei-E1 1/0/0] itf type 7e //Set the type of characters filled between frames on the interface to 7e or ff. The default type is 7e. [Huawei-E1 1/0/0] data-coding inverted //Configure whether to invert data by setting the value to inverted or normal. The default value is normal. Set the value to inverted when the number of error packets increases. [Huawei-E1 1/0/0] idlecode 7e //Set the idle code type of the line to 7e or ff. The default value is 7e. [Huawei-E1 1/0/0] detect-rai //Perform the remote alarm indication (RAI) detection which is enabled by default. Run the display controller e1 [interface-number] command to check the status and parameters of the CE1/PRI interface. Run the display interface serial [interface-number] command to check the status and statistics of the corresponding serial interface.

How to configure the E1-F interface of an AR router to be working in framed mode
Configure the E1-F interface of an AR router to be working in framed mode: # You can configure the E1-F interface to be working in framed mode if you need a lower-speed E1 channel (such as 512 kbit/s) to transmit service data. display device //Check whether the slot number of the E1T1-F interface card is correct and whether the interface card has been registered properly. system-view [Huawei] interface Serial 1/0/0 //Enter the view of the interface. You can run the display interface brief command to check the information about the interface. [Huawei-Serial1/0/0] undo fe1 unframed //Set the work mode of the interface to framed mode, which is the default work mode. [Huawei-Serial1/0/0] fe1 timeslot-list 1-3,8,10 //(Optional) Set the timeslots that need to be bound. Timeslots 1 to 31 are bound by default (the maximum rate of the interface is 1984 kbit/s in this case). [Huawei-Serial1/0/0] fe1 line-termination 75-ohm //You can select 75-ohm coaxial cables or 120-ohm twisted pair cables. Twisted pair cables are used by default. This configuration of cable type is optional. However, the configuration of the interface must be in accordance with that of the peer end (except for the clock). [Huawei-Serial1/0/0] fe1 clock slave //Set the clock mode to master, slave or system. The default clock mode is slave. [Huawei-Serial1/0/0] crc 16 //Set the CRC verification mode to CRC-16, CRC-32 or none by setting the value to 16, 32, or none. The default CRC verification mode is CRC-16. [Huawei-Serial1/0/0] fe1 itf number 4 //Set the number of characters filled between frames on the interface to a value ranging from 0 to 14. The default value is 4. [Huawei-Serial1/0/0] fe1 itf type 7e //Set the type of characters filled between frames on the interface to 7e or ff. The default type is 7e. [Huawei-Serial1/0/0] fe1 data-coding inverted //Configure whether to invert data by setting the value to inverted or normal. The default value is normal. Set the value to inverted when the number of error packets increases. [Huawei-Serial1/0/0] fe1 idlecode 7e //Set the idle code type of the line to 7e or ff. The default value is 7e. [Huawei-Serial1/0/0] fe1 detect-rai //Disable the remote alarm indication (RAI) detection which is enabled by default. Run the display fe1 serial [interface-number] command to check the basic configuration and alarms of the E1-F interface. Run the display interface serial [interface-number] command to check the status and statistics of the E1-F interface.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top