Configuring Unnumbered IP Serial Interface Example

Configuring Unnumbered IP Serial Interface Example

The following example configures an X.21-type, serial interface 1/0 as an unnumbered serial interface. Serial 1/0 is directed to use the IP address of FastEthernet port 1.

XSR(config)#interface fastethernet 1

XSR(config-if<F1>)#ip address 192.168.1.1 255.255.255.0

XSR(config-if<F1>)#no shutdown

XSR(config)#interface serial 1/0

XSR(config-if<S1/0>)#media-type x21

XSR(config-if<S1/0>)#encapsulation ppp

XSR(config-if<S1/0>)#ip unnumbered fastethernet 1

XSR(config-if<S1/0>)#no shutdown

XSR#copy running-config startup-config

Configuring OSPF Example

The following is a sample configuration of OSPF which adds three networks to OSPF areas including stub and NSSA areas, sets the retransmit interval on interface FastEthernet 1 to 9 seconds, specifies the cost of sending traffic on interface Serial 1/0 to 64, and redistributes static routes into OSPF:

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 ospf retransmit-interval 9

XSR(config-if<F1>)#interface FastEthernet 2

XSR(config-if<F2>)#no shutdown

XSR(config-if<F2>)#ip address 156.57.99.3 255.255.255.0

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>)#encapsulation ppp

XSR(config-if<S1/0>)#ip address 154.68.1.47 255.255.255.0

XSR(config-if<S1/0>)#ip ospf cost 64

XSR(config)#router ospf 1

XSR(config-router)#network 192.168.1.0 0.0.0.255 area 0.0.0.10

XSR(config-router)#network 154.68.1.0 0.0.0.255 area 0

XSR(config-router)#area 10 nssa default-information-originate

XSR(config-router)#network 156.57.99.3 255.255.255.0 area 1

XSR(config-router)#area 1 stub

XSR(config-router)#redistribute static

XSR#copy running-config startup-config

XSR User’s Guide 5-37

Page 139
Image 139
Enterasys Networks X-PeditionTM manual Configuring Unnumbered IP Serial Interface Example, Configuring Ospf Example