The following configuration guidelines must be followed to configure a split horizon group:
When configuring split horizon on a port, it must be configured before creating any SAPs associated with the port.
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 network create
description "Block access between network Ports"
exit
#--------------------------------------------------
7210-SAS1>config#
Configure ports 1/1/4 and 1/1/5 as access ports and associate these ports with split horizon group ‟access”.
7210-SAS1>config#info
#--------------------------------------------------
echo "Port Configuration"
#--------------------------------------------------
port 1/1/4
split-horizon-group access
ethernet
mode access
access
exit
exit
no shutdown
exit
port 1/1/5
split-horizon-group access
ethernet
mode access
access
exit
exit
no shutdown
exit
#--------------------------------------------------
7210-SAS1>config#
Configure ports 1/1/1 and 1/1/3 as network ports and associate these ports with split horizon group ‟network”. The default Ethernet encapsulation for network port is null.
7210-SAS1>config# info
#--------------------------------------------------
echo "Port Configuration"
#--------------------------------------------------
port 1/1/1
split-horizon-group network
ethernet
exit
no shutdown
exit
port 1/1/3
split-horizon-group network
ethernet
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/4 create
exit
sap 1/1/5 create
exit
spoke-sdp 1:1 create
exit
spoke-sdp 2:1 create
exit
no shutdown
exit
...
#--------------------------------------------------