ADTRAN Stub Routing Dokumentacja Strona 293

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 568
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 292
Command Reference Guide Ethernet Interface Configuration Command Set
61950860L1-35D © 2003 ADTRAN, Inc. 293
Associate the access policy with the ethernet 0/1 interface:
(config)#
interface ethernet 0/1
(config-eth 0/1)
access-policy UnTrusted
Technology Review
Creating access policies and lists to regulate traffic through the routed network is a four-step process:
Step 1:
Enable the security features of the ADTRAN OS using the ip firewall command.
Step 2:
Create an access list to permit or deny specified traffic. Standard access lists provide pattern
matching for source IP addresses only. (Use extended access lists for more flexible pattern
matching.) IP addresses can be expressed in one of three ways:
1. Using the keyword any to match any IP address. For example, entering deny any will effectively
shut down the interface that uses the access list because all traffic will match the any keyword.
2. Using the host <A.B.C.D> to specify a single host address. For example, entering permit host
196.173.22.253 will allow all traffic from the host with an IP address of 196.173.22.253.
3. Using the <A.B.C.D> <wildcard> format to match all IP addresses in a range. Wildcard masks
work in reverse logic from subnet mask. Specifying a one in the wildcard mask equates to a
dont care. For example, entering deny 192.168.0.0 0.0.0.255 will deny all traffic from the
192.168.0.0/24 network.
Step 3:
Create an IP policy class that uses a configured access list. ADTRAN OS access policies are used to
permit, deny, or manipulate (using NAT) data for each physical interface. Each ACP consists of a
selector (access list) and an action (allow, discard, NAT). When packets are received on an interface,
the configured ACPs are applied to determine whether the data will be processed or discarded.
Possible actions performed by the access policy are as follows:
allow list <access list names>
All packets passed by the access list(s) entered will be allowed to enter the router system.
discard list <access list names>
All packets passed by the access list(s) entered will be dropped from the router system.
allow list <access list names> dest-policy <access policy name>
All packets passed by the access list(s) entered and destined for the interface using the access
policy listed will be permitted to enter the router system. This allows for configurations to permit
packets to a single interface and not the entire system.
allow list <access list names> dest-policy <access policy name>
All packets passed by the access list(s) entered and destined for the interface using the access
policy listed will be blocked from the router system. This allows for configurations to deny packets
on a specified interface.
Usage Examples (Continued)
Przeglądanie stron 292
1 2 ... 288 289 290 291 292 293 294 295 296 297 298 ... 567 568

Komentarze do niniejszej Instrukcji

Brak uwag