HP StorageWorks 8/80 Brocade Converged Enhanced Ethernet Administrator's Guide - Page 117

Applying a MAC ACL to a CEE interface, CEE interface in the ingress direction.

Page 117 highlights

ACL configuration and management 8 To reorder the rules in a MAC ACL, perform the following task from Privileged EXEC mode. 1. Enter the resequence command to assign sequence numbers to the rules contained in the MAC ACL. Example switch#resequence access-list mac test_02 50 5 Applying a MAC ACL to a CEE interface Ensure that the ACL that you want to apply exists and is configured to filter traffic in the manner that you need for this CEE interface. An ACL does not take effect until it is expressly applied to an interface using the access-group command. Frames can be filtered as they enter an interface (ingress direction). To apply a MAC ACL to a CEE interface, perform the following steps from Privileged EXEC mode. 1. Enter the configure terminal command to enter global configuration mode. 2. Enter the interface command to specify the CEE interface type and slot/port number. Example of selecting the Ten Gigabit Ethernet port number 0/1. switch(config)#interface tengigabitethernet 0/1 3. Enter the switchport command to configure the interface as a Layer 2 switch port. 4. Enter the mac-access-group command to specify the MAC ACL that is to be applied to the Layer 2 CEE interface in the ingress direction. Example switch(conf-if-te-0/1)#mac access-group test_02 in Applying a MAC ACL to a VLAN interface Ensure that the ACL that you want to apply exists and is configured to filter traffic in the manner that you need for this VLAN interface. An ACL does not take effect until it is expressly applied to an interface using the access-group command. Frames can be filtered as they enter an interface (ingress direction). To apply a MAC ACL to a VLAN interface, perform the following steps from Privileged EXEC mode. 1. Enter the configure terminal command to enter global configuration mode. 2. Enter the interface command to apply the VLAN interface to the MAC ACL. Example switch(config)#interface vlan 50 3. Enter the mac-access-group command to specify the MAC ACL that is to be applied to the VLAN interface in the ingress direction. Example switch(conf-if-vl-82)# mac access-group test_02 in Converged Enhanced Ethernet Administrator's Guide 97 53-1001346-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162

Converged Enhanced Ethernet Administrator’s Guide
97
53-1001346-01
ACL configuration and management
8
To reorder the rules in a MAC ACL, perform the following task from Privileged EXEC mode.
1.
Enter the
resequence
command to assign sequence numbers to the rules contained in the
MAC ACL.
Example
switch#
resequence access-list mac test_02 50 5
Applying a MAC ACL to a CEE interface
Ensure that the ACL that you want to apply exists and is configured to filter traffic in the manner
that you need for this CEE interface. An ACL does not take effect until it is expressly applied to an
interface using the
access-group
command. Frames can be filtered as they enter an interface
(ingress direction).
To apply a MAC ACL to a CEE interface, perform the following steps from Privileged EXEC mode.
1.
Enter the
configure terminal
command to enter global configuration mode.
2.
Enter the
interface
command to specify the CEE interface type and slot/port number.
Example of selecting the Ten Gigabit Ethernet port number 0/1.
switch(config)#
interface tengigabitethernet 0/1
3.
Enter the
switchport
command to configure the interface as a Layer 2 switch port.
4.
Enter the
mac-access-group
command to specify the MAC ACL that is to be applied to the Layer
2 CEE interface in the ingress direction.
Example
switch(conf-if-te-0/1)#
mac access-group test_02 in
Applying a MAC ACL to a VLAN interface
Ensure that the ACL that you want to apply exists and is configured to filter traffic in the manner
that you need for this VLAN interface. An ACL does not take effect until it is expressly applied to an
interface using the
access-group
command. Frames can be filtered as they enter an interface
(ingress direction).
To apply a MAC ACL to a VLAN interface, perform the following steps from Privileged EXEC mode.
1.
Enter the
configure terminal
command to enter global configuration mode.
2.
Enter the
interface
command to apply the VLAN interface to the MAC ACL.
Example
switch(config)#
interface vlan 50
3.
Enter the
mac-access-group
command to specify the MAC ACL that is to be applied to the VLAN
interface in the ingress direction.
Example
switch(conf-if-vl-82)# mac access-group test_02 in