通信人家园

标题: 互联网专线双层VLAN 配置脚本  [查看完整版帖子] [打印本页]

时间:  2025-9-12 21:10
作者: xubh19     标题: 互联网专线双层VLAN 配置脚本

中兴BRAS
interface smartgroup7.3300800
  description JiaRunQiChe-303DIA14978929
$
!</if-intf>
!<vlan>
vlan-configuration
  interface smartgroup7.3300800
    user-dynamic-vlan any-other-qinq
    qinq range internal-vlan-range 800 external-vlan-range 3300
  $
$
!</vlan>
!<interface-performance>
intf-statistics
  interface smartgroup7.3300800
    traffic-statistics enable
  $
$
!</interface-performance>
!<uim>
vcc-configuration
  interface smartgroup7.3300800
    encapsulation ip-over-ethernet
  $
$
!</uim>


ip-host description JiaRunQiChe-303DIA14978929 112.132.162.113 smartgroup7.3300800 vlan 3300 sec-vlan 800 author-temp-name JTZNSX-30M group-user




华为BRAS
interface Eth-Trunk13.3300800
description GuoYuanZhengQuan-20030391593
statistic enable
user-vlan 800 qinq 3300
qos-profile JTZNSX-100M inbound identifier none
qos-profile JTZNSX-100M outbound identifier none
bas
#
  access-type layer2-subscriber default-domain authentication nms
  authentication-method bind
  ip-trigger
  arp-trigger
#
#

static-user guoyuanzhengquan-20030391593 112.132.160.9 112.132.160.12 gateway 112.132.160.1 interface Eth-Trunk13.3300800 vlan 800 qinq 3300 domain-name nms detect










中兴C600-ONU

interface gpon_onu-1/7/15:16                                                      
  real-speed gpon                                                                 
  tcont 1 profile UP-200M                                                         
  sn-bind disable                                                                 
  gemport 1 tcont 1                                                               
$                                                                                 
pon-onu-mng gpon_onu-1/7/15:16                                                   
  service Tl1DefaultCreate gemport 1                                             
  vlan port eth_0/1 mode tag vlan 800                                             
  vlan port eth_0/2 mode tag vlan 801                                             

interface vport-1/7/15.16:1                                                      
  service-port 1 user-begin-vlan 800 user-end-vlan 801 svlan 3300                 
$                                                                                 
!</MSAN>                                                                          



中兴C600-光猫

interface gpon_onu-1/8/7:11                                                                                                                     
  tcont 1  profile UP-200M                                       
  sn-bind disable                                                
  gemport 1  tcont 1                                             
$                                                               
pon-onu-mng gpon_onu-1/8/7:11                                    
  service Tl1DefaultCreate gemport 1                             
  vlan port eth_0/1 mode tag vlan 800                           
  vlan port veip_1 mode trunk                                    
  vlan port veip_1 vlan 800                                      
$                                                               
!</xpon>                                                         

interface vport-1/8/7.11:1                                       
  service-port 1 user-vlan 800 vlan 800 svlan 3300               

$                                                               
!</MSAN>  


时间:  2025-9-12 21:57
作者: 不吹不黑

翻译过来啊




通信人家园 (https://www.txrjy.com/) Powered by C114