ISIS配置:

R3
system-view
sysname R3
int lo3
ip address 192.168.3.1 255.255.255.255
undo shutdown
quit
int s0/2/2
ip add 192.168.34.3 255.255.255.0
undo shutdown
quit
isis 100
network-entity 49.0000.0000.0003.00
quit
int lo3
isis  enable 100
quit
int s0/2/2
isis  enable 100
quit

 

R4:
system-view
sysname R4
int lo4
ip address 192.168.4.1 255.255.255.255
undo shutdown
quit
int s0/2/0
ip add 192.168.34.4 255.255.255.0
undo shutdown
quit
isis 100
network-entity 49.0000.0000.0004.00
quit
int lo4
isis  enable 100
quit
int s0/2/0
isis  enable 100
quit

BGP路由基本配置:

 

R3:
system-view
sysname R3
int lo3
ip add 192.168.3.1 255.255.255.255
undo shutdown
quit
int s0/2/2
ip add 192.168.34.3 255.255.255.0
undo shutdown
quit
bgp 300
router-id 3.3.3.3
peer 192.168.34.4 as-number 400
network 192.168.3.1 255.255.255.255
network 192.168.34.0 255.255.255.0
quit
quit


R4:
system-view
sysname R4
int lo4
ip add 192.168.4.1 255.255.255.255
undo shutdown
quit
int s0/2/0
ip add 192.168.34.4 255.255.255.0
undo shutdown
quit
bgp 400
router-id 4.4.4.4
peer 192.168.34.3 as-number 300
network 192.168.4.1 255.255.255.255
network 192.168.34.0 255.255.255.0
quit
quit