ATL Telecom R1-SW Ethernet Switch User Manual

Page 218

Advertising
background image

R1-SW24L2B User’s Manual

10-8

The following example shows how to define an access list which permit the access from hosts in
the specified network:

# configure terminal

(config)# access-list 1 permit 192.5.34.0 0.0.0.255

(config)# access-list 1 permit 128.88.0.0 0.0.255.255

(config)# access-list 1 permit 36.0.0.0 0.255.255.255

(config)# end

# show access-list

Standard IP access list 1

permit 192.5.34.0, wildcard bits 0.0.0.255

permit 128.88.0.0, wildcard bits 0.0.255.255

permit 36.0.0.0, wildcard bits 0.255.255.255

#

The following example shows how to define an access list which deny the access from the
specified host:

# config t

(config)# access-list 2 deny host 171.69.198.102

(config)# access-list 2 permit any

(config)# end

# show access-list

Standard IP access list 2

deny 171.69.198.102

permit any

#

Advertising