S6720 - Can't assign an IP address to the sub-interface

Created May 19, 2017 02:08:21Latest reply Sep 16, 2018 19:13:30 1558 4 0 0
  Rewarded E coins: 1 (problem resolved)
This post was last edited by Josivan at 2017-5-19 02:11. Hello, 

I follow this steps  in "8.6 Configuring a Dot1q Termination Sub-interface to Implement Inter-VLAN Communication" avaliable in http://support.huawei.com/enterprise/br/doc/DOC1000112303 but dont work:

The system view is displayed.

interface interface-type interface-number
The interface view is displayed.

port link-type { hybrid | trunk }
The link type of the interface is set.

Exit from the interface view.

interface interface-type interface-number.subinterface-number
The sub-interface view is displayed.

ip address ip-address { mask | mask-length } [ sub ]  !!!!!!!! COMMAND NOT AVALIABLE !!!!!
An IP address is assigned to the sub-interface. 

dot1q termination vid low-pe-vid [ to high-pe-vid ]
Dot1q termination is configured on the sub-interface.

Sub-interfaces of different main interfaces can be associated with the same VLAN, but sub-interfaces of the same main interface cannot be associated with the same VLAN.

arp broadcast enable
  • x
  • convention:

Martian_superman  Moderator   Created Sep 16, 2018 19:13:30 Helpful(0) Helpful(0)

"ip address ip-address { mask | mask-length } [ sub ]" should be configured at a layer 3 interface, so you need to switch the port to layer 3 interface, you can run the command "undo portswitch" to switch to layer 3 interface.
  • x
  • convention:

New_commer  Adept   Created May 19, 2017 14:13:36 Helpful(0) Helpful(0)

what's your device type and software version
  • x
  • convention:

Best answer

Josivan     Created May 20, 2017 00:56:07 Helpful(0) Helpful(0)

>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, 4 hours, 18 minutes

ES5D2S26Q002 0(Master) : uptime is 36 weeks, 6 days, 4 hours, 17 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
  • x
  • convention:

Josivan     Created Jun 01, 2017 04:11:48 Helpful(0) Helpful(0)

I upgrade to V200R009C00SPC500 and IP command works but IPv6 is not avaliable in sub-interface.
  • x
  • convention:


You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top