Cisco Cisco ASR 920-4SZ-A Router

Seite von 32
router ospf 1
log-adjacency-changes
network 192.168.41.0 255.255.0.0 area 0
!
router ospf 10 vrf V1
log-adjacency-changes
redistribute bgp 1 metric 100 subnets
network 192.168.41.0 255.255.0.0 area 0
!
router bgp 1
no synchronization
neighbor 1 peer-group
neighbor 1 remote-as 1
neighbor 1 update-source Loopback0
neighbor 192.168.11.10 peer-group R
no auto-summary
!
address-family ipv4 vrf V1
redistribute ospf 10
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor R activate
neighbor R send-community extended
neighbor 192.168.11.10 peer-group R
no auto-summary
exit-address-family
Example: Configuration for Autonomous System 1 P1
The following example shows how to configure P1 in AS1 in a topology with two autonomous systems:
ip cef
!
interface Loopback0
ip address 10.1.2.1 255.0.0.0
!
interface GigabitEthernet0/4/7
ip address 10.1.0.4 255.0.0.0
tag-switching ip
!
interface GigabitEthernet0/5/3
ip address 10.2.0.3 255.0.0.0
duplex auto
speed auto
tag-switching ip
!
router ospf 1
log-adjacency-changes
network 10.1.0.2 255.0.0.0 area 0
!
router bgp 1
no synchronization
bgp log-neighbor-changes
neighbor R peer-group
neighbor R remote-as 1
neighbor R update-source Loopback0
neighbor R route-reflector-client
neighbor 192.168.3.4 peer-group R
neighbor 192.168.3.5 peer-group R
!
address-family vpnv4
neighbor R activate
neighbor R route-reflector-client
neighbor R send-community extended
neighbor 192.168.3.4 peer-group R
17