User`s guide
XSR User’s Guide 95
Chapter 5 Configuring RIP Examples
Configuring IP
XSR(config)#interface FastEthernet 1
XSR(config-if<F1>#no shutdown
XSR(config-if<F1>)#ip address 192.168.1.100 255.255.255.0
XSR(config-if<F1>)#ip access-group 1 in
XSR(config-if<F1>)#ip access-group 1 out
XSR(config)#interface serial 1/0
XSR(config-if<S1/0>)#no shutdown
XSR(config-if<S1/0>)#media-type V35
XSR(config-if<S1/0>)#encapsulate ppp
XSR(config-if<S1/0>)#ip address 154.68.1.47 255.255.255.0
XSR(config)#router rip
XSR(config-router)#network 154.68.1.0
XSR(config-router)#network 192.168.1.100
XSR(config)#access-list 1 permit 192.168.1.0 0.0.0.255
XSR(config)#access-list 1 permit 154.68.1.0 0.0.0.255
XSR#copy running-config startup-config
The following configuration sets up RIPv1 with Dynamic Host Configuration
Protocol (DHCP) Relay enabled. DHCP relay is used when no DHCP server
exists on the immediate network.
When a local client sends a DHCP request, the XSR relays this request to the
appropriate DHCP server specified by the helper-address. After the server
responds, the XSR relays this response back to the local client.
As described below, the XSR connects to the PSTN via a T1 connection with
12 associated channels comprising channel-group 0. This T1 channel group is
presented to the XSR as a serial port and is configured similarly.
The T1 (serial port) connection is unnumbered, indicating packets from the T1
interface will use the IP address of the Ethernet interface instead of its own.
XSR(config)#controller t1 0/2/0
XSR(config-controller<T2/0>)#channel-group 0 timeslots 1-12
XSR(config-controller<T2/0:1-12>)#no shutdown
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#no shutdown
XSR(config-if<F1>)#ip address 192.168.1.100 255.255.255.0
XSR(config-if<F1>)#ip helper-address 154.68.1.1
XSR(config-if<F1>)#interface serial 2/0:0
XSR(config-if<S2/0:0>)#no shutdown