Chapter14AccessSecurityConguration
ZXAN(config)#interfacegpon-onu_1/5/1:2
ZXAN(config-if)#ip-source-guardip-limitipv42ipv64
3.ConguretheserviceportVLAN.
ZXAN(config-if)#service-port1vport1user-vlan100vlan200
4.EnabletheIPsourceguardontheserviceport.
ZXAN(config-if)#ip-source-guardenablesport1
5.ConguretheIPv4DHCPsnoopingstaticbinding.
ZXAN(config-if)#ipdhcpsnoopingbinding1.1.1.2sport1
6.ConguretheIPv6DHCPsnoopingstaticbinding.
ZXAN(config-if)#ipv6dhcpsnoopingbindingmac-address2365.1498.23692001::ff01
ipv6-mask128sport1
7.(Optional)QuerytheIPsourceguardstatus.
ZXAN(config)#showip-source-guard
globalip-source-guardstatus:enable
8.(Optional)QuerytheIPv4DHCPsnoopingstaticbinding.
ZXAN(config-if)#showipdhcpsnoopingstaticportgpon-onu_1/5/1:2
PortSportIP-addrMAC-addr
gpon-onu_1/5/1:211.1.1.20000.0000.0000
9.(Optional)QuerytheIPv6DHCPsnoopingstaticbinding.
ZXAN(config-if)#showipv6dhcpsnoopingstaticportgpon-onu_1/5/1:2
PortSportIPv6-addrMaskMAC-addr
gpon-onu_1/5/1:212001::ff011282365.1498.2369
–EndofSteps–
14.6ConguringMFF
ThissectiondescribeshowtocongureMFFtoimplementlayer-3interworkingbetween
subscribersandpreventmaliciousattacks.
Context
TheMACforcedforwarding(MFF)functionprohibitsinterworkingbetweentwosubscribers
inthesamesubnetandforcedlyforwardstheupstreamowsofthesubscriberstothe
gateway.Thegatewaythenforwardstheowstoimplementlayer-3interworkingbetween
subscribers.Thegatewaycananalyzetrafcbetweensubscriberstopreventmalicious
attacks.
Steps
1.EnableMFF .
ZXAN(config)#ip-servicemac-forced-forwardingenable
14-13
SJ-20130520164529-007|2013-06-30(R1.0)ZTEProprietaryandCondential