Mar
12 2009

[admin@MikroTik] queue simple> add name=Cust0 interface=ether1 \

\... target-address=192.168.0.0/24 limit-at=64000

[admin@MikroTik] queue simple> print

Flags: X - disabled, I - invalid

  0   name="Cust0" target-address=192.168.0.0/24 dst-address=0.0.0.0/0

      interface=ether1 limit-at=64000 queue=default priority=8 bounded=yes

 

[admin@MikroTik] queue simple> /system script

[admin@MikroTik] system script> add name=start_limit source={/queue simple set \

\... “Cust0” limit-at=64000}

[admin@MikroTik] system script> add name=stop_limit source={/queue simple set \

\... “Cust0” limit-at=128000}

[admin@MikroTik] system script> print

  0 name="start_limit" source="/queue simple set “Cust0” limit-at=64000"

    owner=admin run-count=0

  1 name="stop_limit" source="/queue simple set “Cust0” limit-at=128000"

    owner=admin run-count=0

 

[admin@MikroTik] system script> .. scheduler

[admin@MikroTik] system scheduler> add interval=24h name="set-64k" \

\... start-time=9:00:00 on-event=start_limit

[admin@MikroTik] system scheduler> add interval=24h name="set-128k" \

\... start-time=17:00:00 on-event=stop_limit

[admin@MikroTik] system scheduler> print

Flags: X - disabled

  #   NAME      ON-EVENT  START-DATE  START-TIME INTERVAL             RUN-COUNT

  0   set-64k   start... oct/30/2008 09:00:00   1d                   0

  1   set-128k  stop_... oct/30/2008 17:00:00   1d                   0

[admin@MikroTik] system scheduler>

 

推荐(1)
收藏
分享至: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 添加到饭否 QQ书签 POCO网摘 Digbuzz我挖网 
Mar
11 2009

#routeros 双线接入nth负载平衡(带宽叠加)
# mar/11/2009 14:42:14 by RouterOS 2.9.27
# software id = YP73-N3T
#
/ interface ethernet
set totel name="totel" mtu=1500 mac-address=00:03:FF:A6:7B:63 arp=enabled \
    disable-running-check=yes auto-negotiation=yes full-duplex=yes \
    cable-settings=default speed=100Mbps comment="" disabled=no
set tocnc name="tocnc" mtu=1500 mac-address=00:03:FF:AA:7B:63 arp=enabled \
    disable-running-check=yes auto-negotiation=yes full-duplex=yes \
    cable-settings=default speed=100Mbps comment="" disabled=no
set local name="local" mtu=1500 mac-address=00:03:FF:AB:7B:63 arp=enabled \
    disable-running-check=yes auto-negotiation=yes full-duplex=yes \
    cable-settings=default speed=100Mbps comment="" disabled=no
set ether4 name="ether4" mtu=1500 mac-address=00:03:FF:AC:7B:63 arp=enabled \
    disable-running-check=yes auto-negotiation=yes full-duplex=yes \
    cable-settings=default speed=100Mbps comment="" disabled=yes
/ interface wireless security-profiles
set default name="default" mode=none authentication-types="" \
    unicast-ciphers="" group-ciphers="" wpa-pre-shared-key="" \
    wpa2-pre-shared-key="" eap-methods=passthrough tls-mode=no-certificates \
    tls-certificate=none static-algo-0=none static-key-0="" static-algo-1=none \
    static-key-1="" static-algo-2=none static-key-2="" static-algo-3=none \
    static-key-3="" static-transmit-key=key-0 static-sta-private-algo=none \
    static-sta-private-key="" radius-mac-authentication=no group-key-update=5m
/ interface wireless align
set frame-size=300 active-mode=yes receive-all=no \
    audio-monitor=00:00:00:00:00:00 filter-mac=00:00:00:00:00:00 ssid-all=no \
    frames-per-second=25 audio-min=-100 audio-max=-20
/ interface wireless snooper
set multiple-channels=yes channel-time=200ms receive-errors=no
/ interface wireless sniffer
set multiple-channels=no channel-time=200ms only-headers=no receive-errors=no \
    memory-limit=10 file-name="" file-limit=10 streaming-enabled=no \
    streaming-server=0.0.0.0 streaming-max-rate=0
/ interface l2tp-server server
set enabled=no max-mtu=1460 max-mru=1460 \
    authentication=pap,chap,mschap1,mschap2 default-profile=default-encryption
/ interface pptp-server server
set enabled=no max-mtu=1460 max-mru=1460 authentication=mschap1,mschap2 \
    keepalive-timeout=30 default-profile=default-encryption
/ ip telephony region
/ ip telephony gatekeeper
set gatekeeper=none remote-id="" remote-address=0.0.0.0
/ ip telephony aaa
set use-radius-accounting=no interim-update=0s
/ ip telephony codec
move G.711-uLaw-64k/sw
move G.711-ALaw-64k/sw
move G.729A-8k/sw
move G.729-8k/sw
move G.723.1-6.3k/sw
move GSM-06.10-13.2k/sw
move LPC-10-2.5k/sw
/ ip accounting
set enabled=no account-local-traffic=no threshold=256
/ ip accounting web-access
set accessible-via-web=no address=0.0.0.0/0
/ ip service
set telnet port=23 address=0.0.0.0/0 disabled=no
set ftp port=21 address=0.0.0.0/0 disabled=no
set www port=80 address=0.0.0.0/0 disabled=no
set ssh port=22 address=0.0.0.0/0 disabled=no
set www-ssl port=443 address=0.0.0.0/0 certificate=none disabled=yes
/ ip upnp
set enabled=no allow-disable-external-interface=yes show-dummy-rule=yes
/ ip arp
/ ip socks
set enabled=no port=1080 connection-idle-timeout=2m max-connections=200
/ ip dns
set primary-dns=218.2.135.1 secondary-dns=202.102.24.35 \
    allow-remote-requests=no cache-size=2048KiB cache-max-ttl=1w
/ ip traffic-flow
set enabled=no interfaces=all cache-entries=4k active-flow-timeout=30m \
    inactive-flow-timeout=15s
/ ip address
add address=10.0.1.1/24 network=10.0.1.0 broadcast=10.0.1.255 interface=totel \
    comment="" disabled=no
add address=10.0.2.1/24 network=10.0.2.0 broadcast=10.0.2.255 interface=tocnc \
    comment="" disabled=no
add address=172.16.0.254/24 network=172.16.0.0 broadcast=172.16.0.255 \
    interface=local comment="" disabled=no

/ ip proxy
set enabled=no port=8080 parent-proxy=0.0.0.0:0 maximal-client-connecions=1000 \
    maximal-server-connectons=1000
/ ip proxy access
add dst-port=23-25 action=deny comment="block telnet & spam e-mail relaying" \
    disabled=no
/ ip neighbor discovery
set totel discover=yes
set tocnc discover=yes
set local discover=yes
set ether4 discover=yes
/ ip route
add dst-address=0.0.0.0/0 gateway=10.0.2.254 scope=255 target-scope=10 \
    routing-mark=even comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=10.0.1.254 scope=255 target-scope=10 \
    routing-mark=odd comment="" disabled=no

/ ip firewall mangle
add chain=prerouting in-interface=local connection-state=new nth=1,1,0 \
    action=mark-connection new-connection-mark=odd passthrough=yes comment="" \
    disabled=no
add chain=prerouting in-interface=local connection-mark=odd \
    action=mark-routing new-routing-mark=odd passthrough=no comment="" \
    disabled=no
add chain=prerouting in-interface=local connection-state=new nth=1,1,1 \
    action=mark-connection new-connection-mark=even passthrough=yes comment="" \
    disabled=no
add chain=prerouting in-interface=local connection-mark=even \
    action=mark-routing new-routing-mark=even passthrough=no comment="" \
    disabled=no
/ ip firewall nat
add chain=srcnat connection-mark=odd action=src-nat to-addresses=10.0.1.1 \
    to-ports=0-65535 comment="" disabled=no
add chain=srcnat connection-mark=even action=src-nat to-addresses=10.0.2.1 \
    to-ports=0-65535 comment="" disabled=no

/ ip firewall connection tracking
set enabled=yes tcp-syn-sent-timeout=5s tcp-syn-received-timeout=5s \
    tcp-established-timeout=1d tcp-fin-wait-timeout=10s \
    tcp-close-wait-timeout=10s tcp-last-ack-timeout=10s \
    tcp-time-wait-timeout=10s tcp-close-timeout=10s udp-timeout=10s \
    udp-stream-timeout=3m icmp-timeout=10s generic-timeout=10m \
    tcp-syncookie=no
/ ip firewall service-port
set ftp ports=21 disabled=no
set tftp ports=69 disabled=no
set irc ports=6667 disabled=no
set h323 disabled=yes
set quake3 disabled=no
set gre disabled=yes
set pptp disabled=yes
/ ip hotspot service-port
set ftp ports=21 disabled=no
/ ip hotspot profile
set default name="default" hotspot-address=0.0.0.0 dns-name="" \
    html-directory=hotspot rate-limit="" http-proxy=0.0.0.0:0 \
    smtp-server=0.0.0.0 login-by=cookie,http-chap http-cookie-lifetime=3d \
    split-user-domain=no use-radius=no
/ ip hotspot user profile
set default name="default" idle-timeout=none keepalive-timeout=2m \
    status-autorefresh=1m shared-users=1 transparent-proxy=yes \
    open-status-page=always advertise=no
/ ip dhcp-server config
set store-leases-disk=5m
/ ip ipsec proposal
add name="default" auth-algorithms=sha1 enc-algorithms=3des lifetime=30m \
    lifebytes=0 pfs-group=modp1024 disabled=no
/ ip web-proxy
set enabled=no src-address=0.0.0.0 port=3128 hostname="proxy" \
    transparent-proxy=no parent-proxy=0.0.0.0:0 \
    cache-administrator="webmaster" max-object-size=4096KiB cache-drive=system \
    max-cache-size=none max-ram-cache-size=unlimited
/ ip web-proxy access
add dst-port=23-25 action=deny comment="block telnet & spam e-mail relaying" \
    disabled=no
/ ip web-proxy cache
add url=":cgi-bin \\?" action=deny comment="don't cache dynamic http pages" \
    disabled=no
/ system logging
add topics=info prefix="" action=memory disabled=no
add topics=error prefix="" action=memory disabled=no
add topics=warning prefix="" action=memory disabled=no
add topics=critical prefix="" action=echo disabled=no
/ system logging action
set memory name="memory" target=memory memory-lines=100 memory-stop-on-full=no
set disk name="disk" target=disk disk-lines=100 disk-stop-on-full=no
set echo name="echo" target=echo remember=yes
set remote name="remote" target=remote remote=0.0.0.0:514
/ system upgrade mirror
set enabled=no primary-server=0.0.0.0 secondary-server=0.0.0.0 \
    check-interval=1d user=""
/ system clock dst
set dst-delta=+00:00 dst-start="jan/01/1970 00:00:00" dst-end="jan/01/1970 \
    00:00:00"
/ system watchdog
set reboot-on-failure=yes watch-address=none watchdog-timer=yes \
    no-ping-delay=5m automatic-supout=yes auto-send-supout=no
/ system console
add port=serial0 term="" disabled=no
set FIXME term="linux" disabled=no
set FIXME term="linux" disabled=no
set FIXME term="linux" disabled=no
set FIXME term="linux" disabled=no
set FIXME term="linux" disabled=no
set FIXME term="linux" disabled=no
set FIXME term="linux" disabled=no
set FIXME term="linux" disabled=no
/ system console screen
set line-count=25
/ system identity
set name="router"
/ system note
set show-at-login=yes note=""
/ system gps
set enabled=no set-system-time=yes
/ system lcd
set enabled=no type=24x4 port=parallel contrast=0
/ system lcd page
set time display-time=5s disabled=yes
set resources display-time=5s disabled=yes
set uptime display-time=5s disabled=yes
set packets display-time=5s disabled=yes
set bits display-time=5s disabled=yes
set version display-time=5s disabled=yes
set totel display-time=5s disabled=yes
set tocnc display-time=5s disabled=yes
set local display-time=5s disabled=yes
set ether4 display-time=5s disabled=yes
/ system ntp server
set enabled=no broadcast=no multicast=no manycast=yes
/ system ntp client
set enabled=no mode=unicast primary-ntp=0.0.0.0 secondary-ntp=0.0.0.0
/ system routerboard bios
set
/ system health
set state-after-reboot=enabled
/ port
set serial0 name="serial0" baud-rate=9600 data-bits=8 parity=none stop-bits=1 \
    flow-control=hardware
set serial1 name="serial1" baud-rate=9600 data-bits=8 parity=none stop-bits=1 \
    flow-control=hardware
/ ppp profile
set default name="default" use-compression=default use-vj-compression=default \
    use-encryption=default only-one=default change-tcp-mss=yes comment=""
set default-encryption name="default-encryption" use-compression=default \
    use-vj-compression=default use-encryption=yes only-one=default \
    change-tcp-mss=yes comment=""
/ ppp aaa
set use-radius=no accounting=yes interim-update=0s
/ queue type
set default name="default" kind=pfifo pfifo-limit=50
set ethernet-default name="ethernet-default" kind=pfifo pfifo-limit=50
set wireless-default name="wireless-default" kind=sfq sfq-perturb=5 \
    sfq-allot=1514
set synchronous-default name="synchronous-default" kind=red red-limit=60 \
    red-min-threshold=10 red-max-threshold=50 red-burst=20 red-avg-packet=1000
set hotspot-default name="hotspot-default" kind=sfq sfq-perturb=5 \
    sfq-allot=1514
add name="default-small" kind=pfifo pfifo-limit=10
/ user
add name="admin" group=full address=0.0.0.0/0 comment="system default user" \
    disabled=no
/ user group
add name="read" policy=local,telnet,ssh,reboot,read,test,winbox,password,web,!f\
    tp,!write,!policy
add name="write" policy=local,telnet,ssh,reboot,read,write,test,winbox,password\
    ,web,!ftp,!policy
add name="full" policy=local,telnet,ssh,ftp,reboot,read,write,policy,test,winbo\
    x,password,web
/ user aaa
set use-radius=no accounting=yes interim-update=0s default-group=read
/ radius incoming
set accept=no port=1700
/ driver
/ snmp
set enabled=no contact="" location=""
/ snmp community
set public name="public" address=0.0.0.0/0 read-access=yes
/ tool bandwidth-server
set enabled=yes authenticate=yes allocate-udp-ports-from=2000 max-sessions=10
/ tool mac-server ping
set enabled=yes
/ tool e-mail
set server=0.0.0.0 from="<>"
/ tool sniffer
set interface=all only-headers=no memory-limit=10 file-name="" file-limit=10 \
    streaming-enabled=no streaming-server=0.0.0.0 filter-stream=yes \
    filter-protocol=ip-only filter-address1=0.0.0.0/0:0-65535 \
    filter-address2=0.0.0.0/0:0-65535
/ tool graphing
set store-every=5min
/ routing ospf
set router-id=0.0.0.0 distribute-default=never redistribute-connected=no \
    redistribute-static=no redistribute-rip=no redistribute-bgp=no \
    metric-default=1 metric-connected=20 metric-static=20 metric-rip=20 \
    metric-bgp=20
/ routing ospf area
set backbone area-id=0.0.0.0 type=default translator-role=translate-candidate \
    authentication=none prefix-list-import="" prefix-list-export="" \
    disabled=no
/ routing bgp
set enabled=no as=1 router-id=0.0.0.0 redistribute-static=no \
    redistribute-connected=no redistribute-rip=no redistribute-ospf=no
/ routing rip
set redistribute-static=no redistribute-connected=no redistribute-ospf=no \
    redistribute-bgp=no metric-static=1 metric-connected=1 metric-ospf=1 \
    metric-bgp=1 update-timer=30s timeout-timer=3m garbage-timer=2m

推荐(0)
收藏
分享至: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 添加到饭否 QQ书签 POCO网摘 Digbuzz我挖网 
Feb
21 2009

Router#1 !  
Router#clear ?  
Router#clear access-list ? 
Router#clear access-list counters 1 !
Router#clear access-list counters 1300 !
Router#clear access-list counters ?
Router#clear access-list counters w !
Router#clear arp-cache ! 
Router#clear cdp ?     
Router#clear cdp table !    
Router#clear frame-relay ?     
Router#clear frame-relay counter !    
Router#clear frame-relay inarp !    
Router#clear ip ?     
Router#clear ip nat ?    
Router#clear ip nat translation * !  
Router#clear ip nat translation ?   
Router#clear ip route * !   
Router#clear ip route ?    
Router#clear ip route 192.168.0.1 ?   
Router#clear ip route 192.168.0.1 192.168.0.2 !  
Router#clock ?      
Router#clock set 23:59:22 31 ?   
Router#clock set 23:59:22 31 July 1993 ! 
Router#clock set 23:59:22 31 July ?   
Router#clock set 23:59:22 ?     
Router#clock set ?       terminal
Router#configure ?       
Router#configure terminal !      
Router#connect ?       
Router#connect w !      
Router#copy ?       
Router#copy running-config ?      
Router#copy running-config startup-config !     
Router#copy running-config tftp: !     
Router#copy startup-config ?      
Router#copy startup-config running-config !     
Router#copy startup-config tftp: !     
Router#copy tftp: ?      
Router#copy tftp: flash: !     
Router#copy tftp: running-config !     
Router#copy tftp: startup-config !     
Router#debug ?       
Router#debug eigrp ?      
Router#debug eigrp fsm !     
Router#debug eigrp packets !     
Router#debug frame-relay ?       table
Router#debug frame-relay lmi !     
Router#debug ip ?      
Router#debug ip icmp !     
Router#debug ip nat !     
Router#debug ip ospf ?     
Router#debug ip ospf adj !    
Router#debug ip ospf events !    
Router#debug ip packet !     
Router#debug ip rip ?     
Router#debug ip rip events !      
Router#debug ip routing !       
Router#debug ppp ?        
Router#debug ppp authentication !       
Router#debug ppp negotiation !       
Router#debug ppp packet !       
Router#delete ?         
Router#delete flash: !        
Router#delete w !        
Router#dir ?         
Router#dir flash: !        
Router#disable !         
Router#disconnect 1 !        
Router#disconnect ?         
Router#ena          
Router#enable !         
Router#erase ?       
Router#erase startup-config !      
Router#exit !       
Router#logout !       
Router#more ?       
Router#more flash: !      
Router#no ?       
Router#no debug ?      
Router#no debug all !     
Router#no debug eigrp ?     
Router#no debug eigrp fsm !     system
Router#no debug eigrp pa     
Router#no debug eigrp packets !    
Router#no debug frame-relay ?     
Router#no debug frame-relay lmi !    
Router#no debug ip ?     
Router#no debug ip icmp !
Router#no debug ip nat !
Router#no debug ip ospf ?
Router#no debug ip ospf adj !
Router#no debug ip ospf events !
Router#no debug ip packet !
Router#no debug ip rip ?
Router#no debug ip rip events !
Router#no debug ip routing !
Router#no debug ppp ? 
Router#no debug ppp authentication !
Router#no debug ppp negotiation !
Router#no debug ppp packet !
Router#ping ?   
Router#ping w !  
Router#reload !   
Router#resume 1 !  
Router#resume ?   
Router#resume w !  
Router#setup !   
Router#show ?   
Router#show ?   
Router#show access-lists 1 ! 
Router#show access-lists ?  
Router#show access-lists w ! 
Router#show arp !  
Router#show cdp ?  
Router#show cdp entry * ?
Router#show cdp entry * protocol !
Router#show cdp entry * version !
Router#show cdp entry ? 
Router#show cdp entry w ?
Router#show cdp entry w protocol !
Router#show cdp entry w version !
Router#show cdp interface ? 
Router#show cdp interface fastEthernet 0/0 !
Router#show cdp interface serial 0/0 !
Router#show cdp neighbors ? 
Router#show cdp neighbors detail !
Router#show clock !  
Router#show controllers ?  
Router#show controllers fastEthernet 0/0 !
Router#show controllers serial 0/0 !
Router#show crypto ?  
Router#show crypto key ? 
Router#show crypto key mypubkey ?
Router#show crypto key mypubkey rsa !
Router#show debugging !  
Router#show dhcp ?    
Router#show dhcp lease !   
Router#show flash: !    
Router#show frame-relay ?    
Router#show frame-relay lmi !   
Router#show frame-relay map !   
Router#show frame-relay pvc 16 !  
Router#show frame-relay pvc ?   
Router#show frame-relay pvc interface ?  
Router#show frame-relay pvc interface serial 0/0 16 !
Router#show frame-relay pvc interface serial 0/0 ?
Router#show history !    
Router#show hosts !    
Router#show interfaces ?    
Router#show interfaces fastEthernet 0/0 !  
Router#show ip ?    
Router#show ip ?    
Router#show ip access-lists 1 !  
Router#show ip access-lists ?   
Router#show ip access-lists w !  
Router#show ip arp !   
Router#show ip dhcp ?   
Router#show ip dhcp binding !  
Router#show ip eigrp ?   
Router#show ip eigrp inter   
Router#show ip eigrp interfaces 1 ! 
Router#show ip eigrp interfaces ?  
Router#show ip eigrp neighbors 1 ! 
Router#show ip eigrp neighbors ?  
Router#show ip eigrp topology 1 ? 
Router#show ip eigrp topology 1 192.168.0.0 ?
Router#show ip eigrp topology 1 192.168.0.0 255.255.255.0 !
Router#show ip eigrp topology ?   
Router#show ip eigrp topology 192.168.0.0 ?  
Router#show ip eigrp topology 192.168.0.0 255.255.255.0 ! 
Router#show ip eigrp topology all-links !  
Router#show ip eigrp traffic 1 !  
Router#show ip eigrp traffic ?   
Router#show ip interface ?    
Router#show ip interface fastEthernet 0/0 !  
Router#show ip nat ?    
Router#show ip nat statistics !   
Router#show ip nat translations !   
Router#show ip ospf 1 0 ?  
Router#show ip ospf 1 0 database ! 
Router#show ip ospf 1 0 interface ? 
Router#show ip ospf 1 0 interface fastEthernet 0/0 !
Router#show ip ospf 1 0 neighbor ? 
Router#show ip ospf 1 0 neighbor fastEthernet 0/0 detail
Router#show ip ospf 1 ?   
Router#show ip ospf 1 192.168.0.0 ?  
Router#show ip ospf 1 192.168.0.0 database ! 
Router#show ip ospf 1 192.168.0.0 interface fastEthernet 0/0 !
Router#show ip ospf 1 192.168.0.0 neighbor ? 
Router#show ip ospf 1 192.168.0.0 neighbor fastEthernet 0/0 detail
Router#show ip ospf 1 border-routers !  
Router#show ip ospf 1 database !  
Router#show ip ospf 1 interface ?  
Router#show ip ospf 1 interface fastEthernet 0/0 !
Router#show ip ospf 1 neighbor ?  
Router#show ip ospf 1 neighbor fastEthernet 0/0 detail !
Router#show ip ospf ?    
Router#show ip protocols !    
Router#show ip rip ?    
Router#show ip rip database !
Router#show ip route ? 
Router#show ip route connected !
Router#show ip route eigrp !
Router#show ip route ospf 1 !
Router#show ip route ospf ?
Router#show ip route rip !
Router#show ip route static !
Router#show ip route w !
Router#show ip ssh ! 
Router#show ospf ?  
Router#show ospf database ! 
Router#show ospf flood ! 
Router#show ospf spf ! 
Router#show ospf summary ! 
Router#show ospfv3 ?  
Router#show ospfv3 database ?       
Router#show ospfv3 database detail !      
Router#show processes !        
Router#show protocols !        
Router#show running-config !        
Router#show sessions !       or Connection options
Router#show ssh !        
Router#show startup-config !        
Router#ssh ?         
Router#ssh #NAME? ?        
Router#ssh #NAME? w ?       
Router#ssh #NAME? w 192.168.0.2 !      
Router#telnet ?         
Router#telnet 192.168.0.2 !        
Router#terminal ?         
Router#terminal history ?        
Router#terminal history size 64 !    
Router#terminal history size ?     
Router#traceroute ?       
Router#traceroute 192.168.0.2 !      
Router#undebug ?       
Router#undebug all !      
Router#undebug eigrp ?       table
Router#undebug eigrp fsm !     
Router#undebug eigrp packets !     
Router#undebug frame-relay ?      
Router#undebug frame-relay lmi !     
Router#undebug ip ?      
Router#undebug ip icmp !     
Router#undebug ip nat !     
Router#undebug ip ospf ?     
Router#undebug ip ospf adj !    
Router#undebug ip ospf events !
Router#undebug ip packet !
Router#undebug ip rip ?
Router#undebug ip rip events !
Router#undebug ip routing !
Router#undebug ppp ? 
Router#undebug ppp authentication !
Router#undebug ppp negotiation !
Router#undebug ppp packet !
Router#write ?  
Router#write erase ! 
Router#write memory ! 
Router#write terminal ! 
Router(config)#?   
Router(config)#access-list 1 ? 
Router(config)#access-list 1 deny ?
Router(config)#access-list 1 deny 192.168.0.0 0.0.0.255 !  
Router(config)#access-list 1 deny any !   
Router(config)#access-list 1 deny host 192.168.0.2 !  
Router(config)#access-list 1 permit ?    
Router(config)#access-list 1 permit 192.168.0.0 0.0.0.255 !  
Router(config)#access-list 1 permit any !   
Router(config)#access-list 1 permit host 192.168.0.2 !  
Router(config)#access-list 1 remark ?    
Router(config)#access-list 1 remark asdfwefasdf !   
Router(config)#access-list 100 ?     
Router(config)#access-list 100 deny ?    
Router(config)#access-list 100 deny eigrp ?   
Router(config)#access-list 100 deny eigrp 192.18.0.0 0.0.0.255 ? 
Router(config)#access-list 100 deny eigrp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 !
Router(config)#access-list 100 deny icmp ?   
Router(config)#access-list 100 deny icmp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 ?
Router(config)#access-list 100 deny icmp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 0
Router(config)#access-list 100 deny icmp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 echo
Router(config)#access-list 100 deny icmp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 echo-reply
Router(config)#access-list 100 deny icmp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 host-unreachable
Router(config)#access-list 100 deny icmp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 net-unreachable
Router(config)#access-list 100 deny icmp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 port-unreachable
Router(config)#access-list 100 deny icmp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 protocol-unreachable
Router(config)#access-list 100 deny icmp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 ttl-exceeded
Router(config)#access-list 100 deny icmp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 unreachable
Router(config)#access-list 100 deny ip ?   
Router(config)#access-list 100 deny ip 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 !
Router(config)#access-list 100 deny ospf ?   
Router(config)#access-list 100 deny ospf 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 !
Router(config)#access-list 100 deny tcp ?   
Router(config)#access-list 100 deny tcp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 ?
Router(config)#access-list 100 deny tcp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 eq
Router(config)#access-list 100 deny tcp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 eq
Router(config)#access-list 100 deny tcp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 eq
Router(config)#access-list 100 deny tcp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 eq
Router(config)#access-list 100 deny tcp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 eq
Router(config)#access-list 100 deny udp ?   
Router(config)#access-list 100 deny udp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 ?
Router(config)#access-list 100 deny udp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 eq
Router(config)#access-list 100 deny udp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 eq
Router(config)#access-list 100 deny udp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 range
Router(config)#access-list 100 deny udp 192.18.0.0 0.0.0.255 10.0.0.0 0.255.255.255 range
Router(config)#access-list 100 permit ?    
Router(config)#access-list 100 remark ?    
Router(config)#access-list 100 remark worddddd !   
Router(config)#access-list ?      
Router(config)#banner ?      
Router(config)#banner login ?     
Router(config)#banner login asdfkasjdhfkjd ! 
Router(config)#banner motd ?  
Router(config)#banner motd oaiudofiuwoef ! 
Router(config)#boot ?   
Router(config)#boot system ?  
Router(config)#boot system flash ? 
Router(config)#boot system flash c2700-sdfsdf.bin !
Router(config)#cdp ?   
Router(config)#cdp run !  
Router(config)#clock ?   
Router(config)#clock timezone ?  
Router(config)#clock timezone sdfsd 8 0 !
Router(config)#clock timezone sdfsd 8 ?
Router(config)#clock timezone sdfsd ? 
Router(config)#config-register ?   
Router(config)#config-register 0x2142 !  
Router(config)#crypto ?  
Router(config)#crypto key ? 
Router(config)#crypto key generate ?
Router(config)#crypto key generate rsa !
Router(config)#crypto key zeroize ?
Router(config)#crypto key zeroize rsa !
Router(config)#do ?  
Router(config)#enable ?  
Router(config)#enable password 7 654643216 !
Router(config)#enable password 7 ?
Router(config)#enable password 6.23165E+12 !
Router(config)#enable password ? 
Router(config)#enable secret 0 465465465 !
Router(config)#enable secret 0 ?
Router(config)#enable secret 5 564654213 !
Router(config)#enable secret 5 ?
Router(config)#enable secret 546546546 !   
Router(config)#enable secret ?    
Router(config)#end !     
Router(config)#exit !     
Router(config)#hostname ?     
Router(config)#hostname router1 !    
Router(config)#interface ?     
Router(config)#interface fastEthernet 0/0 !   
Router(config)#interface range ?    
Router(config)#interface range fastEthernet 0/0 "," fastEthernet 0/1 !
Router(config)#interface range fastEthernet 0/0 ?  
Router(config)#ip ?     
Router(config)#ip access-list ?    
Router(config)#ip access-list extended 100 !  
Router(config)#ip access-list extended ?   
Router(config)#ip access-list extended asdf !  
Router(config)#ip access-list standard 1 !
Router(config)#ip access-list standard ? 
Router(config)#ip access-list standard sdsdf !
Router(config)#ip default-network ?  
Router(config)#ip default-network 192.168.0.0 ! 
Router(config)#ip dhcp ?  
Router(config)#ip dhcp excluded-address ? 
Router(config)#ip dhcp excluded-address 192.168.0.1 ?
Router(config)#ip dhcp excluded-address 192.168.0.1 192.168.0.20 !
Router(config)#ip dhcp pool ? 
Router(config)#ip dhcp pool pool1 !
Router(config)#ip domain ?  
Router(config)#ip domain name ? 
Router(config)#ip domain name soiuwoifuosiuf !
Router(config)#ip domain-lookup !  
Router(config)#ip domain-name ?  
Router(config)#ip domain-name sdfasdfwef !    
Router(config)#ip forward-protocol ?     
Router(config)#ip forward-protocol udp 68 !   
Router(config)#ip forward-protocol udp ?    
Router(config)#ip host ?     
Router(config)#ip host fiuwofiuaosdfi ?    
Router(config)#ip host fiuwofiuaosdfi 192.168.0.2 ?   
Router(config)#ip host fiuwofiuaosdfi 192.168.0.2 192.168.0.3 192.168.0.4 ! 
Router(config)#ip name-server ?     
Router(config)#ip name-server 192.168.0.2 !    
Router(config)#ip nat ?     
Router(config)#ip nat ?     
Router(config)#ip nat inside ?    
Router(config)#ip nat inside source ?   
Router(config)#ip nat inside source list 1 ? 
Router(config)#ip nat inside source list 1 interface ?
Router(config)#ip nat inside source list 1 interface fastEthernet 0/0
Router(config)#ip nat inside source list 1 interface fastEthernet 0/0
Router(config)#ip nat inside source list 1 pool ?
Router(config)#ip nat inside source list 1 pool pool1 ?
Router(config)#ip nat inside source list 1 pool pool1 overload
Router(config)#ip nat inside source list ?  
Router(config)#ip nat inside source static ?  
Router(config)#ip nat inside source static 192.168.0.2 ? 
Router(config)#ip nat inside source static 192.168.0.2 10.0.0.253 !
Router(config)#ip nat inside source static tcp ? 
Router(config)#ip nat inside source static tcp 192.168.0.2 ?
Router(config)#ip nat inside source static tcp 192.168.0.2 80 ?
Router(config)#ip nat inside source static tcp 192.168.0.2 80 10.10.0.253
Router(config)#ip nat inside source static tcp 192.168.0.2 80 10.10.0.253
Router(config)#ip nat inside source static udp ? 
Router(config)#ip nat inside source static udp 192.168.0.2 ?
Router(config)#ip nat inside source static udp 192.168.0.2 68 ?
Router(config)#ip nat inside source static udp 192.168.0.2 68 10.0.0.253
Router(config)#ip nat inside source static udp 192.168.0.2 68 10.0.0.253
Router(config)#ip nat pool ?    
Router(config)#ip nat pool pool1 ?   
Router(config)#ip nat pool pool1 192.168.0.2 ?  
Router(config)#ip nat pool pool1 192.168.0.2 192.168.0.6 ? 
Router(config)#ip nat pool pool1 192.168.0.2 192.168.0.6 netmask ?
Router(config)#ip nat pool pool1 192.168.0.2 192.168.0.6 netmask 255.255.255.0 !
Router(config)#ip route ?     
Router(config)#ip route 10.0.0.0 ?    
Router(config)#ip route 10.0.0.0 255.0.0.0 ?   
Router(config)#ip route 10.0.0.0 255.0.0.0 192.168.0.254 1 ! 
Router(config)#ip route 10.0.0.0 255.0.0.0 192.168.0.254 ?  
Router(config)#line 1 4 !    
Router(config)#line 1 ?     
Router(config)#line ?   
Router(config)#no ?   
Router(config)#router ?   
Router(config)#router eigrp 1 ! 
Router(config)#router eigrp ?  
Router(config)#router ospf 1 ! 
Router(config)#router ospf ?  
Router(config)#router rip !  
Router(config)#service ?   
Router(config)#service password-encryption !  
Router(config)#username ?   
Router(config)#username wang ?  
Router(config)#username wang password 0 6546546 !
Router(config)#username wang password 0 ?
Router(config)#username wang password 7 65465465 !
Router(config)#username wang password 7 ?
Router(config)#username wang password 6546531 !    
Router(config)#username wang password ?     
Router(config-if)#?        
Router(config-if)#arp ?       
Router(config-if)#arp timeout 10 !     
Router(config-if)#arp timeout ?      
Router(config-if)#bandwidth 1000 !       !
Router(config-if)#bandwidth ?       
Router(config-if)#cdp ?       
Router(config-if)#cdp enable !      
Router(config-if)#delay 10 !      
Router(config-if)#delay ?       
Router(config-if)#description ?       
Router(config-if)#description word-lin2 !      
Router(config-if)#duplex ?       
Router(config-if)#duplex auto !      
Router(config-if)#duplex full !      
Router(config-if)#duplex half !      
Router(config-if)#exit !       
Router(config-if)#ip ?       
Router(config-if)#ip access-group 1 ?     
Router(config-if)#ip access-group 1 in !     !
Router(config-if)#ip access-group 1 out !    
Router(config-if)#ip access-group ?      
Router(config-if)#ip access-group w ?     
Router(config-if)#ip access-group w in !    
Router(config-if)#ip access-group w out !    
Router(config-if)#ip address ?      
Router(config-if)#ip address 192.168.0.2 ?     
Router(config-if)#ip address 192.168.0.2 255.255.255.0 !    
Router(config-if)#ip address dhcp !     
Router(config-if)#ip hello-interval ?      
Router(config-if)#ip hello-interval eigrp 2 10 !
Router(config-if)#ip hello-interval eigrp 2 ?
Router(config-if)#ip hello-interval eigrp ? 
Router(config-if)#ip helper-address ?  
Router(config-if)#ip helper-address 192.168.0.3 ! 
Router(config-if)#ip nat ?  
Router(config-if)#ip nat inside ! 
Router(config-if)#ip nat outside ! 
Router(config-if)#ip ospf ?  
Router(config-if)#ip ospf authentication ? 
Router(config-if)#ip ospf authentication message-digest !
Router(config-if)#ip ospf authentication null !
Router(config-if)#ip ospf authentication-key 6461321 !
Router(config-if)#ip ospf authentication-key ? 
Router(config-if)#ip ospf cost 10 !
Router(config-if)#ip ospf cost ? 
Router(config-if)#ip ospf dead-interval 60 !  
Router(config-if)#ip ospf dead-interval ?   
Router(config-if)#ip ospf hello-interval 30 !  
Router(config-if)#ip ospf hello-interval ?   
Router(config-if)#ip ospf message-digest-key 22 ?  
Router(config-if)#ip ospf message-digest-key 22 md5 654654321 !
Router(config-if)#ip ospf message-digest-key 22 md5 ? 
Router(config-if)#ip ospf message-digest-key ?   
Router(config-if)#ip ospf priority 2 !  
Router(config-if)#ip ospf priority ?   
Router(config-if)#ip split-horizon !    
Router(config-if)#ip summary-address ?    
Router(config-if)#ip summary-address eigrp 2 ?  
Router(config-if)#ip summary-address eigrp 2 192.168.0.2 ? 
Router(config-if)#ip summary-address eigrp 2 192.168.0.2 255.255.255.0 2 !
Router(config-if)#ip summary-address eigrp 2 192.168.0.2 255.255.255.0 ?
Router(config-if)#ip summary-address eigrp ?     
Router(config-if)#mac-address ?       
Router(config-if)#mac-address 22.22.22 !      
Router(config-if)#no ?       
Router(config-if)#shutdown !       
Router(config-if)#speed 10 !      
Router(config-if)#speed 100 !      
Router(config-if)#speed ?       
Router(config-if)#speed auto !      

推荐(0)
收藏
分享至: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 添加到饭否 QQ书签 POCO网摘 Digbuzz我挖网 
Feb
13 2009

Help for Cisco router simulator (dynamips-0.2.7)
思科路由器模拟器(dynamips-0.2.7)帮助
================================================
================================================
Authors of this document: Fabien Devaux, Christophe Fillot, MtvE
文档作者:Fabien Devaux, Christophe Fillot, MtvE

Emulated hardware
*****************
The emulator currently supports the following platforms:
  - Cisco 7200 (NPE-100 to NPE-400)
  - Cisco 3600 (3620, 3640 and 3660)
  - Cisco 2691
  - Cisco 3725
  - Cisco 3745
By default, a Cisco 7206VXR with NPE-200 (256 Mb of DRAM) is emulated. To emulate another platform, use the "-P" command line option (for example,"-P 3725" or "-P 3600").
For the 7200, you can change the NPE type with the "-t" option. It is possible to select "npe-100", "npe-150", "npe-175", "npe-200", "npe-225", "npe-300" and "npe-400". The "npe-g1" is not working.
For the 3600, a 3640 with 128 Mb is emulated by default. You can change this with the "-t" option and by specifying "3620" or "3660".
Don't forget to set the chassis type depending on your IOS image, a c3660 image will not run on c3640 hardware and vice-versa.
Remark: PCMCIA card emulation is not supported yet with Cisco 3600.

虚拟的硬件
*****************
    现阶段,这个模拟器支持以下平台:
  - Cisco 7200 (NPE-100 to NPE-400)
  - Cisco 3600 (3620, 3640 and 3660)
  - Cisco 2691
  - Cisco 3725
  - Cisco 3745
    默认情况下,模拟出的是带有NPE-200(256Mb DRAM)的思科7206VXR。如果要模拟其他的平台,需使用"-P"命令行选项(例如,"-P 3725"或"-P 3600")。
    对于7200,你可以使用"-t"选项改变NPE类型。NPE类型可以选择"npe-100"、"npe-150"、"npe-175"、"npe-200"、"npe-225"、"npe-300"和"npe-400"。"NPE-g1"不能运行。
    对于3600,默认情况下会模拟出一个带有128MB闪存的3640。你可以使用"-t"选项及指定"3620"或"3660"来改变它。
    不要忘记根据你的IOS镜像来设置芯片类型,c3660镜像不能运行在c3640硬件上,反之亦然。
    注意:不支持在Cisco 3600上模拟PCMCIA卡。

Command Line Options overview
*****************************

  -l       : Set logging file (default is dynamips_log.txt)
  -j                 : Disable the JIT compiler, very slow
  --exec-area : Set the exec area size (default: 64 Mb)
  --idle-pc      : Set the idle PC (default: disabled)
  --timer-itv   : Timer IRQ interval check (default: 1000)
  -i       : Set instance ID
  -r       : Set the virtual RAM size
  -o       : Set the virtual ROM size
  -n     : Set the NVRAM size
  -c       : Set the configuration register
  -m       : Set the MAC address of the chassis (default: automatically generated)
  -C       : Import an IOS configuration file into NVRAM
  -X                 : Do not use a file to simulate RAM (faster)
  -R       : Load an alternate ROM (default: embedded)
  -k      : Set the clock divisor (default: 4)

  -T           : Console is on TCP   -U        : Console in on serial interface (default is on the terminal)

  -A           : AUX is on TCP   -B        : AUX is on serial interface (default is no AUX port)

  --disk0      : Set PCMCIA ATA disk0: size
  --disk1      : Set PCMCIA ATA disk1: size

  -a       : Virtual ATM switch configuration file
  -f       : Virtual Frame-Relay switch configuration file
  -E       : Virtual Ethernet switch configuration file
  -b       : Virtual bridge configuration file
  -e                 : Show network device list of the host machine

Options specific to the Cisco 7200 series:
  -t       : Select NPE type (default: "npe-200")
  -M       : Select Midplane ("std" or "vxr")
  -p        : Define a Port Adapter
  -s         : Bind a Network IO interface to a Port Adapter

Options specific to the Cisco 3600 series ("dynamips -P 3600 --help"):
  -t   : Select Chassis type (default: "3640")
  --iomem-size : IO memory (in percents, default: 5)
  -p        : Define a Network Module
  -s         : Bind a Network IO interface to a Network Module

Options specific to the Cisco 2691 series ("dynamips -P 2691 --help"):
  --iomem-size : IO memory (in percents, default: 5)
  -p        : Define a Network Module
  -s         : Bind a Network IO interface to a Network Module

Options specific to the Cisco 3725 series ("dynamips -P 3725 --help"):
  --iomem-size : IO memory (in percents, default: 5)
  -p        : Define a Network Module
  -s         : Bind a Network IO interface to a Network Module

Options specific to the Cisco 3745 series ("dynamips -P 3745 --help"):
  --iomem-size : IO memory (in percents, default: 5)
  -p        : Define a Network Module
  -s         : Bind a Network IO interface to a Network Module

命令行选项概述
*****************************

  -l       :设置日志文件(默认为dynamips_log.txt)
  -j                 : 禁用JIT编译器,非常慢
  --exec-area : 设置执行区域大小(默认:64Mb)
  --idle-pc      : 设置空闲PC(默认:禁用)
  --timer-itv   : 中断请求间隔检查时间(默认:1000)
  -i       : 设置实例ID
  -r       : 设置RAM大小
  -o       : 设置ROM大小
  -n     : 设置NVRAM大小
  -c       : 设置配置寄存器
  -m       : 设置芯片MAC地址(默认:自动生成)
  -C       : 导入一个IOS配置文件到NVRAM中
  -X                 : 不要使用文件来模拟RAM(更快)
  -R       : 加载一个交变ROM(默认:集成的)
  -k      : 设置分时器(默认:4)

  -T           : 控制台端口在TCP <端口>上
  -U        : 控制台商品在串行接口 上(默认是在终端上)

  -A           : AUX在TCP <端口>上
  -B        : AUX在串行接口 上(默认是在终端上)

  --disk0      : 设置PCMCIA ATA 磁盘0: 容量
  --disk1      : 设置PCMCIA ATA 磁盘1: 容量

  -a       : 虚拟ATM交换机配置文件
  -f       : 虚拟帧中继交换机配置文件
  -E       : 虚拟以太网交换机配置文件
  -b       : 虚拟桥配置文件
  -e                 : 显示主机网络设置列表

Cisco 7200系列特有的选项:
  -t       : 选择NPE类型(默认:"npe-200")
  -M       : 选择Midplane("std"或"vxr")
  -p        : 定义一个端口适配器
  -s         : 绑定一个网络IO接口到一个端口适配器

Cisco 3600系列特有的选项("dynamips -P 3600 --help"):
  -t   : 选择芯片类型(配置:"3640")
  --iomem-size : IO内存(单位为百分比,默认:5)
  -p        : 定义一个网络模块
  -s         : 绑定一个网络IO接口到一个网络模块
Cisco 2691系列特有的选项("dynamips -P 2691 --help"):
  --iomem-size : IO内存(单位为百分比,默认:5)
  -p        : 定义一个网络模块
  -s         : 绑定一个网络IO接口到一个网络模块

Cisco 3725系列特有的选项("dynamips -P 3725 --help"):
  --iomem-size : IO内存(单位为百分比,默认:5)
  -p        : 定义一个网络模块
  -s         : 绑定一个网络IO接口到一个网络模块

Cisco 3745系列特有的选项("dynamips -P 3745 --help"):
  --iomem-size : IO内存(单位为百分比,默认:5)
  -p        : 定义一个网络模块
  -s         : 绑定一个网络IO接口到一个网络模块
Command Line Options details
****************************
-k :
   Specify the clock divider (integer) based on the host clock. Alter the value to match the CISCO clock with the real time. The command "show clock" at the IOS' CLI will help you set this value.

--idle-pc :
   The "idle PC" feature allows you to run a router instance without having a 100% CPU load. This implies that you can run a larger number of instances per real machine. To determine the "idle PC", start normally the emulator with your Cisco IOS image, and a totally IOS empty configuration (although not mandatory, this will give better results). When the image is fully booted, wait for the "Press RETURN to get started!" message prompt, but do not press Enter key. Wait about 5 seconds, then press "Ctrl-] + i". Some statistics will be gathered during 10 seconds. At the end, the emulator will display a list of possible values to pass to the "--idle-pc" option. You may have to try some values before finding the good one. To check if the idle PC value is good, just boot the Cisco IOS image, and check your CPU load when the console prompt is available. If it is low, you have found a good value, keep it preciously.

   Important remarks:
   ==================
      * An "idle PC" value is *specific* to a Cisco IOS image. You cannot boot a different IOS image without proceeding as described above.
      * Do not run the process while having the "autoconfiguration" prompt.

--exec_area :
   The exec area is a pool of host memory used to store pages translated by the JIT (they contain the native code corresponding to MIPS code pages).

命令行选项详述
****************************
-k :
   根据主机时钟指定时钟分频器(整数)。改变其值以匹配拥有真实时间的思科时钟。

--idle-pc :
   "idle PC"特色功能允许你在不需要100%CPU负荷的情况下运行一路由器实例。这意味着你可以在一台真正的机器上运行更多的实例。为了确定"idle PC"值,先按常规使用你的思科IOS镜像运行模拟器,等待“按回车键开始”的消息提示,但不要按回车键。等待大约5秒钏,然后按"Ctrl-]+i"。一些统计数会在10秒内收集。最后,模拟器会显示一个可以传递给"--idle-pc"选项的可能值的列表。你可能必须尝试这些值然后才能找到一个合适的值。为了检验此值是否合适,只需启动思乎IOS镜像,并在控制台提示出现时检查CPU负荷。如果CPU负荷低,则证明你找到了一个合适的值,并珍惜地保存它。

   特别注意:
   ==================
      * 一个"idle PC"是针对一个思科IOS镜像的。你不能在没有进行上面描述的操作前启动一个不同的IOS镜像。
      * 当有"autoconfiguration"提示时不要运行那个进程。

--exec_area :
   执行区域是一个用来存储JIT编译页(JIT编译页包含本地代码,这与MIPS代码页对应)的主机内存池。

Cisco 7200 Port Adapter Description " ":
------------------------------------------------
   Format: slot:pa_driver
   slot: the number of the physical slot (starts from 0)
   pa_driver: the name of a Port Adapter driver in:
        - C7200-IO-FE  (FastEthernet, slot 0 only)
        - PA-FE-TX     (FastEthernet, slots 1 to 6)
        - PA-4E        (Ethernet, 4 ports)
        - PA-8E        (Ethernet, 8 ports)
        - PA-4T+       (Serial, 4 ports)
        - PA-8T        (Serial, 8 ports)
        - PA-A1        (ATM)

Cisco 7200 端口适配器描述 " ":
------------------------------------------------
   格式:插槽:端口适配器驱动
   插槽:物理插槽号(从0开始)
   端口适配器驱动:端口适配器驱动名称
        - C7200-IO-FE  (FastEthernet, slot 0 only)
        - PA-FE-TX     (FastEthernet, slots 1 to 6)
        - PA-4E        (Ethernet, 4 ports)
        - PA-8E        (Ethernet, 8 ports)
        - PA-4T+       (Serial, 4 ports)
        - PA-8T        (Serial, 8 ports)
        - PA-A1        (ATM)

Cisco 3600 Network Module Description "":
--------------------------------------------------
   Format: slot:nm_driver
   slot: the number of the physical slot (starts from 0)
   nm_driver: the name of a Network Module driver in:
        - NM-1E        (Ethernet, 1 port)
        - NM-4E        (Ethernet, 4 ports)
        - NM-1FE-TX    (FastEthernet, 1 port)
        - NM-4T        (Serial, 4 ports)
        - NM-16ESW     (Ethernet switch module, 16 ports)
        - Leopard-2FE  (Cisco 3660 FastEthernet in slot 0, automatically used)

思科3600网络模块描述 "":
--------------------------------------------------
   格式:插槽:网络模块驱动
   插槽:物理插槽号(从0开始)
   网络模块驱动:网络模块驱动名称
        - NM-1E        (Ethernet, 1 port)
        - NM-4E        (Ethernet, 4 ports)
        - NM-1FE-TX    (FastEthernet, 1 port)
        - NM-4T        (Serial, 4 ports)
        - NM-16ESW     (Ethernet switch module, 16 ports)
        - Leopard-2FE  (Cisco 3660 FastEthernet in slot 0, automatically used)

Cisco 2691/3725/3745 Network Module Description "":
------------------------------------------------------------
   Format: slot:nm_driver
   slot: the number of the physical slot (starts from 0)
   nm_driver: the name of a Network Module driver in:
        - NM-1FE-TX    (FastEthernet, 1 port)
        - NM-4T        (Serial, 4 ports)
        - NM-16ESW     (Ethernet switch module, 16 ports)
        - GT96100-FE   (2 integrated ports, automatically used)

思科2691/3725/3745 网络模块描述"":
------------------------------------------------------------
   格式: 插槽:网络模块驱动
   插槽: 物理插槽号(从0开始)
   网络模块驱动:网络模块驱动名称 
        - NM-1FE-TX    (FastEthernet, 1 port)
        - NM-4T        (Serial, 4 ports)
        - NM-16ESW     (Ethernet switch module, 16 ports)
        - GT96100-FE   (2 integrated ports, automatically used)

NIO binding to Port Adapter " " and Network Modules "":
----------------------------------------------------------------------

   Format: slot:port:netio_type[:netio_parameters]
   slot: the number of the physical slot (starts from 0)
   port: the port in the specified slot (starts from 0)
   netio_type : host interface for communication
        unix::
           Use unix sockets for local communication.
           is created and represents the local NIC.
           is the file used by the other interface.
           (ex. "/tmp/local:/tmp/remote")

        vde::
           For use with UML (User-Mode-Linux) or VDE switches.
           VDE stands for "Virtual Distributed Ethernet".
           Please refer to : http://sourceforge.net/projects/vde/

        tap:
           Use a virtual ethernet device for communication.
           is the name of the tap device (ex. "tap0")

        gen_eth:
           Use a real ethernet device for communication, using libpcap 0.9
           or WinPcap. Works on Windows and Unix systems.         

           is the name of the Ethernet device (ex. "eth0")

           The device list can be found using the "-e" option.

        linux_eth:
           Use a real ethernet device for communication (Linux specific).
           is the name of the Ethernet device (ex. "eth0")

        udp:::
           Use an UDP socket for connection between remote instances.
           is the port we listen to.
           is the host listening the port you want to connect to.
           is the port you want to connect to.
    (ex. "1000:somehost:2000" and "2000:otherhost:1000" on the other
           side)

        tcp_cli::            Client side of a tcp connection.
           is the ip address of the server.
           is the port to connect to.

        tcp_ser:            Server side of a tcp connection.
           is the port to listen to.

        null
           Dummy netio (used for testing/debugging), no parameters needed.

NIO绑定到端口适配器" "和网络模块"":
----------------------------------------------------------------------
   格式:插槽:端口:NIO类型[:NIO参数]
   插槽:物理插槽号(从0开始)
   端口:指定插槽中的端口(从0开始)
   NIO类型:用来通信的主机接口
        unix::
           Use unix sockets for local communication.
           is created and represents the local NIC.
           is the file used by the other interface.
           (ex. "/tmp/local:/tmp/remote")

        vde::
           For use with UML (User-Mode-Linux) or VDE switches.
           VDE stands for "Virtual Distributed Ethernet".
           Please refer to : http://sourceforge.net/projects/vde/

        tap:
           Use a virtual ethernet device for communication.
           is the name of the tap device (ex. "tap0")

        gen_eth:
           Use a real ethernet device for communication, using libpcap 0.9
           or WinPcap. Works on Windows and Unix systems.         

           is the name of the Ethernet device (ex. "eth0")

           The device list can be found using the "-e" option.

        linux_eth:
           Use a real ethernet device for communication (Linux specific).
           is the name of the Ethernet device (ex. "eth0")

        udp:::
           Use an UDP socket for connection between remote instances.
           is the port we listen to.
           is the host listening the port you want to connect to.
           is the port you want to connect to.
    (ex. "1000:somehost:2000" and "2000:otherhost:1000" on the other
           side)

        tcp_cli::            Client side of a tcp connection.
           is the ip address of the server.
           is the port to connect to.

        tcp_ser:            Server side of a tcp connection.
           is the port to listen to.

        null
           Dummy netio (used for testing/debugging), no parameters needed.

VTTY binding to real serial port device "":
----------------------------------------------------
   Format: {:baudrate{:databits{:parity{:stopbits{:hwflow}}}}}}
   ...
   ...
   ...
   ...
   ...
   Note that the device field is mandatory, however other fields are optional. (dynamips will default to 9600, 8, N, 1, no hardware flow control)
   Note that access to the escape commands (described below) through a serial port are deliberately prevented, as the escape commands interfere with serial encapsulation protocols.
VTTY绑定到真实的串口设备"":
----------------------------------------------------
   格式:<设备>{:波特速率{:数据位数{:奇偶校验{:停止位{:硬件流控}}}}}}
   设备: 字符设备名称,例如/dev/ttyS0
   波特速率: 波特速率
   数据位数: 数据位数
   奇偶校验: 数据奇偶校验: N=无, O=奇, E=偶,
   停止位: 停止位
   硬件流量控制: 硬件流量控制(0=停用,1=启用)
   注意,设备字段是必需的,而其他字段是可选的。(dynamips默认设置为9600,8,N,1,停用硬件流量控制)
   注意,通过一个串行端口访问“退出命令”(下面有描述)是被特意阻止的,因为退出命令与串行封装协议有冲突。

Escape commands
***************
You can press ^] (Ctrl + ]) at any time, followed by one of these characters:
o : Show the VM object list
d : Show the device list
r : Dump MIPS CPU registers
t : Dump MIPS TLB entries
m : Dump the latest memory accesses
s : Suspend CPU emulation
u : Resume CPU emulation
q : Quit the emulator
b : Dump the instruction block tree
h : JIT hash table statistics
l : MTS64 cache statistics
c : Write IOS configuration to disk (ios_cfg.txt)
j : Non-JIT mode statistics
i : Determine an idling pointer counter
x : Experimentations (can crash the box!)
^]: Send ^]
If you press an unrecognized key, help will be shown.
Note: on Windows, it may be the "Ctrl + $" sequence.

退出命令
***************
    你可在任何时候按^] (Ctrl + ]),紧接着按这些字符之一:
o : 显示VM对象列表
d : 显示设备列表
r : 清除MIPS CPU 寄存器
t : 清除 MIPS TLB 入口
m : 清除最近的内存访问
s : 中止CPU模拟
u : 恢复CPU模拟
q : 退出模拟器
b : 清除指令块树
h : JIT hash表统计信息
l : MTS64 缓存统计信息
c : 写IOS配置到磁盘(ios_cfg.txt)
j : 非JIT模式统计信息
i : 确定一个空闲点计数器
x : 试验(会使用box崩溃)
^]: 发送^]
    如果你按一个不可识别的键,帮助信息将会显示。
    注意:在Windows中,它可能是"Ctrl + $"组合键。

Virtual Bridge
**************

The virtual bridge is used to emulate a shared network between emulator instances. Any emulator instance can act as a virtual bridge. The configuration file (specified by the "-b" option) contains a list of NetIO descriptors, with the following syntax:
   interface_name:netio_type[:netio_parameters]

Example:

# Connection to instance "I0"
I0:udp:10000:127.0.0.1:10001

# Connection to instance "I1"
I1:udp:10002:127.0.0.1:10003

# Connection to instance "I2"
I2:udp:10004:127.0.0.1:10005

The "I0" instance would be launched with the following parameters:
   dynamips ios.bin -p 1:PA-FE-TX -s 1:0:udp:10001:127.0.0.1:10000

虚拟桥
**************
    虚拟桥是用来模拟两个模拟器实例共享的网络。任何一个模拟器实例都可以作为一个虚拟桥。配置文件(由"-b"选项指定)包含一个NetIO描述列表,语法如下:
   接口名称:NIO类型[:NIO参数]

例子:
# Connection to instance "I0"
I0:udp:10000:127.0.0.1:10001

# Connection to instance "I1"
I1:udp:10002:127.0.0.1:10003

# Connection to instance "I2"
I2:udp:10004:127.0.0.1:10005

"I0"实例可使用以下参数启动:
   dynamips ios.bin -p 1:PA-FE-TX -s 1:0:udp:10001:127.0.0.1:10000

Virtual Ethernet switch
***********************
The virtual ethernet switch is used to emulate an Ethernet network between emulator instances. This switch supports access and trunk ports (802.1Q). ISL will be available in a future release. Any emulator instance can act as a virtual ethernet switch. The configuration file (specified by the "-E" option) contains a list of NetIO descriptors (representing interfaces) and a list of interface properties (access/trunk port, VLAN info...)

The interface definition is similar to Port Adapters:
    IF:interface_name:netio_type[:netio_parameters]

1) Configuring an Access Port
syntax: ACCESS:interface_name:vlan_id
2) Configuration a 802.1Q Trunk Port
syntax: DOT1Q:interface_name:native_vlan

The native VLAN is not tagged. On Cisco devices, by default the native VLAN is VLAN 1.

Example of configuration file:
IF:E0:udp:10000:127.0.0.1:10001
IF:E1:udp:10002:127.0.0.1:10003
IF:E2:gen_eth:eth0

DOT1Q:E0:1
ACCESS:E1:4
DOT1Q:E2:1

虚拟以太网交换机
***********************
    虚拟以太网交换机被用来模拟模拟器实例之间的以太网络。这个交换机支持访问和主干端口(802.1Q)。ISL将在未来的发行版本可以使用。任何虚拟器实例都可以做为一个虚拟以太网交换机。配置文件(由"-E"选项指定)包含一个NetIO描述(它代表接口)列表和一个接口属性(访问/主干端口,VLAN信息...)列表。
    接口定义类似于端口适配器:
    IF:接口名称:NIO类型[:NIO参数]

1) 配置一个访问端口
语法:ACCESS:接口名称:VLAN-ID
2) 配置一个802.1Q主干端口
语法:DOT1Q:接口名称:本地VLAN

    本地VLAN是未标记的。在思科设备中,本地VLAN默认为VLAN1。

配置文件的例子:
IF:E0:udp:10000:127.0.0.1:10001
IF:E1:udp:10002:127.0.0.1:10003
IF:E2:gen_eth:eth0

DOT1Q:E0:1
ACCESS:E1:4
DOT1Q:E2:1

Virtual ATM switch
******************
The virtual ATM switch fabric is used to emulate an ATM backbone between emulator instances. The use of this virtual switch is not mandatory, you can directly connect emulator instances for point-to-point ATM connections. Please note that only basic VP/VC switching is supported, there is no support for ILMI/QSAAL/... or other specific ATM protocols.
Any emulator instance can act as a virtual ATM switch.

Example of configuration file (specified by the "-a" option):
# Virtual Interface List
IF:A0:udp:10001:127.0.0.1:10000
IF:A1:udp:10002:127.0.0.1:10003
IF:A2:udp:10004:127.0.0.1:10005

# VP connection between I0 and I1
VP:A0:10:A1:20
VP:A1:20:A0:10

# VP connection between I0 and I2
VP:A0:11:A2:30
VP:A2:30:A0:11

# VC connection between I1 and I2
VC:A1:5:2:A2:7:3
VC:A2:7:3:A1:5:2

In this example, we have 3 virtual interfaces, A0, A1 and A2. The syntax for interface definition is similar to Port Adapters:
   IF:interface_name:netio_type[:netio_parameters]

You can do VP switching or VC switching:
1) VP switching
syntax: VP:input_if:input_vpi:output_if:output_vpi
2) VC switching
syntax: VC:input_if:input_vpi:input_vci:output_if:output_vpi:output_vci

虚拟ATM交换机
******************
    虚拟ATM交换机结构被用来模拟多个模拟器实例之间的ATM骨干网。这个虚拟交换机并不是必须使用的,你可以以点对点ATM连接直接连接虚拟器实例。请注意,只支持基本的VP/VC交换,不支持ILMI/QSAAL/...或其他殊死的ATM协议。
    任何虚拟器实例都可以做为一个虚拟ATM交换机。

    配置文件(由"-a"选项指定)的例子:
# Virtual Interface List
IF:A0:udp:10001:127.0.0.1:10000
IF:A1:udp:10002:127.0.0.1:10003
IF:A2:udp:10004:127.0.0.1:10005

# VP connection between I0 and I1
VP:A0:10:A1:20
VP:A1:20:A0:10

# VP connection between I0 and I2
VP:A0:11:A2:30
VP:A2:30:A0:11

# VC connection between I1 and I2
VC:A1:5:2:A2:7:3
VC:A2:7:3:A1:5:2

    在这个例子中,我们有3个虚拟接口,A0,A1和A2。接口定义语法类似于端口适配器:
   IF:接口名称:NIO类型[:NIO参数]

    你可以做VP交换和VC交换:
1) VP 交换
    语法:VP:输入接口:输入VPI:输出接口:输出VPI
2) VC 交换机
    语法:VC:输入接口:输入VPI:输入VCI:输出接口:输出VPI:输出VCI

Testing the Virtual ATM switch with one dynamips instance
*********************************************************
(Contribution of Mtv Europe)

Virtual ATM switch configuration file ("atm.cfg"):
IF:A0:udp:10003:127.0.0.1:10001
IF:A1:udp:10004:127.0.0.1:10002                                               
# a0/vpi=1/vci=100 connects to a1/vpi=2/vci=200
VC:A0:1:100:A1:2:200                                                          
VC:A1:2:200:A0:1:100

Invoking dynamips:
./dynamips -p 1:PA-A1 -s 1:0:udp:10001:127.0.0.1:10003 \
           -p 2:PA-A1 -s 2:0:udp:10002:127.0.0.1:10004 \
           -a atm.cfg IOS.BIN

(note input ports of IOS interfaces are output ports of ATM switch
interfaces, and vice versa).

IOS configuration:
ip cef
ip vrf test
 rd 1:1
 route-target both 1:1
int a1/0
 no shut
int a1/0.2 p
 ip addr 1.1.1.1 255.255.255.0
 pvc 1/100
interface a2/0
 no shut
interface a2/0.2 p
 ip vrf forwarding test
 ip addr 1.1.1.2 255.255.255.0
 pvc 2/200
!
# ping 1.1.1.2
!!!!!

使用一个dynamips实例测试虚拟ATM交换机
*********************************************************
(Contribution of Mtv Europe)

    虚拟ATM交换机配置文件("atm.cfg"):
IF:A0:udp:10003:127.0.0.1:10001
IF:A1:udp:10004:127.0.0.1:10002                                               
# a0/vpi=1/vci=100 connects to a1/vpi=2/vci=200
VC:A0:1:100:A1:2:200                                                          
VC:A1:2:200:A0:1:100

    调用dynamips:
./dynamips -p 1:PA-A1 -s 1:0:udp:10001:127.0.0.1:10003 \
           -p 2:PA-A1 -s 2:0:udp:10002:127.0.0.1:10004 \
           -a atm.cfg IOS.BIN

    (注意IOS接口的输入端口是ATM交换机接口的输出商品,反之亦然)。

    IOS 配置:
ip cef
ip vrf test
 rd 1:1
 route-target both 1:1
int a1/0
 no shut
int a1/0.2 p
 ip addr 1.1.1.1 255.255.255.0
 pvc 1/100
interface a2/0
 no shut
interface a2/0.2 p
 ip vrf forwarding test
 ip addr 1.1.1.2 255.255.255.0
 pvc 2/200
!
# ping 1.1.1.2
!!!!!

Virtual Frame-Relay switch
**************************

The virtual Frame-Relay switch fabric is used to emulate a Frame-Relay backbone between emulator instances. The use of this virtual switch is not mandatory, you can directly connect emulator instances with appropriate IOS configuration.
Any emulator instance can act as a virtual Frame-Relay switch.
There is only a basic implementation of the LMI protocol (ANSI Annex D), which is probably not conforming but works with Cisco IOS. Fortunately, Cisco IOS is able to detect automatically the LMI protocol.

Example of configuration file (specified by the "-f" option):
# Virtual Interface List
IF:S0:udp:10001:127.0.0.1:10000
IF:S1:udp:10002:127.0.0.1:10003

# DLCI switching between S0 and S1
VC:S0:200:S1:100
VC:S1:100:S0:200

In this example, we have 2 virtual interfaces, S0 and S1. The syntax for interface definition is similar to Port Adapters:
   IF:interface_name:netio_type[:netio_parameters]

DLCI switching syntax:
   VC:input_if:input_dlci:output_if:output_dlci

In the example above, the switch is configured to switch packets received on interface S0 with DLCI 200 to interface S1 with DLCI 100, and vice-versa.

虚拟帧中继交换机
**************************
    虚拟帧中继交换机结构被用来模拟一个虚拟器实例之间的帧中继骨干网。此虚拟交换机不是必需的,你可以用适当的IOS配置直接连接虚拟器实例。
    任何一个虚拟器实例都可以做为一个虚拟器帧中继交换机。
    只有一个LMI协议的基本实现方法,此实现方法可能不符合思科IOS,但却可以工作。幸运的是,思科IOS可以自动检测LMI协议。

    配置文件(由"-f"选项指定)的例子:
# Virtual Interface List
IF:S0:udp:10001:127.0.0.1:10000
IF:S1:udp:10002:127.0.0.1:10003

# DLCI switching between S0 and S1
VC:S0:200:S1:100
VC:S1:100:S0:200

   在这个例子中,我们有2个虚拟接口,S0和S1。接口定义语法类似于端口适配器:
   IF:接口名称:NIO类型[:NIO参数]

   DLCI交换语法:
   VC:输入接口:输入DLCI:输出接口:输出DLCI

   在这个例子中,交换机被配置用来交换接口S0(用DLCI 200)和接口S1(用DLCI 100)接收的数据包,反之亦然。

== EOF ==

== 结束 ==

 

推荐(0)
收藏
分享至: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 添加到饭否 QQ书签 POCO网摘 Digbuzz我挖网 
Feb
10 2009

RouterOS中限制每客户机连接数

/ ip firewall filter
add chain=forward protocol=tcp connection-limit=35,32 action=drop disabled=no comment="tcp=35"

推荐(0)
收藏
分享至: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 添加到饭否 QQ书签 POCO网摘 Digbuzz我挖网 
Feb
10

RouterOS删除已经关闭的连接

/ system scheduler add name="del_close" on-event="/ip firewall connection remove \[/ip \
    firewall connection find tcp-state=close\]" start-date=jan/01/1970 \
    start-time=00:00:00 interval=1m comment="" disabled=no

推荐(0)
收藏
分享至: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 添加到饭否 QQ书签 POCO网摘 Digbuzz我挖网 
Feb
10

RouterOS批量绑定ARP

:foreach szwm in=[/ip arp find dynamic=yes ] do=[/ip arp add copy-from=$szwm]

RouterOS批量删除绑定ARP

:foreach szwm in [/ip arp find] do={/ip arp remove $szwm}

推荐(0)
收藏
分享至: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 添加到饭否 QQ书签 POCO网摘 Digbuzz我挖网 
Feb
10

RouterOS配置ADSL双线分流

第一步、设置内网IP(让WINBOX可以登录):
内网网卡:ether1(建议使用最好性能的网卡为内网网卡,一般情况下电脑PCI靠近CPU的网卡或主板集成的网卡为ether1),
内网IP:192.168.0.254(这里设置你将要设置为内网网关的IP),
子网掩码:255.255.255.0(例如内网子网掩为255.255.255.0也可以设置为24位),
子网网段:192.168.0.0(设置局域网内网网段)。
/ ip add add interface=ether1 address=192.168.0.254/255.255.255.0

第二步、用winbox连接后运行以下命令:
ADSL账号:ai800@adsl1,ADSL密码:88888888,分流IP段:192.168.0.1-192.168.0.20;
ADSL账号:ai800@adsl2,ADSL密码:88888888,分流IP段:192.168.0.21-192.168.0.253。

/ ip firewall nat add action=masquerade chain=srcnat src-address=192.168.0.0/255.255.255.0
/ interface pppoe-client add name="pppoe-out1" interface=ether2 user="ai800@adsl1" password="88888888" add-default-route=no disabled=no
/ interface pppoe-client enable pppoe-out1
/ ip address add address=58.58.58.51/32 interface=pppoe-out1 comment="adsl"1
/ ip firewall mangle add chain=prerouting src-address=192.168.0.1-192.168.0.20 action=mark-routing new-routing-mark=adsl1 comment=adsl1
/ ip route add gateway=58.58.58.51 routing-mark=adsl1 comment=adsl1
/ interface pppoe-client add name="pppoe-out2" interface=ether3 user="ai800@adsl2" password="88888888" add-default-route=no disabled=no
/ interface pppoe-client enable pppoe-out2
/ ip address add address=58.58.58.52/32 interface=pppoe-out2 comment="adsl"2
/ ip firewall mangle add chain=prerouting src-address=192.168.0.21-192.168.0.253 action=mark-routing new-routing-mark=adsl2 comment=adsl2
/ ip route add gateway=58.58.58.52 routing-mark=adsl2 comment=adsl2
第三步、设置将自动获取到的IP转成固定IP同时设置路由表:
将下面所生成的脚本复制到ROS的计划任务上,设置30S运行一次。打开WINBOX后进入SCHEDULER,添加任务:NAME设置为adsl,INTERVAL设置为30S。
:local assign-address
:local new-address
:local status
:local x
:set x 2
:for i from=1 to=$x do={
:set status [/interface get [/interface find  name=("pppoe-out" . $i)] running]
:if ($status=true) do={
:set new-address [/ip address get [/ip address find dynamic=yes interface=("pppoe-out" . $i)] address]
:set new-address [:pick $new-address 0 [:find $new-address "/"]]
:set assign-address [/ip address get [/ip address find dynamic=no interface=("pppoe-out" . $i)] address]
:set assign-address [:pick $assign-address 0 [:find $assign-address "/"]]
:if ($assign-address != $new-address) do={
/ip address set [/ip address find comment=("adsl" . $i)] address=$new-address network=$new-address broadcast=$new-address
/ip route set [/ip route find comment=("adsl" . $i)] gateway=$new-address
}
}
}

推荐(0)
收藏
分享至: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 添加到饭否 QQ书签 POCO网摘 Digbuzz我挖网 
Feb
10

RouterOS配置ADSL

第一步、设置内网IP(让WINBOX可以登录):
内网网卡:ether2(建议使用最好性能的网卡为内网网卡,一般情况下电脑PCI靠近CPU的网卡或主板集成的网卡为ether1),
内网IP:192.168.0.254(这里设置你将要设置为内网网关的IP),
子网掩码:255.255.255.0(例如内网子网掩为255.255.255.0也可以设置为24位)。
/ ip add add interface=ether2 address=192.168.0.254/255.255.255.0

第二步、用WINBOX连接后运行此步生命令即可上网(MASQ自动IP伪装):
拨号标志(名字):pppoe-out1,
外网网卡:ether1(这里不能和第一步的内网网卡一致,否则会出错),
ADSL用户名:ai800@adsl
ADSL密码:88888888,
内网网段:192.168.0.0(设置局域网内网网段,用于MASQ自动IP伪装),
内网掩码:255.255.255.0(例如内网子网掩码为255.255.255.0也可设置为24位)。
/ interface pppoe-client add name="pppoe-out1" interface=ether1 user="ai800@adsl password="88888888" add-default-route=yes disabled=no
/ ip firewall nat add action=masquerade chain=srcnat src-address=192.168.0.0/255.255.255.0
/ ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1400

 

推荐(0)
收藏
分享至: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 添加到饭否 QQ书签 POCO网摘 Digbuzz我挖网 
Feb
10

RouterOS配置VPN

第一步、激活PPTP SERVER并添加IP地址池(服务器):
设置连接此VPN服务的客户端IP地址池(此IP地址池最好不要与本地局域网在同一IP段):172.16.254.1-172.16.254.254,服务标识(设置多个VPN服务时标识不能重复):pptp_pool。
/ interface pptp-server server set enabled=yes
/ ip pool add name=pptp_pool ranges=172.16.254.1-172.16.254.254

第二步、添加Profiles模板(服务器):
模板标识pptp_profile,IP地址池网关172.16.254.1,外网IP地址:202.96.134.134,服务标识(与第一步的服务标识一致)pptp_pool,VPN客户限速上传50KB下载100KB。
/ ppp profile add name="pptp_profile" local-address=172.16.254.1 remote-address=pptp_pool use-compression=yes use-vj-compression=yes use-encryption=yes only-one=yes change-tcp-mss=no rate-limit=400000/800000 dns-server=172.16.254.1

第三步、添加VPN账号(服务器):
模板标识(与第二步的模板标识一致):pptp_profile,用户名ai800,密码ai800.com
/ ppp secret add name="ai800" service=pptp caller-id="" password="ai800.com" profile=pptp_profile local-address=0.0.0.0 remote-address=0.0.0.0 routes="" limit-bytes-in=0 limit-bytes-out=0 comment="" disabled=no

第四步、添加路由器(服务器):
IP地址池所在网段172.16.254.0,子网掩码24位。
/ ip firewall nat add chain=srcnat src-address=172.16.254.0/24 action=masquerade

第五步、添加ROS客户机连接服务端规则(客户端):
连接标识ai800_pptp_client,服务器IP(即第三步设置的外网IP地址)202.96.134.134,用户名ai800,密码ai800.com。
/interface pptp-client add name="ai800_pptp_client" max-mtu=1460 max-mru=1460 connect-to=202.96.134.134 user="ai800" password="ai800.com" profile=default-encryption add-default-route=no allow=pap,chap,mschap1,mschap2 disable=no

第六步、添加ROS客户机路由表(客户端):
电信网关202.96.134.134,网通网关172.16.254.1,电信为主,网通为辅。
/ ip route
add dst-address=59.80.0.0/14 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.0.0.0/13 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.8.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.10.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.12.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.13.0.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.13.128.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.16.0.0/12 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.55.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.208.0.0/13 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.216.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=60.220.0.0/14 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.4.79.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.4.64.0/20 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.48.0.0/13 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.128.210.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.133.0.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.134.98.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.134.108.0/22 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.134.120.0/28 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.134.112.0/20 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.134.96.0/19 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.134.128.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.135.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.136.64.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.137.128.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.138.128.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.139.128.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.148.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.156.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.158.128.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.159.0.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.161.0.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.161.128.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.167.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.168.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.176.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.179.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.180.13.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.180.128.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.181.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.182.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.189.0.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.233.7.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.233.59.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=61.237.148.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.95.98.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.96.0.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.96.66.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.96.64.0/19 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.97.128.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.98.0.0/19 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.99.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.102.128.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.102.224.0/19 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.106.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.107.0.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.108.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.110.0.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.110.192.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=202.111.128.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=203.88.200.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=203.88.203.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=203.93.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=203.175.192.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=210.51.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.69.0.0/25 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.95.192.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.97.245.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.148.8.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.151.130.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.158.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=211.163.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.7.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.8.0.0/14 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.12.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.24.0.0/14 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.28.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.56.0.0/14 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.60.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.62.0.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.67.128.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.68.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.104.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.106.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.107.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.108.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=218.109.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=219.154.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=219.156.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=219.158.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=219.159.0.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=220.248.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=220.250.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.0.0.0/14 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.4.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.6.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.7.0.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.7.64.0/19 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.7.128.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.8.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.10.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.11.0.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.11.128.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.11.192.0/19 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.12.0.0/17 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.12.128.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.13.0.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.13.64.0/19 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.14.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.136.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.192.0.0/14 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.196.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.198.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.199.0.0/19 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.199.32.0/20 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.199.128.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.199.192.0/20 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.200.0.0/14 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.204.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.207.0.0/18 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.208.0.0/14 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.212.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.214.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=221.216.0.0/13 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.128.0.0/12 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.160.0.0/15 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.162.0.0/16 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.163.0.0/19 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.173.101.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.173.102.0/23 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.173.104.0/22 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.173.108.0/23 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=222.208.65.0/24 gateway=172.16.254.1 check-gateway=ping
distance=1 scope=255 target-scope=10 comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=202.96.134.134 check-gateway=ping distance=2
scope=255 target-scope=10 comment="" disabled=no

 

推荐(0)
收藏
分享至: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 添加到饭否 QQ书签 POCO网摘 Digbuzz我挖网