CHAPTER 5 EXAMPLES OF SETUP ON NETWORKS
DIGITAL PRIVATE LINE NETWORK EXAMPLE (E1)
Setting for router A
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Router # enable − config | Enter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
| Router (config) # device Serial0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
| Enter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
| Router (config − Serial0) # e1 disuse − timeslot 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||
|
|
| Enter |
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Router (config − Serial0) # exit |
| Enter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
| Router (config) # ppp profile router − a |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
| Enter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
| Router (config − ppp − router − a) # no ipcp request − local − dns | Enter |
|
| ||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
| Router (config − ppp − router − a) # exit |
| Enter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
| Router (config) # interface FastEthernet0.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
|
| Enter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||
| Router (config − FastEthernet0.0) # ip address 192.168.1.1/24 |
| Enter |
|
| |||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
| Router (config − FastEthernet0.0) # no shutdown |
| Enter |
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||
| Router (config − FastEthernet0.0) # interface Serial0.0 | Enter |
|
|
|
|
|
|
| |||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||
| Router (config − Serial0.0) # encapsulation ppp | Enter |
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||
| Router (config − Serial0.0) # ppp binding router − a |
|
| Enter |
|
|
|
|
|
|
|
|
| |||||||||||||||||||
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||||||
| Router (config − Serial0.0) # ip unnumbered FastEthernet0.0 |
| Enter |
|
| |||||||||||||||||||||||||||
| Router (config − Serial0.0) # no shutdown |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||
| Enter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
| Router (config − Serial0.0) # |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Setting for router B
Router # enable − config Enter
Router (config) # device Serial0 Enter
Router (config − Serial0) # e1 disuse − timeslot 16 Enter
Router (config − Serial0) # exit Enter
Router (config) # ppp profile router − b Enter
Router (config − ppp − router − b) # no ipcp request − local − dns Enter
Router (config − ppp − router − b) # exit Enter
Router (config) # interface FastEthernet0.0 |
| Enter |
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
Router (config − FastEthernet0.0) # ip address 192.168.1.1/24 |
| Enter | |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Router (config − FastEthernet0.0) # no shutdown |
| Enter |
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
Router (config − FastEthernet0.0) # interface Serial0.0 | Enter |
|
|
| |||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
Router (config − Serial0.0) # encapsulation ppp | Enter |
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
| ||||||
Router (config − Serial0.0) # ppp binding router − b |
| Enter |
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
| ||||||||||
Router (config − Serial0.0) # ip unnumbered FastEthernet0.0 |
| Enter |
| ||||||||||||||
Router (config − Serial0.0) # no shutdown |
|
|
|
|
|
|
|
|
|
|
|
| |||||
Enter |
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
Router (config − Serial0.0) # |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
– 132 – | |
| atch5001.fm |