با سلام و تشکر
توضیح به این نکته لازمه که من ترافیکم رو روی serial2 دارم و در این مورد مثلا می خوام ترافیک همه ای وان هام بره به ای پی 216.168.90.132 به جز serial7:15 که می فرستم به 216.168.90.133 .
با تشکر
version 12.3
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname AS5300
!
boot-start-marker
boot-end-marker
!
enable secret ***********
enable password *********
!
username ***** password *******
spe 1/0 2/9
firmware location system:/ucode/mica_port_firmware
!
!
resource-pool disable
!
aaa new-model
!
!
aaa authentication login default local
aaa authentication enable default enable
aaa authentication ppp default group tacacs+ local
aaa accounting nested
aaa accounting update newinfo
aaa accounting exec default start-stop group tacacs+
aaa accounting network default start-stop group tacacs+
aaa session-id common
ip subnet-zero
ip name-server 192.9.9.3
!
async-bootp dns-server 192.9.9.3
isdn switch-type primary-ntt
!
!
!
!
!
!
!
!
!
no voice hpi capture buffer
no voice hpi capture destination
!
!
!
!
controller E1 0
clock source line primary
pri-group timeslots 1-31
!
controller E1 1
clock source line secondary 1
pri-group timeslots 1-31
!
controller E1 2
clock source line secondary 2
pri-group timeslots 1-31
!
controller E1 3
clock source line secondary 3
pri-group timeslots 1-31
!
controller E1 4
clock source line secondary 4
pri-group timeslots 1-31
!
controller E1 5
clock source line secondary 5
pri-group timeslots 1-31
!
controller E1 6
clock source line secondary 6
pri-group timeslots 1-31
!
controller E1 7
clock source line secondary 7
pri-group timeslots 1-31
!
!
interface Ethernet0
no ip address
shutdown
no cdp enable
!
interface Serial0
ip unnumbered FastEthernet0
ip access-group msblastecho in
ip access-group msblastecho out
encapsulation ppp
no fair-queue
no cdp enable
!
interface Serial1
no ip address
shutdown
clockrate 2015232
no fair-queue
no cdp enable
!
interface Serial2
ip address 192.168.14.14 255.255.255.0
ip access-group msblastecho in
ip access-group msblastecho out
encapsulation ppp
load-interval 30
no fair-queue
no cdp enable
!
interface Serial3
no ip address
shutdown
clockrate 2015232
no fair-queue
no cdp enable
!
interface Serial0:15
ip unnumbered FastEthernet0
encapsulation ppp
ip mroute-cache
dialer idle-timeout 4000
dialer load-threshold 5 either
dialer-group 1
isdn switch-type primary-ntt
isdn incoming-voice modem 56
isdn send-alerting
no keepalive
no cdp enable
ppp authentication chap
!
interface Serial1:15
ip unnumbered FastEthernet0
encapsulation ppp
ip mroute-cache
dialer idle-timeout 4000
dialer load-threshold 5 either
dialer-group 1
isdn switch-type primary-ntt
isdn incoming-voice modem 56
isdn send-alerting
no keepalive
no cdp enable
ppp authentication chap
!
interface Serial2:15
ip unnumbered FastEthernet0
encapsulation ppp
ip mroute-cache
dialer idle-timeout 4000
dialer load-threshold 5 either
dialer-group 1
isdn switch-type primary-ntt
isdn incoming-voice modem 56
isdn send-alerting
no keepalive
no cdp enable
ppp authentication chap
!
interface Serial3:15
ip unnumbered FastEthernet0
encapsulation ppp
ip mroute-cache
dialer idle-timeout 4000
dialer load-threshold 5 either
dialer-group 1
isdn switch-type primary-ntt
isdn incoming-voice modem 56
isdn send-alerting
no keepalive
no cdp enable
ppp authentication chap
!
interface Serial4:15
ip unnumbered FastEthernet0
encapsulation ppp
ip mroute-cache
dialer idle-timeout 4000
dialer load-threshold 5 either
dialer-group 1
isdn switch-type primary-ntt
isdn incoming-voice modem 56
isdn send-alerting
no keepalive
no cdp enable
ppp authentication chap
!
interface Serial5:15
ip unnumbered FastEthernet0
encapsulation ppp
ip mroute-cache
dialer idle-timeout 4000
dialer load-threshold 5 either
dialer-group 1
isdn switch-type primary-ntt
isdn incoming-voice modem 56
isdn send-alerting
no keepalive
no cdp enable
ppp authentication chap
!
interface Serial6:15
ip unnumbered FastEthernet0
encapsulation ppp
ip mroute-cache
dialer idle-timeout 4000
dialer load-threshold 5 either
dialer-group 1
isdn switch-type primary-ntt
isdn incoming-voice modem 56
isdn send-alerting
no keepalive
no cdp enable
ppp authentication chap
!
interface Serial7:15
ip unnumbered FastEthernet0
encapsulation ppp
dialer idle-timeout 4000
dialer load-threshold 5 either
isdn switch-type primary-ntt
isdn incoming-voice modem 56
isdn send-alerting
no keepalive
no cdp enable
ppp authentication chap
!
interface FastEthernet0
ip address 217.219.155.1 255.255.255.128 secondary
ip address 216.168.90.129 255.255.255.128
ip access-group msblastecho in
ip access-group msblastecho out
ip policy route-map onlytelcom
duplex full
speed auto
no cdp enable
!
interface Group-Async1
ip unnumbered FastEthernet0
ip policy route-map cache1
encapsulation ppp
ip tcp header-compression
async mode interactive
peer default ip address pool ch1
ppp authentication pap chap group
group-range 1 240
!
interface Dialer1
no ip address
encapsulation ppp
no cdp enable
ppp authentication chap
!
ip local pool ch1 216.168.90.134 216.168.90.252
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.14.13
no ip http server
!
!
!
ip access-list extended msblastecho
deny icmp any any echo
deny icmp any any echo-reply
deny icmp any any time-exceeded
deny icmp any any packet-too-big
deny icmp any any host-unreachable
deny tcp any any eq 445
deny tcp any any eq 6669
deny tcp any any eq 2222
deny tcp any any eq 7000
deny tcp any any eq 16959
deny tcp any any eq 27374
deny tcp any any eq 6711
deny tcp any any eq 6712
deny tcp any any eq 6776
deny tcp any any eq 16660
deny tcp any any eq 65000
deny tcp any any eq 27665
deny tcp any any eq 33270
deny tcp any any eq 39168
deny tcp any any eq 26300
deny tcp any any eq 1433
deny tcp any any eq 135
deny tcp any any eq 139
deny tcp any any eq 593
deny tcp any any eq 4444
deny tcp any any eq 3292
deny tcp any any eq 2617
deny tcp any any eq 2410
deny tcp any any eq 1926
deny tcp any any eq 2329
deny tcp any any eq 3218
deny tcp any any eq 3472
deny tcp any any eq 3066
deny tcp any any eq 1025
deny udp any any eq 1434
deny udp any any eq 31335
deny udp any any eq 27444
deny udp any any eq 135
deny udp any any eq netbios-ns
deny udp any any eq netbios-dgm
deny udp any any eq netbios-ss
deny udp any any eq 5000
deny udp any any eq tftp
permit ip any any
access-list 108 permit ip 217.219.155.0 0.0.0.127 any
access-list 108 deny ip any any
access-list 110 permit tcp any any eq www
dialer-list 1 protocol ip permit
no cdp run
!
route-map onlytelcom permit 10
match ip address 108
set default interface Serial0
!
route-map cache1 permit 10
match ip address 110
set ip next-hop 216.168.90.132
!
tacacs-server host *********
tacacs-server timeout 20
tacacs-server directed-request
tacacs-server key **************
snmp-server community **********
snmp-server enable traps tty
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line 1 120
no flush-at-activation
modem Dialin
autocommand ppp
transport input all
autoselect ppp
line 121 240
modem Dialin
autocommand ppp
transport input all
autoselect ppp
line aux 0
line vty 0 4
password **********
!
!
end
در ضمن ممنون می شم اگه ایرادی تو کانفیگ دیدید بهم بگید.
خیلی خیلی ممنون