Technologie informatyczne chico.net.pl

Po prostu technologie...

Vlany tagowane i nietagowane na ONT Huawei 8010

Vlany tagowane i nietagowane na ONT Huawei 8010

W dzisiejszym wpisie chciałbym pokrótce opisać sposób w jaki można skonfigurować vlany tagowane(trunk) i nietagowane(access) na ONT Huawei 8010. Na tym ONT nie można uruchomić NAT’a, serwera DHCP. Ma tylko jeden port eth(gigabitowy). Słowem nie można z niego zrobić routera.

ONT 8010

ONT 8010

Po tym krótkim wstępie przedstawię konfigurację profili ont-srvprofile i ont-lineprofile pod vlany tagowane:
1. ont-srvprofile:

ont-srvprofile gpon profile-id 1500 profile-name VLANY_TAGOWANE
  ont-port pots 2 eth 4 catv 1
  multicast mode igmp-snooping
  port vlan eth 1 translation 707 user-vlan 707
  port vlan eth 1 translation 706 user-vlan 706
  port vlan eth 1 translation 705 user-vlan 705
  port vlan eth 1 translation 704 user-vlan 704
  commit
  quit

2. ont-lineprofile:

ont-lineprofile gpon profile-id 1500 profile-name VLANY_TAGOWANE
  tcont 1 dba-profile-id 100
  gem add 1 eth tcont 1
  gem mapping 1 0 vlan 707
  gem mapping 1 1 vlan 706
  gem mapping 1 2 vlan 705
  gem mapping 1 3 vlan 704
  commit
  quit

3. Dopisywanie ONT standardowo:

ont add 7 18 sn-auth 48575443C70XXXXX omci ont-lineprofile-id 1500 ont-srvprofile-id 1500 desc VLANY_TAGOWANE_707_706_705_704

4. Service-port’y dla ONT:

service-port vlan 707 gpon 0/0/7 ont 18 gemport 1 multi-service user-vlan  707 tag-transform translate

service-port vlan 706 gpon 0/0/7 ont 18 gemport 1 multi-service user-vlan  706 tag-transform translate

service-port vlan 705 gpon 0/0/7 ont 18 gemport 1 multi-service user-vlan  705 tag-transform translate

service-port vlan 704 gpon 0/0/7 ont 18 gemport 1 multi-service user-vlan  704 tag-transform translate

Po takiej operacji mamy na eth1 ONT’a vlany tagowane 704, 705, 706, 707.

Jak skonfigurować vlany nietagowane przedstawiam poniżej:

1. ont-srvprofile:

ont-srvprofile gpon profile-id 300 profile-name VLAN_300_NIETAGOWANY
  ont-port pots 2 eth 4 catv 1
  multicast mode igmp-snooping
  port vlan eth 1 translation 300 user-vlan 300
  port vlan eth 2 translation 300 user-vlan 300
  port vlan eth 3 translation 300 user-vlan 300
  port vlan eth 4 translation 300 user-vlan 300
  commit
  quit

2. ont-lineprofile:

 ont-lineprofile gpon profile-id 290 profile-name VLAN_300_NIETAGOWANY
  tcont 1 dba-profile-id 100
  gem add 1 eth tcont 1
  gem mapping 1 0 vlan 300
  commit
  quit

3. Dopisywanie ONT standardowo:

 ont add 7 17 sn-auth 4857544349XXXXX omci ont-lineprofile-id 300 ont-srvprofile-id 300 desc VLAN_300_NIETAGOWANY

4. Dodanie obsługi vlanu w trybie access:

ont port native-vlan 7 17 eth 1 vlan 300 priority 0

5. Service-port dla ONT:

service-port vlan 290 gpon 0/0/7 ont 17 gemport 1 multi-service user-vlan  290 tag-transform translate
traffic-table index 100

ONT 8010

ONT 8010

Updated: 15 lipca 2015 — 12:11:38

4 komentarze

Add a Comment
  1. Witaj. Jak puścić tagowany vlan 1? Sama próba stworzenia vlanu 1 zwraca „Failure: The VLAN is the system default VLAN”.

    1. Witaj,
      Nie da się vlana „1” puścić. Ogólnie nie polecam używania tego vlanu nigdzie. To niedobry vlan jest 🙂

      1. O kurcze… 1 to u mnie vlan zarządzający. Potrzebuję mieć dostęp do urządzeń które są za onu właśnie w pierwszym vlanie. Czy nie da się tego jakoś ominąć?

  2. Czy wiesz jak zmienić MTU na ONT Huawei 8010 ?

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany.

Technologie informatyczne chico.net.pl © 2023 Frontier Theme