Got it

VLAN configuration on the OLT (1) Highlighted

Latest reply: Sep 25, 2021 06:42:41 844 32 18 0 0


Hello, everyone!



Today, I will show you the main commands for display and configuration VLANs on the OLT. This is the first article about this theme. Let`s get started.



1. Commands for creating VLAN and definition type and attribute of VLAN


The command for definition type of VLAN:


TEST(config)#vlan [VLANID] [type of VLAN]


TEST(config)#vlan 600 smart


The type of VLAN can be: standard, smart, MUX or original.


The command for definition attribute of VLAN:


TEST(config)#vlan attrib [VLANID] [attribute of VLAN]


TEST(config)#vlan attrib 600 QinQ


The attribute of VLAN can be: common, QinQ or stacking.


Or we can create multiple VLAN with one command:


TEST(config)#vlan [VLANID] to [VLANID] [type of VLAN]


TEST(config)#vlan 1000 to 1005 smart

It will take several minutes, and console may be timeout, please use command

idle-timeout to set time limit

Are you sure to add VLANs? (y/n)[n]:y

The total of the VLANs having been processed is 6

The total of the added VLANs is 5


The same command is for the attribute of VLANs for multiple VLANs.


TEST(config)#vlan attrib [VLANID] to [VLANID] [attribute of VLAN]



2. Commands for delete VLAN:


TEST(config)#undo vlan 600

{ <cr>|to<K> }:


Command:

undo vlan 600


If we want to delete multiple VLAN, we can use the next command:


TEST(config)#undo vlan 1000 to 1005

It will take several minutes, and console may be timeout, please use command

idle-timeout to set time limit

Are you sure to delete VLANs? (y/n)[n]:y

The total of the VLANs having been processed is 6

The total of the deleted VLAN(s) is 6



3. Command for description operation of VLAN:


TEST(config)#vlan desc 400 description MNG


This command is an option. We can use this command, if we want shortly explain operation.



4. Command for display all configured VLANs


TEST(config)#display vlan all

{ <cr>|vlanattr<K>|vlantype<E><mux,standard,smart,super>||<K> }:


Command:

display vlan all

-----------------------------------------------------------------------

VLAN  Type      Attribute  STND-Port NUM   SERV-Port NUM  VLAN-Con NUM

-----------------------------------------------------------------------

1  smart     common                 8               0             -

400  smart     common                 8            1048             -

500  smart     common                 8            1050             -

600  smart     common                 8             242             -

-----------------------------------------------------------------------

Total: 4

Note : STND-Port--standard port, SERV-Port--service virtual port,

VLAN-Con—vlan-connect


We can see all configured VLANs in the system, with information such as ID, type, attribute, number of standard ports, number of services virtual ports and number of VLAN connections.



5. The next command shows us only reserved VLANs in the system:


TEST(config)#display vlan reserve

{ <cr>||<K> }:


Command:

display vlan reserve

The start activated reserved VLAN ID : 4079

The start configured reserved VLAN ID : 4079

The number of reserved VLAN IDs : 15


With this command, we can see activated reserved VLAN, configured reserved VLAN and the number of reserved VLAN.



6. We can see detail about VLAN with the next command:


TEST(config)#display vlan 400

{ <cr>|inner-vlan<K>|to<K>||<K> }:


Command:

display vlan 400

VLAN ID: 400

VLAN name: VLAN_0400

VLAN type: smart

VLAN attribute: common

VLAN description:

VLAN forwarding mode in control board: VLAN-MAC

VLAN forwarding mode: VLAN-MAC

VLAN broadcast packet forwarding policy: forward

VLAN unknown multicast packet forwarding policy: forward

VLAN unknown unicast packet forwarding policy: forward

VLAN bind service profile ID: -

VLAN bind RAIO profile index: -

VLAN priority: -

-------------------------------

F /S /P     Native VLAN  State

-------------------------------

0 /8 /0               1  down

0 /8 /1               1  down

0 /8 /2               1  down

0 /8 /3               1  down

0 /9 /0               1  up

0 /9 /1               1  down

0 /9 /2               1  down

0 /9 /3               1  down

-------------------------------

Standard port number: 8

---------------------------------------------------------------------------

INDEX  TYPE  STATE F /S /P   VPI  VCI   FLOWTYPE FLOWPARA   CVLAN

---------------------------------------------------------------------------

1  gpon  up    0 /12/7   0    40    vlan     400        -

5  gpon  up    0 /3 /0   1    40    vlan     400        -

7  gpon  up    0 /10/0   0    40    vlan     400        -

...


This command shows us many information about VLAN: name, ID, type, attribute and description of VLAN. Then, we can see the state of ports on the control boards, etc.



Thank you!

The post is synchronized to: Author groupVlada85's Author Collection

Well done! My friend!
View more
  • x
  • convention:

Vlada85
Vlada85 Created Aug 24, 2021 08:58:46 (0) (0)
Thank you, my friend!  
andersoncf1
MVE Author Created Aug 24, 2021 09:38:01

Well done my friend
View more
  • x
  • convention:

Vlada85
Vlada85 Created Aug 24, 2021 16:32:13 (1) (0)
Thank you very much!  
Well done! As always, keep up the good work!
View more
  • x
  • convention:

Vlada85
Vlada85 Created Aug 24, 2021 16:32:24 (0) (0)
Thank you very much!  
Sara_Obaid
Moderator Created Aug 24, 2021 09:52:54

Good share on the main commands for display and configuration VLANs on the OLT
View more
  • x
  • convention:

Vlada85
Vlada85 Created Aug 24, 2021 16:32:34 (0) (0)
Thank you very much!  
Good share
View more
  • x
  • convention:

Vlada85
Vlada85 Created Aug 24, 2021 16:32:42 (0) (0)
Thank you very much!  
Nice one
View more
  • x
  • convention:

Vlada85
Vlada85 Created Aug 24, 2021 16:32:51 (0) (0)
Thank you very much!  
Diego.Silva
MVE Author Created Aug 24, 2021 14:25:20

Very useful! Thank you for sharing my good friend!
View more
  • x
  • convention:

Vlada85
Vlada85 Created Aug 24, 2021 16:33:13 (0) (0)
Thank you very much! Thank you for support!  
good share
View more
  • x
  • convention:

Vlada85
Vlada85 Created Aug 24, 2021 16:33:22 (0) (0)
Thank you very much!  
Good post
View more
  • x
  • convention:

Vlada85
Vlada85 Created Aug 24, 2021 16:34:13 (1) (0)
Thank you very much!  
Faridrami
Faridrami Reply Vlada85  Created Aug 25, 2021 16:20:34 (0) (0)
 
12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.