
6.3.2 Configuring X.25 PVCs
Step 2:
Configure each of the serial interfaces on the X.25 switch router so that they use X.25 encapsulation and set up the PVC mappings:
Switch(config)#interface serial 0/0
Switch(config-if)#encapsulation x25 dce
Switch(config-if)#x25 pvc 1 interface serial1 pvc 4
Switch(config-if)#clockrate 56000
Switch(config-if)#no shutdown
Switch(config-if)#interface serial 0/1
Switch(config-if)#encapsulation x25 dce
Switch(config-if)#x25 pvc 4 interface serial0 pvc 1
Switch(config-if)#clockrate 56000
Switch(config-if)#no shutdown
Correction: replace these commands with the following commands:
Switch(config)#interface serial 0/0
Switch(config-if)#encapsulation x25 dce
Switch(config-if)#x25 ltc 25
Switch(config-if)#x25 htc 128
Switch(config-if)#x25 pvc 1 interface serial0/1 pvc 4
Switch(config-if)#clockrate 56000
Switch(config-if)#no shutdown
Switch(config-if)#interface serial 0/1
Switch(config-if)#encapsulation x25 dce
Switch(config-if)#x25 ltc 25
Switch(config-if)#x25 htc 128
Switch(config-if)#x25 pvc 4 interface serial0/0 pvc 1
Switch(config-if)#clockrate 56000
Switch(config-if)#no shutdown
Step 3:
Assign the X.121 address to this interface:
Branch(config-if)#x25 address 311082191234
Instead of using the x25 map command to establish an SVC, use the x25 pvc command to create a PVC. Set up the PVC in interface configuration mode:
Branch(config-if)#x25 pvc 1 ip 192.168.3.2 311082194567 broadcast
Correction: Insert ltc and htc commands in-between the above 2 commands:
Branch(config-if)#x25 address 311082191234
Branch(config-if)#x25 ltc 25
Branch(config-if)#x25 htc 128
Branch(config-if)#x25 pvc 1 ip 192.168.3.2 311082194567 broadcast
Step 4:
Central_1(config-if)#x25 address 311082194567
Set up the X.25 PVC to the other side:
Central_1(config-if)#x25 pvc 4 ip 192.168.3.1 311082191234 broadcast
Correction: Insert ltc and htc commands in-between the above 2 commands:
Central_1(config-if)#x25 address 311082194567
Central_1(config-if)#x25 ltc 25
Central_1(config-if)#x25 htc 128
Central_1(config-if)#x25 pvc 4 ip 192.168.3.1 311082191234 broadcast
8.3.1 Frame Relay Subinterfaces and Traffic Shaping
Step 2
Configure the router basic information such as router name and passwords as well as the LAN interfaces. In this lab, use Cisco Frame Relay encapsulation. You may explicitly configure the LMI-type as ANSI, or you can allow the router to autosense the LMI type. Use the basic frame relay information below to configure the routers.
Note: Each PVC exists as a point-to-point network on its own logical IP subnet. A partial configuration for SanJose1 is shown here:
On SanJose1:
SanJose1(config)#interface serial 0/0.17 point-to-point
SanJose1(config-subif)#ip address 192.168.193.1 255.255.255.0
SanJose1(config-subif)#frame-relay interface-dlci 17
SanJose1(config-fr-dlci)#exit
SanJose1(config-subif)#interface serial 0/0.18 point-to-point
SanJose1(config-subif)#ip address 192.168.192.1 255.255.255.0
SanJose1(config-subif)#frame-relay interface-dlci 18
On London:
London(config)#interface serial 0/0.16 point-to-point
London(config-subif)#ip address 192.168.192.2 255.255.255.0
London(config-subif)#frame-relay interface-dlci 16
London(config-fr-dlci)#exit
On Singapore:
Singapore(config)#interface serial 0/0.16 point-to-point
Singapore(config-subif)#ip address 192.168.193.2 255.255.255.0
Singapore(config-subif)#frame-relay interface-dlci 16
Singapore(config-fr-dlci)#exit
Correction: turn on encapsulation on the physical interface:
On SanJose1:
SanJose1(config)#interface serial 0/0
SanJose1(config)#encap frame-relay
SanJose1(config)#interface serial 0/0.17 point-to-point
SanJose1(config-subif)#ip address 192.168.193.1 255.255.255.0
SanJose1(config-subif)#frame-relay interface-dlci 17
SanJose1(config-fr-dlci)#exit
SanJose1(config-subif)#interface serial 0/0.18 point-to-point
SanJose1(config-subif)#ip address 192.168.192.1 255.255.255.0
SanJose1(config-subif)#frame-relay interface-dlci 18
On London:
London(config)#interface serial 0/0
London(config)#encap frame-relay
London(config)#interface serial 0/0.16 point-to-point
London(config-subif)#ip address 192.168.192.2 255.255.255.0
London(config-subif)#frame-relay interface-dlci 16
London(config-fr-dlci)#exit
On Singapore:
Singapore(config)#interface serial 0/0
Singapore(config)#encap frame-relay
Singapore(config)#interface serial 0/0.16 point-to-point
Singapore(config-subif)#ip address 192.168.193.2 255.255.255.0
Singapore(config-subif)#frame-relay interface-dlci 16
Singapore(config-fr-dlci)#exit
8.3.2: On-Demand Routing
*. If your router on SanJose2 only has 1 ethernet interface, use loopkack for the fa0/0 192.168.1.1
*. If your router on SanJose2 only has 1 ethernet interface, change fa0/1 to fa0/0 192.168.0.2
3. e. Create the port channel groups. We’re going to create two channel groups. Fastethernet ports 3-4 will be used to establish a 200Mb link between the 4006 and the 2900XL switches. The other channel will be formed from two internal gigabit interfaces between the RSM and the backplane of the 4006. For the purposes of channeling, these ports are referenced as 2/1-2 but keep in mind that we are not utilizing the two physical gigabit ports on the RSM module. The numbers 156 and 157 are called Admin Group numbers and are arbitrary and for internal use only (If omitted, the switch will assign random group numbers.)
DLSwitch> (enable) set port channel 2/1-2 156
DLSwitch> (enable) set port channel 2/3-4 157
Alternative: You do not have to set the group number
DLSwitch> (enable) set port channel 2/1-2
DLSwitch> (enable) set port channel 2/3-4
3. f. Now we need to prepare these interfaces for trunking. Use the set trunk command to establish the trunk mode (nonegotiate, etc.), protocol (801.q, ISL, etc.) and the range of VLANs that they’ll accommodate.
DLSwitch> (enable) set trunk 2/1 nonegotiate dot1q 1-1005
DLSwitch> (enable) set trunk 2/2 nonegotiate dot1q 1-1005
DLSwitch> (enable) set trunk 2/3 nonegotiate dot1q 1-1005
DLSwitch> (enable) set trunk 2/4 nonegotiate dot1q 1-1005
Alternative: You do not have to set the vlan number
DLSwitch> (enable) set trunk 2/1 nonegotiate dot1q
DLSwitch> (enable) set trunk 2/2 nonegotiate dot1q
DLSwitch> (enable) set trunk 2/3 nonegotiate dot1q
DLSwitch> (enable) set trunk 2/4 nonegotiate dot1q
9. c. Configure the VLAN interface addressing and trunking information. Port-channel 1 (a virtual interface) is inherently configured to communicate with VLAN 1 through an 801.q trunk. Simply setting an IP address on that interface allows access to the Router for management. However, all other VLANs are required to be set up as subinterfaces of Port-Channel 1, along with the trunking encapsulation, VLAN ID and IP address.
DLRouter(config)#interface Port-channel1
DLRouter(config-if)#ip address 10.1.1.1 255.255.255.0
DLRouter(config-if)#no shutdown
Correction: replace these commands with the following commands:
DLRouter(config)#interface Port-channel1
DLRouter(config-if)#no ip address
DLRouter(config-if)#no shutdown
DLRouter(config)#interface Port-channel1.1
DLRouter(config-if)#encapsulation dot1Q 1
DLRouter(config-if)#ip address 10.1.1.1 255.255.255.0
DLRouter(config-if)#no shutdown
*. Make sure you issue portfast command on switch ports used in this lab.
2. Configure the Web router to act as a web server. Configure the router with a username/password and enable http management services.
Router(config)#host Web
Web(config)#int fa0/0
Web(config-if)#ip address 10.1.1.4 255.255.255.0
Web(config-if)#no shutdown
Web(config-if)#line vty 0 4
Web(config-line)#login
Web(config-line)#password cisco
Web(config-line)#enable password class
Web(config)#ip http enable
Correction 1: Add the following 2 lines to all router ethernet interface:
For example:
Web(config-if)#speed 100
Web(config-if)#full-duplex
Correction 2: Correct the following command:
Web(config)#ip http enable
It should be:
Web(config)#ip http server
Copyright © 2002
College of DuPage
Digital Microprocessor Technology ·
IC 1096C ·
630-942-2537
chento@cdnet.cod.edu
Updated 12 November, 2002
Disclaimer