114
interface vlan 2
ip access-group AAA in layer2-forwarding
ip access-group AAA in layer3-forwarding
ip access-list extended AAA
10 permit tcp any any
20 deny udp any any
In this example, access list
AAA
is created and applied inbound
on Ethernet interface 1/1, and access list
BBB
is created and
applied inbound on Ethernet interface 1/2.
interface gigabitethernet 1/1
ip access-group AAA in layer2-forwarding
interface gigabitethernet 1/2
ip access-group BBB in layer2-forwarding
ip access-list extended AAA
10 permit tcp any any
20 deny udp any any
ip access-list extended BBB
10 permit udp any any
20 deny tcp any any
2
2
In this example, access list
AAA
is created and applied inbound
on Ethernet interface 1/1, and access list
BBB
is created and
applied outbound on Ethernet interface 1/1.
interface gigabitethernet 1/1
ip access-group AAA in layer2-forwarding
ip access-group BBB out layer2-forwarding
ip access-list extended AAA
10 permit tcp any any
20 deny udp any any
ip access-list extended BBB
10 permit udp any any
20 deny tcp any any
2
2
In this example, access list
AAA
is created but not applied to any
interface.
ip access-list extended AAA
10 permit tcp any any
1
0
Summary of Contents for GX1000-SMC013X
Page 94: ...94 5 Configuration Guide 5 1 Base Software Configuration Guide ...
Page 105: ...105 7 Access Lists 7 1 Access lists ...
Page 153: ...153 8 Policy Based Switching 8 1 Policy based switching ...
Page 165: ...165 9 Policy Based Routing 9 1 Policy based routing ...
Page 177: ...177 Figure 10 1 Overview of mode transitions ...
Page 213: ...213 17 MIB Reference 17 1 Private MIBs 17 2 Supported MIB Traps ...
Page 229: ...229 H W BOOT 11 44 MISC 1 0 SPCT 0 34 10 The updating of the SP files is finished ...
Page 451: ...451 28 Additional Information ...