Current location - Quotes Website - Collection of slogans - How to set up Cisco Cisco routing BGP
How to set up Cisco Cisco routing BGP
1. 1 Cisco IOS operating environment.

There are three kinds:

ROM monitor & gt password recovery failed.

BootROM router (boot) > flash image upgrade

Cisco IOS Router & gt Normal Operation

Second, the preparation work before configuration

2. 1 Use a terminal or emulation terminal to access the console port.

The configuration information of the terminal or analog terminal is as follows:

9600 baud 8 data bit without parity 2 stop bit (9600, 8/N/2)

2.2 Use the TELNET command to set up the Internet.

System administrators can use the telnet address command for remote configuration on the Internet.

Third, configure the IP address

3. 1 config command line mode for setting.

3. 1. 1 Start the router first and enter the router >; Mode.

Type Enable to enter router # mode.

Then type config to enter router (configuration) # mode.

3. 1.2 Select the router port to configure.

Router (Configuration) # Interface Port Number

Enter the port setting state router (config-if).

At this point, use the command ipaddress.

Set the IP address of the router port.

Four. Configure ip routing protocols (RIP, OSPF, BGP, static).

There are routers A and B in the figure, and WAN is connected to s2/0/0 of router B through s0/0/0 of router A, with the following IP:

Router a:

e 1:202. 10 1. 1. 1/24

s0/0/0:202. 10 1.3 . 1/30

Router b:

e 1:202. 10 1.2 . 1/24

S2/0/0

When we set the router protocol, we can set one or more protocols according to the scheme. The following dynamic protocols are based on the simplest settings. For complex configurations, please refer to the specific manual.

4. 1 static route

IP routing destination network address subnet mask port number

Routes from router a to router b:

IP routing 202.101.2.0 255.255.0 202.10/.3.2.

Routes from router a to router b:

IP routing 202.101.1.0 255.255.0 202.101

4.2 RIP2 settings

Router a makes the following settings:

Router rip enables rip.

Version 2; Select version 2

Network 202.101.1.0; Related subnet address

Network 202. 10 1.3.0

Router b makes the following settings:

Router rip enables rip.

Version 2; Select version 2

Network 202.101.2.0; Related subnet address

Network 202. 10 1.3.0

4.3 OSPF settings

Router a:

Router ospf 200 The number of ospf-enabled processes is 200.

Network 202.101.1.00.0.255 Area 0; Related subnet address and area code

Network 202.101.3.0.0.0.3 Area 0

Router b:

Router ospf 200 The number of ospf-enabled processes is 200.

Network 202.101.2.0 0.0.255 Area 0; Related subnet address and area code

Network 202.101.3.0.0.0.3 Area 0

4.4 BGP settings

Router a:

Router BGP100; Enable bgp to set autonomous domain number.

Network 202. 10 1.3.0 mask 255.255.252; Related subnet address and subnet mask

Network 202.101.1.0 mask 255.255.0; These addresses are sent by bgp to neighboring routers.

Neighbor 202. 10 1.3.2 Remote-AS 200; Set the autonomous domain border router port for remote connection.

Router b:

Router BGP100; Enable bgp to set autonomous domain number.

Network 202. 10 1.2.0 mask 255.255.252; Related subnet address and subnet mask

Network 202.101.1.0 mask 255.255.0; These addresses are sent by bgp to neighboring routers.

Neighbor 202.101.3.1remote-as200; Set the autonomous domain border router port for remote connection.