Routing Generator with Cisco Router (7200)
  • IPv4
    lne bgp
    add bgp
    ip version 4
    ip source 10.1.1.2
    ip destination 10.1.1.1
    autonomous-system 29363
    remote-as 29363
    !
    group 1
    address-family ipv4-unicast
    advertise 1 networks => 14.0.0.0/24 ถ้าเป็น 2 จะ + 14.0.1.0/24 ไปอีก 1 บรรทัด ใน routing table
    network start 14.0.0.0
    network subnetmask 255.255.255.0
    !
    add group => Discontinuous IP address
    address-family ipv4-unicast
    advertise 1 networks
    network start 24.0.0.0
    network subnetmask 255.255.255.0
    !
    add group
    ...


    IPv6
    lne bgp
    add bgp
    ip version 6
    ip destination 2003:1:1:1::1
    id 1.1.1.2
    autonomous-system 29363
    remote-as 29363
    !
    group 1
    address-family ipv6-unicast
    advertise 1 networks
    network start 100:11:22::
    network prefix-bits 64
    !
    add group
    address-family ipv6-unicast
    advertise 1 networks
    network start 200:11:22::
    network prefix-bits 64
    !
    add group
    ...

    (BGP:ON,Gi0/1:1-Grp1)#show config
    (BGP:ON,Gi0/1:1-Grp1)#clear config
    (BGP:ON,Gi0/1:1-Grp1)#show all
    (BGP:ON,Gi0/1:1-Grp1)#start
    (BGP:ON,Gi0/1:1-Grp1)#stop

    Router Test
    router bgp 29363
    bgp router-id 194.168.1.1 => Pagent id 1.1.1.2 ก็ได้
    bgp log-neighbor-changes
    neighbor 2003:1:1:1::2 remote-as 29363
    neighbor 194.168.1.2 remote-as 29363
    !
    address-family ipv4
      no neighbor 2003:1:1:1::2 activate
      no neighbor 194.168.1.2 activate
      no auto-summary
    exit-address-family
    !
    address-family ipv6
      neighbor 2003:1:1:1::2 activate
    exit-address-family

    Router#sho ip bgp ipv6 uni sum
    http://www.cse.iitk.ac.in/users/braman/berkeley/iceberg/pres/sahara/toola-2001-pagent.ppt.gz

    [center]Credit: P'Pong@AIT[/center]

    http://www.ciscoclub.in.th/index.php?topic=450
    8)
  • 1 Comment sorted by
  • ลองเอามาทดสอบแล้วใช้ไม่ได้เลย มัน config  ไม่ได้เลยแบบด้านบน ไม่ทราบว่าจะต้องทำยังไงหรือค่ะ