C300 OLT自动下发WAN连接指导配置

1、添加OLT卡槽,卡板等基本信息

add-rack rackno 1 racktype IEC19
add-shelf rackno 1 shelfno 1 shelftype IEC_SHELF
add-card rackno 1 shelfno 1 slotno 0 PRWG
add-card rackno 1 shelfno 1 slotno 1 PRWG
add-card rackno 1 shelfno 1 slotno 4 ETGO
add-card rackno 1 shelfno 1 slotno 8 GTGO
add-card rackno 1 shelfno 1 slotno 12 ETGO
add-card rackno 1 shelfno 1 slotno 14 GTGO
add-card rackno 1 shelfno 1 slotno 15 GTGO
add-card rackno 1 shelfno 1 slotno 19 GUSQ
add-card rackno 1 shelfno 1 slotno 20 GUFQ
  1. 创建vlan信息

    vlan database
    vlan 1,100,141,200

//创建组播vlan时下面命令会自动创建,不需要手动配置

vlan 200
  multicast-packet drop-unknown

3、配置EPON相关模版信息

//EPON 自动下发WAN连接 配置时调用的模版

epon
  wan-general-profile 125E mode route service internet tag-mode tag tpid 0x8100 vid 200 priority 1 ip-mode ipv4 
!
  1. 开启全局IGMP使能,配置组播组,组播vlan

    igmp enable
    igmp mvlan 200
    igmp mvlan 200 group 225.1.1.1 to 225.1.1.10
    igmp mvlan 200 group 225.1.1.2 prejoin enable(可选)
    mld disable(关于ipv6的组播)

  2. 创建DBA带宽模版

    gpon
    profile tcont UP-100M type 1 fixed 102400

6.创建 GPON 下发WAN连接时调用的模版配置

gpon
  onu profile ip ip_profile static gateway 192.168.88.1 primary-dns 192.168.88.1
  onu profile vlan v100 tag-mode tag cvlan 100
!

7.创建ONU-type信息

pon
  onu-type ZTE-EPON127 epon
  onu-type ZTE-F660 gpon
  onu-type ZTE-F660 gpon description 4GE_1POTS_2.4WIFI
  onu-type ZTE-F660 gpon max-tcont 7
  onu-type ZTE-F660 gpon max-gemport 32
  onu-type ZTE-F660 gpon max-switch-perslot 1
  onu-type ZTE-F660 gpon max-flow-perswitch 32
  onu-type ZTE-F660 gpon max-iphost 8
  onu-type-if ZTE-EPON127 eth_0/1
  onu-type-if ZTE-EPON127 eth_0/2
  onu-type-if ZTE-EPON127 eth_0/3
  onu-type-if ZTE-EPON127 eth_0/4
  onu-type-if ZTE-EPON127 pots_0/1
  onu-type-if ZTE-F660 eth_0/1
  onu-type-if ZTE-F660 eth_0/2
  onu-type-if ZTE-F660 eth_0/3
  onu-type-if ZTE-F660 eth_0/4
  onu-type-if ZTE-F660 pots_0/1

8、 EPON ONU注册

interface epon-olt_1/4/1
  p2p mode group
  onu 1 type ZTE-EPON127 mac 5cc7.d700.b780 ip-cfg static
!

interface epon-onu_1/4/1:1
  admin enable
  ems-autocfg-request disable
  encrypt direction downstream  enable  vport 1
  switchport mode hybrid vport 1
  service-port 1 vport 1 user-vlan 100 vlan 100
  service-port 2 vport 1 user-vlan 200 vlan 200
!
  1. GPON ONU注册

    interface gpon-olt_1/15/1
    onu 1 type ZTE-F660 sn AZGPD72C6661
    !

  2. 创建Tcont,Gemport及业务虚端口

interface gpon-onu_1/15/1:1
sn-bind enable sn
tcont 1 profile UP-100M
tcont 2 profile UP-100M
gemport 1 unicast tcont 1 dir both
gemport 2 unicast tcont 2 dir both
switchport mode hybrid vport 1
switchport mode hybrid vport 2
service-port 1 vport 1 user-vlan 100 vlan 100 (Internet业务)
service-port 2 vport 2 user-vlan 200 vlan 200 (组播业务)

interface gei_1/19/1
  hybrid-attribute copper
  negotiation auto
  flowcontrol disable
  port-protect disable
  uplink-isolate disable
  **switchport mode hybrid
  switchport default vlan 200**
!
interface gei_1/19/2
  hybrid-attribute copper
  negotiation auto
  flowcontrol disable
  port-protect disable
  uplink-isolate disable
  **switchport mode hybrid
  switchport default vlan 100**
!

9.全局模式下设置组播源端口和接收组播组接口

igmp  mvlan 200 source-port gei_1/19/1
igmp  mvlan 200 receive-port epon-onu_1/4/1:1 vport 1
igmp  mvlan 200 receive-port gpon-onu_1/15/1:1 vport 2

10.远程GPON ONU 配置

pon-onu-mng gpon-onu_1/15/1:1
  service 1 gemport 1 vlan 100
  service 2 gemport 2 vlan 200
  wan-ip 1 mode dhcp vlan-profile v100 host 1  (远程下发DHCPWAN连接)
  wan-ip 2 mode pppoe mode chap username 7777 password 7777 vlan-profile v100 host 2   (远程下发PPPoEWAN连接)
  //配置组播vlan过滤规则
  vlan port eth_0/1 mode transparent
  multicast vlan add vlanlist 200
  multicast vlan tag-strip port eth_0/1 enable
!
  1. 远程EPOn ONU下发WAN连接配置

    pon-onu-mng epon-onu_1/4/1:1
    auto-config
    wan 1 general-profile 125E
    wan 2 general-profile 125E
    wan 1 ipv4 dhcp
    wan 2 ipv4 pppoe auth-mode chap username 1111 password 1111 proxy-user disable
    //配置组播vlan过滤规则
    vlan port eth_0/1 mode transparent
    multicast vlan add vlanlist 200
    multicast vlan tag-strip port eth_0/1 enable
    !

猜你喜欢

转载自blog.csdn.net/weixin_42353331/article/details/86062709
300
今日推荐