Trunk port on Huawei AR2220E

Created: Dec 27, 2017 19:06:02Latest reply: Apr 18, 2018 14:49:25 2171 9 0 0
  Rewarded Hi-coins: 0 (problem resolved)
Friends, tell me please, can i change port type to trunk on the GigabitEthernet0/0/1?

On CLI i write: 
interface GigabitEthernet0/0/1
port link-type trunk
and i see:
Error: Unrecognized command found at '^' position
^ positioned under "trunk"
Has this router possibility to change one of his GigabitEthernet port to trunk type?? 
  • x
  • convention:

Featured Answers
Busy_with_lazy_mind     Created Dec 28, 2017 08:36:02 Helpful(1) Helpful(1)

The GI 0/0/1 just can work as L3 port, can't be switched to L2 port. But it can terminate vlan using sub interface. for example, AR works as gateway, connects with access switch, while you have configured differenet vlans on the swich due to different IP segment.
  • x
  • convention:

All Answers
lucian2003     Created Dec 28, 2017 04:37:07 Helpful(0) Helpful(0)

check if the interface routes, you can check it with ip address x.x.x.x 255.255.255.0 and if it hits you it is because it routes and you have to give a command to be layer 2
  • x
  • convention:

Busy_with_lazy_mind     Created Dec 28, 2017 08:36:02 Helpful(1) Helpful(1)

The GI 0/0/1 just can work as L3 port, can't be switched to L2 port. But it can terminate vlan using sub interface. for example, AR works as gateway, connects with access switch, while you have configured differenet vlans on the swich due to different IP segment.
  • x
  • convention:

Daniel_Ger     Created Jan 9, 2018 18:31:55 Helpful(0) Helpful(0)

correct. You have to use the sub-interface function
On CLI i write: interface GigabitEthernet0/0/1.xxx //xxx is you vlan-number
dot1q termination vid xxx //xxx again you vlan number
arp broadcast enable
  • x
  • convention:

user_2978679     Created Apr 18, 2018 09:33:02 Helpful(0) Helpful(0)

@Daniel_Ger when i write in cli, interface vlan cant up but sub interface up. I cant ping to ip in vlan. I want to set up BGP via vlan
  • x
  • convention:

user_2978679     Created Apr 18, 2018 09:33:07 Helpful(0) Helpful(0)

@Daniel_Ger when i write in cli, interface vlan cant up but sub interface up. I cant ping to ip in vlan. I want to set up BGP via vlan
  • x
  • convention:

user_2978679     Created Apr 18, 2018 09:33:14 Helpful(0) Helpful(0)

@Daniel_Ger when i write in cli, interface vlan cant up but sub interface up. I cant ping to ip in vlan. I want to set up BGP via vlan
  • x
  • convention:

user_2978679     Created Apr 18, 2018 09:33:54 Helpful(0) Helpful(0)

@Daniel_Ger when i write in cli, interface vlan cant up but sub interface up. I cant ping to ip in vlan. I want to set up BGP via vlan
  • x
  • convention:

StarOfWest     Created Apr 18, 2018 14:34:49 Helpful(0) Helpful(0)

Instead of using vlanif interface, you can use subinterface, doing the same thing.
As Daniel_Ger said, configure subinterface in the following way:

interface GigabitEthernet0/0/1.xxx //xxx is you vlan-number
dot1q termination vid xxx //xxx again you vlan number
ip address 192.168.1.1 24 /// for example ; migrate vlanif configuration, here on the subinterface
  • x
  • convention:

“We only get answers to the questions that we ask.” physicist Werner Heisenberg
Daniel_Ger     Created Apr 18, 2018 14:49:25 Helpful(0) Helpful(0)

You have to give the IP address to subinterface.
So on cli you write in the subinterface-view
ip-address x.x.x.x/y
Don't use vlanif for L3 interfaces
  • x
  • convention:

Reply

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

Notice: To protect 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 are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including 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."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top