Requirements: Suppose the AS65001 network is a telecommunication network AS65002 Network is a mobile network, the network segment 202.106.15.0 is the telecommunication service segment, the network 202.106.48.0 is the mobile service segment
Mutual access, and R4 can remotely control R1.
Configuration on R1:
R1#en
R1#conf T
R1 (config-if) #inter f1/0 Configure IP Address
R1 (config-if) #ip address 202.106.16.1 255.255.255.0
R1 (config-if) #no shut
R1 (config-if) #inter f0/0
R1 (config-if) #ip address 202.106.15.11 255.255.255.0
R1 (config-if) #no shut
R1 (config-if) #inter Loop 0 configuration loopback address
R1 (config-if) #ip address 1.1.1.1 255.255.255.255
R1 (config-if) #no shut
R1 (config) #inter F0/1
R1 (config-if) #ip address 202.106.12.1 255.255.255.0
R1 (config-if) #no shut
R1 (config) #no CDP run
R1 (config) #router ISIS initiates the ISIS protocol
R1 (config-router) #net 49.0001.0001.0001.0001.00 net Address
R1 (config-router) #is-type level-1 is type level is 1
R1 (Config-router) #ex
R1 (config) #inter F0/1
R1 (config-if) #ip Router ISIS
R1 (config-if) #inter f1/0
R1 (config-if) #ip Router ISIS
R1 (config-if) #inter Loop 0
R1 (config-if) #ip Router ISIS
R1 (config-if) #router BGP 65001 BGP AS65001
R1 (config-router) #bgp Router-id 1.1.1.1 BGP routing ID
R1 (config-router) #neighbor 2.2.2.2 remote-as 65001 establish a neighbor relationship
R1 (config-router) #neighbor 2.2.2.2 update-source L 0 Update source for loopback
R1 (config-router) #neighbor 6.6.6.6 remote-as 65001
R1 (config-router) #neighbor 6.6.6.6 update-source L 0
*mar 1 00:26:27.907:%bgp-5-adjchange:neighbor 2.2.2.2 up and 2 establish neighbor relations
R1 (Config-router) #
*mar 1 00:33:30.271:%bgp-5-adjchange:neighbor 6.6.6.6 up and 6 establish neighbor relations
R1 (Config-router) #ex
R1 (config) #int f0/0
R1 (config-if) #vrrp 1 IP 202.106.15.1 VRRP redundant backups
R1 (config-if) #vrrp 1 priority 120 Priority 120
R1 (config-if) #vrrp 1 preempt configuration preemption
R1 (config-if) #ex
R1 (config) #track 1 interface f0/1 line-protocol monitoring port
R1 (config) #track 2 interface f1/0 Line-protocol
R1 (config-track) #inter f0/0
R1 (config-if) #vrrp 1 track 1
R1 (config-if) #vrrp 1 track 2
R1 (config) #router BGP 65001
R1 (config-router) #network 202.106.15.0 Mask 255.255.255.0 Publishing Network
R1 (config) #line vty 0 4 Open Remote administration
R1 (config-line) #password 110
R1 (Config-line) #login
R1 (Config-line) #exit
R1 (config) #enable Secret 110
R1#show VRRP BR R1 is the main router
Interface Grp Pri Time Own Pre State Master addr Group Addr
fa0/0 1 3531 Y Master 202.106.15.11 202.106.15.1
R1#show BGP
BGP table version is 5, the local router ID is 1.1.1.1
Status Codes:s suppressed, D damped, H history, * valid, > Best, I-internal,
R Rib-failure, S stale
Origin codes:i-IGP, E-EGP,? -Incomplete
Network Next Hop Metric locprf Weight Path
R>I2.2.2.2/32 2.2.2.2 0 0 I
*> 202.106.15.0 0.0.0.0 0 32768 I
*>i202.106.48.0 3.3.3.3 0 0 65002 I
Neighbor V as Msgrcvd msgsent tblver InQ outq up/down Neighbor Relational table
2.2.2.2 4 65001 42 41 5 0 0 00:19:10 2
6.6.6.6 4 65001 31 32 5 0 0 00:27:03 0