- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
04-FlexE interface configuration | 133.99 KB |
Restrictions: Hardware compatibility with FlexE interfaces
FlexE interface tasks at a glance
Changing the type of an interface
Creating a FlexE group interface
Adding a FlexE physical interface to a FlexE group interface
Creating a FlexE logical interface and set its bandwidth
Creating a FlexE-DCN interface
Configuring basic settings of a FlexE interface
Changing the speed mode of an interface
Setting the MTU of a FlexE logical interface
Configuring jumbo frame support for a FlexE logical interface
Configuring physical state change suppression on a FlexE interface
Enabling loopback testing on a FlexE interface
Configuring interface alarm functions
About interface alarm functions
Enabling interface alarm functions
Setting CRC error packet alarm parameters
Setting input error packet alarm parameters
Setting output error packet alarm parameters
Setting inbound bandwidth usage alarm parameters
Setting outbound bandwidth usage alarm parameters
Restoring the default settings for a FlexE interface
Display and maintenance commands for FlexE interfaces
Configuring FlexE interfaces
About FlexE interfaces
The Flexible Ethernet (FlexE) technology provides service providers with flexibility to assign different bandwidth to interfaces to meet bandwidth requirements of different services.
FlexE interfaces include the following types:
· FlexE physical interface—A FlexE physical interface is a physical interface that switches from standard Ethernet mode to flexible Ethernet mode. FlexE physical interfaces can be added to a FlexE group interface and the bandwidth of the FlexE group interface is the sum of the bandwidths of all FlexE physical interfaces in the group interface.
· FlexE logical interface—A FlexE logical interface is a logical interface of which the bandwidth can be flexibly specified. A FlexE group interface assigns bandwidth to FlexE logical interfaces according to requirements of different services.
Restrictions: Hardware compatibility with FlexE interfaces
When the device uses an RSU-400 MPU, and an HRIC-CLGQ2, HRIC-CQ1F, HRIC-LGQ1, or HRIC-LGQ2F interface card is installed in slot 4, 5, 6, or 7, FlexE interface commands are supported.
For FlexE interfaces to operate efficiently, as a best practice, install the preceding interface card in slot 6 or 7.
FlexE interface tasks at a glance
To configure FlexE interfaces, perform the following tasks:
1. Changing the type of an interface
2. Configuring a FlexE group interface
a. Creating a FlexE group interface
b. Adding a FlexE physical interface to a FlexE group interface
c. Creating a FlexE logical interface and set its bandwidth
d. Creating a FlexE-DCN interface
3. Configuring basic settings of a FlexE interface
4. Configure a FlexE physical interface
¡ Changing the speed mode of an interface
¡ (Optional.) Configuring physical state change suppression on a FlexE interface
¡ (Optional.) Configuring FEC
¡ (Optional.) Enabling loopback testing on a FlexE interface
5. Configure a FlexE logical interface
¡ (Optional.) Setting the MTU of a FlexE logical interface
¡ (Optional.) Configuring jumbo frame support for a FlexE logical interface
¡ (Optional.) Configuring physical state change suppression on a FlexE interface
¡ (Optional.) Enabling loopback testing on a FlexE interface
6. (Optional.) Configuring interface alarm functions
7. (Optional.) Restoring the default settings for a FlexE interface
Changing the type of an interface
About this task
A standard Ethernet interface's bandwidth is fixed and a FlexE interface's bandwidth can be configured flexibly. Perform this task to change the type of an interface between standard Ethernet and FlexE.
If you execute the port-type flexe command on a standard Ethernet interface to change the interface type, the system performs the following operations:
· Delete the original Ethernet interface.
· Create a FlexE physical interface, of which the interface number is the same as the Ethernet interface.
· Create FlexE logical interfaces. The numbering of the FlexE logical interfaces varies by device model.
Restrictions and guidelines
You cannot change the type of a FlexE physical interface if the interface has been added to a FlexE group interface and bandwidth has been assigned to a FlexE logical interface in the group.
Procedure
1. Enter system view.
system-view
2. Enter interface view.
interface interface-type interface-number
3. Change the type of the interface.
¡ Change a standard Ethernet interface to a FlexE interface.
port-type flexe
¡ Change a FlexE interface to a standard Ethernet interface.
port-type ethernet
CAUTION: After the type of an interface is changed, the system deletes the original interface and creates a new interface that is numbered the same as the original interface. All the other commands are restored to the default on the new interface. |
Creating a FlexE group interface
About this task
After you create a FlexE group interface, you can add multiple FlexE physical interfaces to the FlexE group interface and create FlexE logical interfaces in the FlexE group interface as needed. Then, you can flexibly assign the total bandwidths of the FlexE physical interfaces to FlexE logical interfaces according to the bandwidth requirements of services.
Restrictions and guidelines
The number of FlexE group interfaces must be equal to or smaller than the number of FlexE physical interfaces on an interface module.
You can delete a FlexE group interface only if the FlexE group interface does not have any FlexE physical or logical interfaces.
Procedure
1. Enter system view.
system-view
2. Create a FlexE group interface and enter its view.
interface flexe-group interface-number
The last digit in the interface number of a FlexE group interface represents the group ID.
3. (Optional.) Configure a description of the FlexE group interface.
description text
By default, the configuration of a FlexE group interface is the interface name plus Interface (for example, FlexE-Group5/0/1 Interface).
Adding a FlexE physical interface to a FlexE group interface
About this task
Perform this task so you can bind timeslots of FlexE physical interfaces in a FlexE group interface to FlexE logical interfaces as service requirements.
Restrictions and guidelines
When you add a FlexE physical interface to a FlexE group interface, follow these restrictions and guidelines:
· You can add a FlexE physical interface only to a FlexE group interface.
· For correct communication between FlexE physical interfaces at both of the ends of a link, you must add the FlexE physical interfaces to the same FlexE group interface. Make sure the FlexE physical interfaces have the same PHY number.
· You can repeat this command to add multiple FlexE physical interfaces to a FlexE group interface. Make sure the PHY number for each FlexE physical interfaces is unique in a FlexE group interface.
If the bandwidth or timeslots of a FlexE physical interface have been bound to a FlexE logical interface, you cannot the following tasks:
· Remove the FlexE physical interface from the FlexE group interface.
· Change the PHY number of the FlexE physical interface.
Procedure
1. Enter system view.
system-view
2. Enter FlexE group interface view.
interface flexe-group interface-number
3. Add a FlexE physical interface to the FlexE group interface.
bind interface interface-type interface-number phy-number number
By default, no FlexE physical interfaces exist in a FlexE group interface.
Creating a FlexE logical interface and set its bandwidth
About this task
Perform this task to set the client ID for a FlexE logical interface to be created and create the FlexE logical interface in a FlexE group interface. The interface number of the FlexE logical interface is in the format of FlexE-group-interface-number:client ID. For example, after you execute the client-id 10 command in the view of FlexE-Group 5/0/1, the device creates FlexE logical interface FlexE 5/0/1:10 in which 10 is the client ID.
You can set the bandwidth of a FlexE logical interface in bandwidth or timeslot configuration mode set by using the flexe config-mode command in system view.
· If the bandwidth configuration mode is bandwidth mode, you can only use the client client-id bandwidth command to set the bandwidth of the FlexE logical interface.
· If the bandwidth configuration mode is timeslot mode, you can only use the client client-id binding interface interface-type interface-number timeslot timeslot-list command to set the bandwidth of FlexE logical interfaces.
Restirctions and guidelines
After a FlexE physical interface in 100GE mode or two FlexE physical interfaces in 50GE mode are assigned to the same FlexE group interface, you can create up to 20 FlexE logical interfaces.
For correct communication between FlexE logical interfaces at both ends of a link, you must perform the following tasks:
· Create a FlexE group interface at both of the devices.
· Set the same client ID for the two FlexE group interfaces.
Procedure
1. Enter system view.
system-view
2. Set the bandwidth configuration mode for FlexE logical interfaces.
flexe config-mode slot slot-number subslot subslot-number { bandwidth | timeslot }
By default, the bandwidth mode is used.
3. Enter FlexE group interface view.
interface flexe-group interface-number
4. Create a FlexE logical interface and set its bandwidth.
client client-id { bandwidth bandwidth-value | bind interface interface-type interface-number timeslot timeslot-list }
Creating a FlexE-DCN interface
About this task
With DCN enabled on a FlexE physical interface, the device automatically creates a FlexE-DCN interface numbered the same as the FlexE physical interface. A FlexE-DCN interface is used to transmit DCN management information.
Restrictions and guidelines
When you switch the type of or delete a FlexE physical interface, its FlexE-DCN interface is also deleted.
Procedure
1. Enter system view.
system-view
2. Enter FlexE physical interface view..
interface interface-type interface-number
3. Enable DCN on the FlexE physical interface.
dcn enable
4. Enter FlexE-DCN interface view.
interface flexe-dcn interface-number
Configuring basic settings of a FlexE interface
1. Enter system view.
system-view
2. Enter FlexE physical interface view or FlexE logical interface view.
interface interface-type interface-number
3. Configure the description of the FlexE interface.
description text
By default, the description of a FlexE interface is interface-name Interface. For example, FlexE5/0/2 Interface.
4. Set the expected bandwidth of the FlexE interface.
bandwidth bandwidth-value
By default, the expected bandwidth of an interface is interface baudrate divided by 1000 kbps.
The expected bandwidth is an informational parameter used only by higher-layer protocols for calculation. You cannot adjust the actual bandwidth of an interface by using this command.
This command is not supported on FlexE physical interfaces.
5. Bring up the FlexE interface.
undo shutdown
By default, a FlexE interface is up.
Changing the speed mode of an interface
About this task
Two physical interfaces exist on an expansion interface module, which correspond to interfaces 50-100GE 5/0/0 and 50-100GE 5/0/1. You can use the port-type flexe command to switch the two Ethernet interfaces to FlexE physical interfaces to flexibly use the bandwidth of the two interfaces.
By default, the speed mode of interfaces on the interface expansion modules is auto. In the display interface brief command, you can view interfaces 50-100GE 5/0/0 and 50-100GE 5/0/1.
· The speed of interface 50-100GE 5/0/0 is determined by the transceiver module installed. When a 50-Gbps transceiver module is installed in the interface, the speed of the interface is 50 Gbps. When a 100-Gbps transceiver module is installed in the interface, the speed of the interface is 100 Gbps.
· Interface 50-100GE 5/0/1 always operates at 50 Gbps no matter whether a 50-Gbps transceiver module or 100-Gbps transceiver module is installed.
To improve interface usage and protect investments, you can configure the manual speed mode for 50-100GE 5/0/0 to configure a 100-Gbps transceiver module to operate at 50 Gbps when a 100-Gbps transceiver module is installed in 50-100GE 5/0/0 and the peer interface has a 50-Gbps transceiver module installed. After you configure the manual speed mode, the device will delete interface 50-100GE 5/0/1. In the display interface command output, you can view only interface 50-100GE 5/0/0.
To restore the 100-Gbps speed for the transceiver module manually configured to operate at 50 Gbps, execute the speed-mode 100ge command in manual mode or restore the autosensing mode.
You can use the display interface command to view the operating mode of an interface.
Restrictions and guidelines
When you switch the speed of an interface, follow these restrictions and guidelines:
· If ports on an interface expansion card have been assigned to a FlexE interface group, you cannot switch the operating mode. To do that, first remove the ports from the FlexE interface group.
· If interface A on an interface expansion card operates at 50 Gbps and interface B has been assigned to a FlexE group interface, you cannot switch the operating mode of interface A to 100 Gbps. To do that, first remove interface B from the FlexE group interface.
· If an interface on an expansion interface card is a FlexE interface operating at 100 Gbps and has been assigned to a FlexE group, you cannot configure the interface to operate at 50 Gbps. To do that, first remove it from the FlexE group.
· If an interface on an expansion interface card is a FlexE interface operating at 50 Gbps and has been assigned to a FlexE group, you cannot configure the interface to operate at 100 Gbps. To do that, first remove it from the FlexE group.
Procedure (Ethernet interface)
1. Enter system view.
system-view
2. Enter 50-100-GE interface view.
interface fifty-hundredgige interface-number
3. Set the transceiver module mode for the Ethernet interface.
switch-mode manual
By default, the speed of an interface is determined by the transceiver module installed.
4. Change the speed mode of the interface between 50 Gbps and 100 Gbps.
speed-mode { 50ge | 100ge }
By default, an interface operates in 50-GE mode.
Setting the MTU of a FlexE logical interface
Restrictions and guidelines
The maximum transmission unit (MTU) of a FlexE logical interface affects the fragmentation and reassembly of IP packets on the interface. Typically, you do not need to modify the MTU of a FlexE logical interface.
Procedure
1. Enter system view.
system-view
2. Enter FlexE interface view.
¡ Enter FlexE logical interface view.
interface flexe { interface-number | interface-number.subnumber }
¡ Enter FlexE-DCN interface view.
interface flexe-dcn interface-number
3. Set the MTU of the FlexE logical interface.
mtu size
By default, the MTU of a FlexE logical interface is 1500 bytes, and the MTU of a FlexE-DCN interface is 474 bytes.
Configuring jumbo frame support for a FlexE logical interface
About this task
Jumbo frames are frames larger than a device-specific size and are typically received by a FlexE logical interface during high-throughput data exchanges, such as file transfers.
The FlexE logical interface processes jumbo frames in the following ways:
· When the FlexE logical interface is configured to deny jumbo frames (by using the undo jumboframe enable command), the FlexE logical interface discards jumbo frames.
· When the FlexE logical interface is configured with jumbo frame support, the FlexE logical interface performs the following operations:
¡ Processes jumbo frames within the specified length.
¡ Discards jumbo frames that exceed the specified length.
Procedure
1. Enter system view.
system-view
2. Enter FlexE logical interface view.
interface flexe interface-number
3. Configure jumbo frame support.
jumboframe enable [ size ]
By default, the device allows jumbo frames within 10240 bytes to pass through all FlexE logical interfaces.
Configuring physical state change suppression on a FlexE interface
About this task
The physical link state of a FlexE interface is either up or down. Each time the physical link of an interface comes up or goes down, the interface immediately reports the change to the CPU. The CPU then performs the following operations:
· Notifies the upper-layer protocol modules (such as routing and forwarding modules) of the change for guiding packet forwarding.
· Automatically generates traps and logs to inform users to take the correct actions.
To prevent frequent physical link flapping from affecting system performance, configure physical state change suppression. You can configure this feature to suppress only link-down events, only link-up events, or both. If an event of the specified type still exists when the suppression interval expires, the system reports the event to the CPU.
Restrictions and guidelines
You can set different suppression intervals for link-up and link-down events.
If you set the suppression interval multiple times for the same type of link suppression events on a FlexE physical interface, the most recent configuration takes effect.
Procedure
1. Enter system view.
system-view
2. Enter FlexE physical interface view or FlexE logical interface view.
interface flexe interface-number
3. Configure physical state change suppression on the FlexE interface.
link-delay { down | up } [ msec ] delay-time
By default, the device reports the physical state change of a FlexE interface to the CPU immediately.
Configuring FEC
About this task
The forward error correction (FEC) feature corrects packet errors to improve transmission quality. It attaches correction information to a packet at the sending end, and corrects error codes generated during transmission at the receiving end based on the correction information. You can set the FEC mode as needed.
Restrictions and guidelines
Make sure you set the same FEC mode for both interfaces of a link.
Procedure
1. Enter system view.
system-view
2. Enter interface view.
interface interface-type interface-number
3. Set the FEC mode of the interface.
port fec mode { auto | none | rs-fec }
By default, the FEC mode of an interface is auto.
Enabling loopback testing on a FlexE interface
About this task
Use this feature to determine whether a FlexE interface works correctly.
Loopback testing includes the following types:
· Internal loopback testing—Tests the device where the FlexE interface resides. The FlexE interface sends outgoing packets back to the local device. If the device fails to receive the packets, the device fails.
· External loopback testing—Tests the inter-device link. The FlexE interface sends incoming packets back to the remote device. If the remote device fails to receive the packets, the inter-device link fails.
Restrictions and guidelines
After you enable this feature on a FlexE interface, the interface does not forward data traffic.
Procedure
1. Enter system view.
system-view
2. Enter FlexE physical interface view
interface interface-type interface-number
3. Enable loopback testing on the interface.
loopback { external | internal }
Configuring interface alarm functions
About interface alarm functions
With the interface alarm functions enabled, when the number of error packets on an interface in normal state within the specified interval exceeds the upper threshold, the interface generates an upper threshold exceeding alarm and enters the alarm state. When the number of error packets on an interface in the alarm state within the specified interval drops below the lower threshold, the interface generates a recovery alarm and restores to the normal state.
Restrictions and guidelines
You can configure the interface alarm parameters in system view and interface view.
· The configuration in system view takes effect on all interfaces of the specified slot. The configuration in interface view takes effect only on the current interface.
· For an interface, the configuration in interface view takes priority, and the configuration in system view is used only when no configuration is made in interface view.
An interface that is shut down because of error packet alarms cannot automatically recover. To bring up the interface, execute the undo shutdown command on the interface.
Enabling interface alarm functions
1. Enter system view.
system-view
2. Enable alarm functions for the interface monitoring module.
snmp-agent trap enable ifmonitor [ crc-error | input-error | input-usage | output-error | output-usage ] *
By default, all alarm functions are enabled on interfaces.
Setting CRC error packet alarm parameters
1. Enter system view.
system-view
2. Set global CRC error packet alarm parameters.
ifmonitor crc-error slot slot-number high-threshold high-value low-threshold low-value interval interval [ shutdown ]
By default, the upper threshold is 1000, the lower threshold is 100, and the statistics collection and comparison interval is 10 seconds for CRC error packets.
3. Enter FlexE logical interface view.
interface flexe interface-number
4. Set CRC error packet alarm parameters on the FlexE logical interface.
port ifmonitor crc-error [ ratio ] high-threshold high-value low-threshold low-value interval interval [ shutdown ]
By default, a FlexE logical interface uses the global CRC error packet alarm parameters.
Setting input error packet alarm parameters
1. Enter system view.
system-view
2. Set global input error packet alarm parameters.
ifmonitor input-error slot slot-number high-threshold high-value low-threshold low-value interval interval [ shutdown ]
By default, the upper threshold is 1000, the lower threshold is 100, and the statistics collection and comparison interval is 10 seconds for input error packets.
3. Enter FlexE logical interface view.
interface flexe interface-number
4. Set input error packet alarm parameters on the FlexE logical interface.
port ifmonitor input-error high-threshold high-value low-threshold low-value interval interval [ shutdown ]
By default, a FlexE logical interface uses the global input error packet alarm parameters.
Setting output error packet alarm parameters
1. Enter system view.
system-view
2. Set global output error packet alarm parameters.
ifmonitor output-error slot slot-number high-threshold high-value low-threshold low-value interval interval [ shutdown ]
By default, the upper threshold is 1000, the lower threshold is 100, and the statistics collection and comparison interval is 10 seconds for output error packets.
3. Enter FlexE logical interface view.
interface flexe interface-number
4. Set output error packet alarm parameters on the FlexE logical interface.
port ifmonitor output-error high-threshold high-value low-threshold low-value interval interval [ shutdown ]
By default, a FlexE logical interface uses the global output error packet alarm parameters.
Setting inbound bandwidth usage alarm parameters
1. Enter system view.
system-view
2. Set global inbound bandwidth usage alarm parameters.
ifmonitor input-usage slot slot-number high-threshold high-value low-threshold low-value
By default, the upper threshold is 90% and the lower threshold is 80%.
3. Enter FlexE logical interface view.
interface flexe interface-number
4. Set inbound bandwidth usage alarm parameters on the FlexE logical interface.
port ifmonitor input-usage high-threshold high-value low-threshold low-value
By default, a FlexE logical interface uses the global inbound bandwidth usage alarm parameters.
Setting outbound bandwidth usage alarm parameters
1. Enter system view.
system-view
2. Set global outbound bandwidth usage alarm parameters.
ifmonitor output-usage slot slot-number high-threshold high-value low-threshold low-value
By default, the upper threshold is 90% and the lower threshold is 80%.
3. Enter FlexE logical interface view.
interface flexe interface-number
4. Set outbound bandwidth usage alarm parameters on the FlexE logical interface.
port ifmonitor output-usage high-threshold high-value low-threshold low-value
By default, a FlexE logical interface uses the global outbound bandwidth usage alarm parameters.
Restoring the default settings for a FlexE interface
CAUTION: This feature might interrupt ongoing network services. Make sure you are fully aware of the impacts of this feature when you use it in a live network. |
This feature might fail to restore the default settings for some commands because of command dependencies or system restrictions. You can use the display this command in interface view to check for these commands and perform their undo forms or follow the command reference to restore their default settings. If your restoration attempt still fails, follow the error message to resolve the problem.
Procedure
1. Enter system view.
system-view
2. Enter FlexE physical interface view, FlexE logical interface view, FlexE-DCN interface view, or FlexE group interface view.
interface interface-type interface-number
3. Restore the default settings for the interface.
default
Display and maintenance commands for FlexE interfaces
Execute display commands in any view.
Task |
Command |
Display interface information. |
display interface [ interface-type [ interface-number | interface-number.subnumber ] ] [ brief [ description | down ] ] |