Unable to assign an IP address to the sub-interface in Huawei S6720

Hello,

I follow the steps described in "8.6 Configuring a Dot1q Termination
Sub-interface to Implement Inter-VLAN Communication" avaliable in
http://support.huawei.com/enterprise/br/doc/DOC1000112303
<https://mailtrack.io/trace/link/70d174e54248db9b79a7f36253120ebde91d879e?url=http%3A%2F%2Fsupport.huawei.com%2Fenterprise%2Fbr%2Fdoc%2FDOC1000112303&userId=948086&signature=7608d90d5dd77e0c>
but dont work. Says "Error: Unrecognized command found at '^' position" in
ip address command.

Has anyone managed to configure sub-interface on the Huawei S6720 switch?

Hi Carlos

Thank you for the response. It's not working for me:

<CR03-CGE>display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.160 (S6720 V200R008C00SPC500)
Copyright (C) 2000-2015 HUAWEI TECH CO., LTD
HUAWEI S6720-30C-EI-24S-AC Routing Switch uptime is 36 weeks, 6 days, 3
hours, 27 minutes

ES5D2S26Q002 0(Master) : uptime is 36 weeks, 6 days, 3 hours, 27 minutes
2048M bytes DDR Memory
446M bytes FLASH
Pcb Version : VER.B
Basic BootROM Version : 0208.0001 Compiled at Oct 13 2015, 14:15:20
BootLoad Version : 0208.0001 Compiled at Oct 24 2015, 02:02:20
CPLD Version : 0107
Software Version : VRP (R) Software, Version 5.160 (V200R008C00SPC500)
CARD1 information
Pcb Version : ES5D21Q04Q01 VER.A
CPLD Version : 0104
PWR1 information
Pcb Version : PWR VER.A
PWR2 information
Pcb Version : PWR VER.B
FAN1 information
Pcb Version : NA

<CR03-CGE>system-view
Enter system view, return user view with Ctrl+Z.

[CR03-CGE]interface XGigabitEthernet 0/0/24

[CR03-CGE-XGigabitEthernet0/0/24]port link-type hybrid
Info: This operation may take a few seconds. Please wait for a
moment...done.

[CR03-CGE-XGigabitEthernet0/0/24]undo port hybrid vlan 1
Info: This operation may take a few seconds. Please wait a moment...done.

[CR03-CGE-XGigabitEthernet0/0/24]port hybrid tagged vlan 21
Info: This operation may take a few seconds. Please wait a moment...done.

[CR03-CGE-XGigabitEthernet0/0/24]quit

[CR03-CGE]interface XGigabitEthernet 0/0/24.500

[CR03-CGE-XGigabitEthernet0/0/24.500]dot1q termination vid 500
Info: This operation may take a few seconds. Please wait a moment...

[CR03-CGE-XGigabitEthernet0/0/24.500]ip address 10.50.0.1 255.255.255.252
                                                                  ^
Error: Unrecognized command found at '^' position.