ADTRAN Stub Routing Dokumentacja Strona 292

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 568
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 291
Ethernet Interface Configuration Command Set Command Reference Guide
292 © 2003 ADTRAN, Inc. 61950860L1-35D
access-policy <policyname>
Use the access-policy command to assign a specified access policy to an interface. Use the no form of this
command to remove an access policy association.
Syntax Description
<policyname>
Alphanumeric descriptor for identifying the configured access policy (all access
policy descriptors are case-sensitive)
Default Values
By default, there are no configured access policies associated with an interface.
Command Modes
(config-interface)# Interface Configuration Mode
Valid interfaces include: Ethernet (eth 0/1), virtual PPP interfaces (ppp 1), and
virtual frame relay sub-interfaces (fr 1.20)
Command History
Release 2.1 Command was introduced
Functional Notes
To assign an access policy to an interface, enter the interface configuration mode for the desired interface and
enter
access policy
<policy name>.
Usage Examples
The following example associates the access policy
UnTrusted
(to allow inbound traffic to the Web server) to
the ethernet 0/1 interface:
Enable the ADTRAN OS security features:
(config)#
ip firewall
Create the access list (this is the packet selector):
(config)#
ip access-list extended InWeb
(config-ext-nacl)#
permit tcp any host 63.12.5.253 eq 80
Create the access policy that contains the access list
InWeb
:
(config)#
ip policy-class UnTrusted
(config-policy-class)#
allow list InWeb
Przeglądanie stron 291
1 2 ... 287 288 289 290 291 292 293 294 295 296 297 ... 567 568

Komentarze do niniejszej Instrukcji

Brak uwag