Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
33e5b794
Commit
33e5b794
authored
Jul 02, 2012
by
Miguel Baizan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test/wrsw_rtud: Fixed bfs-12
parent
c5bbabfc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
3 deletions
+30
-3
bfs-12
test/wrsw_rtud/bfs-12
+23
-3
bfs
test/wrsw_rtud/results/bfs
+7
-0
No files found.
test/wrsw_rtud/bfs-12
View file @
33e5b794
...
...
@@ -15,8 +15,8 @@ echo "----------------------------------------------------------------"
echo
"BFS-12. Create static filtering entry for broadcast MAC address"
echo
"----------------------------------------------------------------"
# 1.
A static filtering entry is created for broadcast MAC address at RTU startup
echo
"# Find
static broadcast entry mac=FF:FF:FF:FF:FF:FF in
filtering database"
# 1.
Find the static broadcast entry
echo
"# Find
the static broadcast entry mac=FF:FF:FF:FF:FF:FF in the
filtering database"
snmptable
$SNMPTAB_FLAGS
\
IEEE8021-Q-BRIDGE-MIB:ieee8021QBridgeStaticMulticastTable |
grep
-i
"FF:FF:FF:FF:FF:FF"
...
...
@@ -24,5 +24,25 @@ if [ $? -ne 0 ];
then
echo
"Not found"
fi
# 2. A frame with destination MAC address FF:FF:FF:FF:FF:FF is sent from eth0
# 2. A static filtering entry is created for the broadcast MAC address
VLAN
=
0
MAC_DEC
=
255.255.255.255.255.255
echo
"# Create a static filtering entry for the broadcast MAC address"
snmpset
$SNMPSET_FLAGS
\
ieee8021QBridgeStaticMulticastRowStatus.1.
$VLAN
.
$MAC_DEC
.0
\
i
$RS_CREATEANDGO
\
ieee8021QBridgeStaticMulticastStaticEgressPorts.1.
$VLAN
.
$MAC_DEC
.0
\
x 0101010101010101010101010101010101010101010101010101010101010101
\
ieee8021QBridgeStaticMulticastForbiddenEgressPorts.1.
$VLAN
.
$MAC_DEC
.0
\
x 0000000000000000000000000000000000000000000000000000000000000000
\
ieee8021QBridgeStaticMulticastStorageType.1.
$VLAN
.
$MAC_DEC
.0
\
i 2
\
# 3. A frame with destination MAC address FF:FF:FF:FF:FF:FF is sent from eth0
swflood ./cfg/bfs-12.cfg
>
/dev/null 2>&1
# Clean-up
snmpset
$SNMPSET_FLAGS
\
ieee8021QBridgeStaticMulticastRowStatus.1.
$VLAN
.
$MAC_DEC
.0
\
i
$RS_DESTROY
>
/dev/null 2>&1
test/wrsw_rtud/results/bfs
View file @
33e5b794
...
...
@@ -165,6 +165,13 @@ BFS-12. Create static filtering entry for broadcast MAC address
----------------------------------------------------------------
# Find static broadcast entry mac=FF:FF:FF:FF:FF:FF in filtering database
Not found
# Create a static filtering entry for the broadcast MAC address
IEEE8021-Q-BRIDGE-MIB::ieee8021QBridgeStaticMulticastRowStatus.1.0.'......'.0 = INTEGER: createAndGo(4)
IEEE8021-Q-BRIDGE-MIB::ieee8021QBridgeStaticMulticastStaticEgressPorts.1.0.'......'.0 = Hex-STRING: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
IEEE8021-Q-BRIDGE-MIB::ieee8021QBridgeStaticMulticastForbiddenEgressPorts.1.0.'......'.0 = Hex-STRING: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IEEE8021-Q-BRIDGE-MIB::ieee8021QBridgeStaticMulticastStorageType.1.0.'......'.0 = INTEGER: volatile(2)
# Send frame (dst=FF:FF:FF:FF:FF:FF, src=22:00:10:00:0C:0C) on eth0
# Expected broadcast
./cfg/bfs-12.cfg:7: failed
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment