Public notesSign inGet started

PORT (на охрану)

Edited

Всё должно настраиваться через тм-ку.

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

  • С300:

terminal
//на порту.
ztec300(config)#interface gpon-onu_1/{board}/{spl}:{port}
ztec300(config-if)#tcont 5 profile Ohrana-UP
ztec300(config-if)#gemport 5 name gemport-5 tcont 5
ztec300(config-if)#service-port 5 vport 5 user-vlan 60 vlan 4005 
ztec300(config-if)#dhcpv4-l2-relay-agent enable sport 6
ztec300(config-if)#dhcpv4-l2-relay-agent trust true replace sport 6
ztec300(config-if)#traffic-profile OHRANA vport 5 direction ingress
ztec300(config-if)#traffic-profile OHRANA vport 5 direction egress
ztec300(config-if)#exit
//на модеме.
ztec300(config)#pon-onu-mng gpon-onu_1/{board}/{spl}:{port}
ztec300(gpon-onu-mng 1/2/5:11)#flow 5 switch switch_0/1
ztec300(gpon-onu-mng 1/2/5:11)#flow mode 5 tag-filter vlan-filter untag-filter discard
ztec300(gpon-onu-mng 1/2/5:11)#flow 5 pri 5 vlan 60
ztec300(gpon-onu-mng 1/2/5:11)#gemport 5 flow 5
ztec300(gpon-onu-mng 1/2/5:11)#vlan port eth_0/2 mode tag vlan 60
ztec300(gpon-onu-mng 1/2/5:11)#dhcp-ip ethuni eth_0/2 from-internet
  • С300M:

terminal
//на порту.
ztec300(config)#interface gpon-onu_1/3/2:11
ztec300(config-if)#tcont 6 profile Ohrana-UP
ztec300(config-if)#gemport 6 name gemport-6 tcont 6
ztec300(config-if)#service-port 6 vport 6 user-vlan 60 vlan 4005 new-cos 5 egress OHRANA 
ztec300(config-if)#dhcpv4-l2-relay-agent enable sport 5
ztec300(config-if)#dhcpv4-l2-relay-agent trust true replace sport 5
ztec300(config-if)#exit
//на модеме.
ztec300(config)#pon-onu-mng gpon-onu_1/3/2:11
ztec300(gpon-onu-mng 1/2/5:11)#service Ohrana gemport 6 vlan 60
ztec300(gpon-onu-mng 1/2/5:11)#vlan port eth_0/2 mode tag vlan 60 pri 5
ztec300(gpon-onu-mng 1/2/5:11)#dhcp-ip ethuni eth_0/2 from-internet