Public notesSign inGet started

PORT (на homewifi)

Edited

Для с300 и с300M есть смысл настраивать только на модемах с профилем ZTEG_F660, на других на модеме не пропишешь настройки.

  • C300:

terminal
//на порту.
ztec300(config)# interface gpon-onu_1/2/2:5
ztec300(config-if)# tcont 7 profile HomeWiFi-UP
ztec300(config-if)#gemport 7 name gem7 tcont 7
ztec300(config-if)#service-port 7 vport 7 user-vlan 30 vlan 4004
ztec300(config-if)#port-identification format DSL-FORUM-PON sport 7
ztec300(config-if)#dhcpv4-l2-relay-agent enable sport 7
ztec300(config-if)#dhcpv4-l2-relay-agent trust true replace sport 7
ztec300(config-if)#exit
//на модеме.
ztec300(config)# pon-onu-mng gpon-onu_1/2/2:5
ztec300(gpon-onu-mng 1/2/2:5)#flow 7 switch switch_0/1
ztec300(gpon-onu-mng 1/2/2:5)#flow mode 7 tag-filter vlan-filter untag-filter discard
ztec300(gpon-onu-mng 1/2/2:5)#flow 7 pri 0 vlan 30
ztec300(gpon-onu-mng 1/2/2:5)#gemport 7 flow 7
ztec300(gpon-onu-mng 1/2/2:5)#switchport-bind switch_0/1 wifi wifi_0/2
ztec300(gpon-onu-mng 1/2/2:5)#switchport-bind switch_0/1 iphost 1
ztec300(gpon-onu-mng 1/2/2:5)#switchport-bind switch_0/1 iphost 2
ztec300(gpon-onu-mng 1/2/2:5)# switchport-bind switch_0/1 iphost 3
ztec300(gpon-onu-mng 1/2/2:5)#ip-host 2 dhcp-enable enable ping-response enable traceroute-response enable
ztec300(gpon-onu-mng 1/2/2:5)# ip-host 3 dhcp-enable enable ping-response enable traceroute-response enable
ztec300(gpon-onu-mng 1/2/2:5)# vlan-filter-mode wifi wifi_0/2 tag-filter vlan-filter untag-filter discard
ztec300(gpon-onu-mng 1/2/2:5)#vlan-filter wifi wifi_0/2 pri 0 vlan 30
ztec300(gpon-onu-mng 1/2/2:5)# onu-vlan wifi wifi_0/2 up-mode add up-pri 0 up-vlan 30 down-mode untag
  • C300M:

terminal
//на порту.
ztec300(config)# interface gpon-onu_1/12/15:13
ztec300(config-if)#tcont 3 profile HomeWiFi-UP
ztec300(config-if)#gemport 3 name gemport-3 tcont 3
ztec300(config-if)#service-port 3 vport 3 user-vlan 30 vlan 4004 new-cos 4 egress HOMEWIFI-DOWN
ztec300(config-if)#exit
//на модеме.
ztec300(config)#pon-onu-mng gpon-onu_1/12/15:13
ztec300(gpon-onu-mng 1/2/2:5)#service HomeWifi gemport 3 vlan 30
ztec300(gpon-onu-mng 1/2/2:5)#vlan port wifi_0/2 mode tag vlan 30 pri 1