Differences between G port and S Port

Source: Internet
Author: User

Topology:


650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 120 & H = 100 & t = F & url = http://s3.51cto.com/wyfs02/M01/4D/37/wKioL1RNzXWBk77cAAGj5fYYxTo792.jpg "width =" 120 "Height =" 74 "border =" 0 "hspace =" 0 "vspace =" 0 "Title =" "style =" width: 120px; Height: 74px; "alt =" wkiol1rnzxwbk77caagj5fyyxto792.jpg "/>


Rt1 Configuration:

<Rt1> sys

System View: Return to user view with Ctrl + Z.

[Rt1] int G0/0/0

[RT1-GigabitEthernet0/0/0] IP add 1.1.1.1 24

[RT1-GigabitEthernet0/0/0] Ping 1.1.1.1


650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 120 & H = 100 & t = F & url = http://s3.51cto.com/wyfs02/M01/4D/36/wKiom1RNzSHy8msyAAESrcl6M5k710.jpg "width =" 120 "Height =" 24 "border =" 0 "hspace =" 0 "vspace =" 0 "Title =" "style =" width: 120px; Height: 24px; "alt =" wkiom1rnzshy8msyaaesrcl6m5k710.jpg "/>


[RT1-GigabitEthernet0/0/0] int S0/1/0

[RT1-Serial0/1/0] IP add 2.2.2.2 24

[RT1-Serial0/1/0] Ping 2.2.2.2


650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 120 & H = 100 & t = F & url = http://s3.51cto.com/wyfs02/M02/4D/37/wKioL1RNzXWx0F3vAADclxTVbjo652.jpg "width =" 120 "Height =" 38 "alt =" wkiol1rnzxwx0f3vaadclxtvbjo652.jpg "/>

Rt2 Configuration:

<Rt2> sys

System View: Return to user view with Ctrl + Z.

[Rt2]

[Rt2] int G0/0/0

[RT2-GigabitEthernet0/0/0] IP add 2.2.2.3 24

[RT2-GigabitEthernet0/0/0] int S0/1/0

[RT2-Serial0/1/0] IP add 1.1.1.2 24

[RT2-Serial0/1/0]

% SEP 28 21: 58: 41: 859 2014 rt2 IFNet/5/protocol_updown: Protocol PPP ipcp on the Interface serial0/1/0 is up.

[RT2-Serial0/1/0]

 

Configure a loop address for rt1 and rt2:

[RT1-Serial0/1/0] Quit

[Rt1] int loo1

[RT1-LoopBack1] IP add 3.3.3.3 32

 

[RT2-Serial0/1/0] Quit

[Rt2] int loo1

[RT2-LoopBack1] IP add 4.4.4.4 32

RT2-LoopBack1

 

Close the s ports of rt1 and rt2:

[RT1-LoopBack1] int S0/1/0

[RT1-Serial0/1/0] Shut


650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 120 & H = 100 & t = F & url = http://s3.51cto.com/wyfs02/M00/4D/37/wKioL1RNzXjRxf_iAAEdImL-1Wk006.jpg "width =" 120 "Height =" 20 "alt =" wKioL1RNzXjRxf_iAAEdImL-1Wk006.jpg "/>


650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 120 & H = 100 & t = F & url = http://s3.51cto.com/wyfs02/M00/4D/36/wKiom1RNzSOy3lmOAAEixnQwM-M688.jpg "width =" 120 "Height =" 19 "alt =" wKiom1RNzSOy3lmOAAEixnQwM-M688.jpg "/>


Configure a static route for the G ports of rt1 and rt2:

[RT1-Serial0/1/0] Quit

[Rt1] IP route-static 4.4.4.4 32 2.2.2.3

[Rt1]

 

 

[RT2-LoopBack1] Quit

[Rt2] IP route-static 3.3.3.3 32 1.1.1.1

[Rt2]

650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 120 & H = 100 & t = F & url = http://s3.51cto.com/wyfs02/M01/4D/37/wKioL1RNzXiSzqKjAADhFqP6Cxw777.jpg "width =" 120 "Height =" 43 "alt =" wkiol1rnzxiszqkjaadhfqp6cxw777.jpg "/>


Disable the G ports of rt1 and rt2, and enable the s ports:

[Rt1] Undo IP route-static 4.4.4.4 32

[Rt1] int S0/1/0

[RT1-Serial0/1/0] Undo shut


650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 120 & H = 100 & t = F & url = http://s3.51cto.com/wyfs02/M01/4D/36/wKiom1RNzSTwsjpdAAFMVlJkqkw517.jpg "width =" 120 "Height =" 21 "alt =" wkiom1rnzstwsjpdaafmvljkqkw517.jpg "/>

[RT1-Serial0/1/0] int G0/0/0

[RT1-GigabitEthernet0/0/0] Shut


650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 120 & H = 100 & t = F & url = http://s3.51cto.com/wyfs02/M02/4D/37/wKioL1RNzXiBn-fIAADaj0HgJLw611.jpg "width =" 120 "Height =" 15 "alt =" wKioL1RNzXiBn-fIAADaj0HgJLw611.jpg "/>


[Rt2] Undo IP route-static 3.3.3.3 32


650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 120 & H = 100 & t = F & url = http://s3.51cto.com/wyfs02/M02/4D/36/wKiom1RNzSSj2du0AAERnK2QOAs751.jpg "width =" 120 "Height =" 17 "alt =" wkiom1rnzssj2du0aaernk2qoas751.jpg "/>

650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 120 & H = 100 & t = F & url = http://s3.51cto.com/wyfs02/M00/4D/37/wKioL1RNzXmRJhPUAAC_Ow9CwMs910.jpg "width =" 120 "Height =" 13 "border =" 0 "hspace =" 0 "vspace =" 0 "Title =" "style =" width: 120px; Height: 13px; float: Left; "alt =" wkiol1rnzxmrjhpuaac_ow9cwms910.jpg "/>

 

Configure a static route for the s ports of rt1 and rt2:

 

[RT1-GigabitEthernet0/0/0] Quit

[Rt1] IP route-static 4.4.4.4 32 1.1.1.2

 

 

[Rt2] IP route-static 3.3.3.3 32 2.2.2.2

 


650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 120 & H = 100 & t = F & url = http://s3.51cto.com/wyfs02/M00/4D/36/wKiom1RNzSWj50mlAAFmrdFsOes484.jpg "width =" 120 "Height =" 43 "alt =" wkiom1rnzswj50mlaafmrdfsoes484.jpg "/>


Summary:

 

The link protocol supported by the S port is PPP, which is a point-to-point protocol. It supports address negotiation. Therefore, the IP address cannot be pinged for the same network segment.

 

 

 





Differences between G port and S Port

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.