Перейти к содержимому
Калькуляторы
Добрый день!
Подскажите будет работать такой конфиг.?
Пробую Vlan на абонента.
 
#display current-configuration
{ <cr>|ont<K>|port<K>|section<K>|service-port<K>|simple<K>||<K> }:
 
  Command:
          display current-configuration
[MA5600V800R015: 5800]
#
[sysmode]
  <sysmode>
 switch adsl mode to rfc2662 vdsl mode to tr129
 xpon mode switch-to profile-mode
 voice-spec set vag-num 8
 voice-spec set sip-account-num 2048
 protocol support h248
 system ex-mode backup
 router mode basic
#
[global-config]
  <global-config>
 sysname Bir_GPON_5608T
 terminal user name buildrun_new_password root *J$1a$@NL]#-IYhH$244_RkpH6HpnvT+ 9x4@7r:X,5o;56H`)a**z&Z^+$* 7 0000:00:00
:00:00:00 0000:00:00:00:00:00 root 1 "
-----" 0
 terminal user name buildrun_new_password ansanz *[$1a$JS4]C1WjSW$HYx4%rJ.K'
3JLH/=56T2YErP<(lU/<!Q&w4kYb5Q$* 0 2017:11:23:10:17:36 2017:11:23:10:17:36 root 2 "Admin" 0
 dba-profile add profile-id 20 profile-name "dba-profile_20" type4 max 1024000
 ont-srvprofile gpon profile-id 0 profile-name "srv-profile_default_0"
  ont-port eth 1
  port vlan eth 1 translation 100 user-vlan 100
  commit
 ont-srvprofile gpon profile-id 100 profile-name "srv-profile_100"
  ont-port eth 1
  port vlan eth 1 translation 100 user-vlan 100
  commit
 ont-srvprofile gpon profile-id 101 profile-name "srv-profile_101"
  ont-port eth 1
  port vlan eth 1 translation 101 user-vlan 101
  commit
 ont-lineprofile gpon profile-id 0 profile-name "line-profile_default_0"
  tcont 0 dba-profile-id 2
  tcont 1 dba-profile-id 0
  commit
  quit
 ont-lineprofile gpon profile-id 100 profile-name "LINE_GPON"
  tcont 4 dba-profile-id 0
  gem add 100 eth tcont 4
  gem mapping 100 0 vlan 100
  commit
  quit
 ont-lineprofile gpon profile-id 101 profile-name "line-profile_101"
  tcont 4 dba-profile-id 20
  gem add 101 eth tcont 4
  gem mapping 101 0 vlan 101
  commit
  quit
#
[device-config]
  <device-config>
 board add 0/1 H807GPBH
 board add 0/4 H801MPWC
 board add standby sub0 CPCA
#
[public-config]
  <public-config>
 snmp-agent local-engineid 800007DB03BC9C31B8321001
#
[vlan-config]
  <vlan-config>
 vlan 100 to 102 smart
 vlan desc 100 description "TEST1"
 vlan desc 101 description "TEST2"
 port vlan 100 to 101 0/2 0
 port vlan 100 to 101 0/2 1
 port vlan 100 to 101 0/2 2
 port vlan 100 to 101 0/2 3
#
[mcu]
  <mcu-0/2>
interface mcu 0/2
 mdi 0 normal
 speed 0 1000
 speed 1 1000
 speed 2 1000
 mdi 3 normal
 speed 3 1000
#
[gpon]
  <gpon-0/1>
 interface gpon 0/1
 port 0 ont-auto-find enable
 port 1 ont-auto-find enable
 port 2 ont-auto-find enable
 port 3 ont-auto-find enable
 port 4 ont-auto-find enable
 port 5 ont-auto-find enable
 port 6 ont-auto-find enable
 port 7 ont-auto-find enable
 ont add 0 0 sn-auth "48575443AE25B484" omci ont-lineprofile-id 100
ont-srvprofile-id 0 desc "TEST1"
 ont add 0 1 sn-auth "48575443E9AF8547" omci ont-lineprofile-id 101
ont-srvprofile-id 101 desc "ONT_NO_DESCRIPTION"
 ont port native-vlan 0 0 eth 1 vlan 100 priority 0
 ont port native-vlan 0 1 eth 1 vlan 101 priority 0
#
[emu-config]
  <emu-config>
 emu add 0 fan 0 1  "H831FCBB"
#
[bbs-config]
  <bbs-config>
 service-port 100 vlan 100 gpon 0/1/0 ont 0 gemport 100 multi-service user-vlan 100 user-encap ipoe tag-transform transl
ate
 service-port 101 vlan 101 gpon 0/1/0 ont 1 gemport 101 multi-service user-vlan 101 user-encap ipoe tag-transform transl
ate
#
[config]
  <config>
 mpls label start 8192
#
[meth]
  <meth0>
interface meth0
 ip address 172.17.1.112 255.255.255.0
#
[null]
  <null0>
interface null0
#
[aaa]
  <aaa>
aaa
 authentication-scheme "default"
 #
 authorization-scheme "default"
 #
 accounting-scheme "default"
 #
 domain "default"
 #
[post-system]
  <post-system>
ip route-static 0.0.0.0 0.0.0.0 172.17.1.1
 undo ssh server compatible_ssh1x
 ssh user root authentication-type password
 ssh user ansanz authentication-type password
#
return
.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 смайлов.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.