访问控制列表(ACL)应用示例
http://tech.ddvip.com 2008年06月11日 社区交流 收藏本文
内容摘要:下面是一个访问控制列表(ACL)应用示例,请大家参考。
r2#sh run Building configuration...
*Mar 1 00:27:29.871: %SYS-5-CONFIG_I:
Configured from console by console Current configuration :
1298 bytes
! version 12.2 service timestamps debug datetime msec service timestamps
log datetime msec no service password-encryption
! hostname r2
! logging queue-limit 100
! ip subnet-zero
! ! ! ip audit notify log ip audit po max-events 100 mpls ldp logging neighbor-changes
! ! ! ! ! ! ! ! ! ! ! ! no voice hpi capture buffer no voice hpi capture destination
! ! mta receive maximum-recipients 0
! ! ! ! interface Loopback0 ip address 2.2.2.2 255.255.255.0
! interface FastEthernet0/0 no ip address shutdown duplex auto speed auto
! interface FastEthernet1/0 no ip address shutdown duplex auto speed auto
! interface Serial2/0 ip address
12.1.1.2 255.255.255.0 encapsulation frame-relay ip ospf network point-to-point serial
restart_delay 0 frame-relay map ip 12.1.1.1 201
broadcast no frame-relay inverse-arp
! interface Serial2/1 no ip address shutdown serial restart_delay 0
! interface Serial2/2 no ip address shutdown serial restart_delay 0
! interface Serial2/3 no ip address shutdown serial restart_delay 0
! router ospf 10 log-adjacency-changes network 0.0.0.0 255.255.255.255 area 0
! ip http server no ip http secure-server ip classless
! ! ! ! ! call rsvp-sync
! ! mgcp profile default
! ! ! dial-peer cor custom
! ! ! ! ! line con 0 line aux 0 line vty 0 4 no login
! ! end
责编:豆豆技术应用