
LAN-PPP Services Sample Configuration
The sample configuration below, see Figure
Figure 3-4 Sample LAN-PPP Services Configuration
Hostname: | branch1 | Hostname: | mainsite |
Username: | mainsite | Username: | branch1 |
Password: | Toronto | Password: | Toronto |
192.168.1.100/24
154.168.1.47/24 |
| PPP | Central Site |
| |
| PPP | PSTN |
|
| |
| Leased line | Leased line |
| ||
|
|
| |||
| fractional E1/T1 |
| or E1/T1 | or |
|
|
|
| serial V.35/X.21 | Server | |
|
|
|
|
|
| Backup via serial |
|
|
| |
|
|
| |||
|
|
|
| ||
Username: branch2 | PSTN | 154.168.1.1/24 | Backup Site Hostname: branch2 | ||
Password: Ontario | |||||
| Dial serial | Username: branch1 | |||
|
| ||||
|
| Password: Ontario | |||
|
| or PRI |
| ||
|
|
|
|
The following script configures the
XSR>enable
+Acquires Privileged EXEC mode
XSR#configure
+Acquires Global configuration mode
XSR(config)#hostname branch1
+Configures the local hostname
XSR(config)#username mainsite password secret 0 Toronto
+Configures first username and password for CHAP
XSR(config)#username branch2 password secret 0 Ontario
+Configures second username and encrypted password for CHAP
XSR(config)#interface gigabitethernet 1
+Configures local LAN interface and acquires Interface mode
+Enables IP address for GigabitEthernet interface
+Enables the interface
XSR(config)#controller t1 0/1/0
+Sets up main link connection: T1 NIM in slot 1, port 0 and acquires Controller mode
+Sets external clocking of T1 NIM
+Deletes default channel setup
+Adds channel group 0 mapping to time slots
+Begins configuring T1 channel values: sets T1 line frame type
+Sets T1 encoding