Routing Generator with Cisco Router (7200)

PlAwAnSaI

Administrator
IPv4


Quote:
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


Quote:
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


Quote:
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


Code:
http://www.cse.iitk.ac.in/users/braman/berkeley/iceberg/pres/sahara/toola-2001-pagent.ppt.gz




Credit: P'Pong@AIT





Code:
http://www.ciscoclub.in.th/index.php?topic=450

bigeyes.gif
 

jeng-apple

New member
ลองเอามาทดสอบแล้วใช้ไม่ได้เลย มัน config ไม่ได้เลยแบบด้านบน ไม่ทราบว่าจะต้องทำยังไงหรือค่ะ
 
Top