The following configuration guidelines must be followed to configure a split horizon group:
Create a split horizon group in the config prompt. The group name must be unique across the system.
7210-SAS1>config#info
#--------------------------------------------------
echo "Split-horizon-group Configuration"
#--------------------------------------------------
split-horizon-group access create
description ‟Block access between access Ports”
split-horizon-group access-uplink create
description "Block access between access-uplink Ports"
exit
#--------------------------------------------------
7210-SAS1>config#
Associate ports 1/1/4 and 1/1/5 with split horizon group ‟access” By default all ports are access ports. The default Ethernet encapsulation for access port is ‟null”.
7210-SAS1>config#info
#--------------------------------------------------
echo "Port Configuration"
#--------------------------------------------------
port 1/1/4
split-horizon-group access
ethernet
exit
no shutdown
exit
port 1/1/5
split-horizon-group access
ethernet
exit
no shutdown
exit
#--------------------------------------------------
7210-SAS1>config#
Configure ports 1/1/1 and 1/1/3 as access uplink and associate these ports with split horizon group ‟access-uplink” default Ethernet encapsulation for access uplink port is ‟qinq”.
7210-SAS1>config# info
#--------------------------------------------------
echo "Port Configuration"
#--------------------------------------------------
port 1/1/1
split-horizon-group access-uplink
ethernet
mode access uplink
exit
no shutdown
exit
port 1/1/3
split-horizon-group access-uplink
ethernet
mode access uplink
exit
no shutdown
exit
#--------------------------------------------------
7210-SAS1>config#
Create a VPLS instance 100.
#--------------------------------------------------
echo "Service Configuration"
#--------------------------------------------------
service
customer 2 create
exit
vpls 100 customer 2 create
stp
shutdown
exit
sap 1/1/1:100.* create
exit
sap 1/1/3:100.* create
exit
sap 1/1/4 create
exit
sap 1/1/5 create
exit
no shutdown
exit
...
#--------------------------------------------------
A split horizon on a port must be configured before creating any SAPs associated with that port.