Site hosted by Angelfire.com: Build your free website today!


# Configure S5328C   link layer protocol as FR on Serial 1/0/0 of SwitchA.

system-view

[HUAWEI] sysname SwitchA

[SwitchA] interface serial 1/0/0

[SwitchA-Serial1/0/0] link-protocol fr

[SwitchA-Serial1/0/0] fr interface-type dte

[SwitchA-Serial1/0/0] quit

# Configure the sub-interface Serial 1/0/0.1 on SwitchA, and assign VC for it.

[SwitchA] interface serial 1/0/0.1 p2mp

[SwitchA-Serial1/0/0.1] ip address 202.38.160.1 255.255.255.0

[SwitchA-Serial1/0/0.1] fr dlci 50

[SwitchA-fr-dlci-Serial1/0/0.1-50] quit

# Configure the sub-interface Serial 1/0/0.2 on SwitchA, and assign VC for it.

[SwitchA] interface serial 1/0/0.2 p2mp

[SwitchA-Serial1/0/0.2] ip address 202.38.161.1 255.255.255.0

[SwitchA-Serial1/0/0.2] fr dlci 60

[SwitchA-fr-dlci-Serial1/0/0.2-60] quit

# Configure the static routes from SwitchA to LAN2 and LAN3.

[SwitchA] ip route-static 129.10.0.0 255.255.0.0 202.38.160.2

[SwitchA] ip route-static 129.11.0.0 255.255.0.0 202.38.161.2

Step 2 Configure SwitchB.

# Configure link layer protocol as FR on Serial 1/0/0 of SwitchB.

system-view

[HUAWEI] sysname SwitchB

[SwitchB] interface serial 1/0/0

[SwitchB-Serial1/0/0] link-protocol fr

[SwitchB-Serial1/0/0] fr interface-type dte

# Configure the IP address on Serial 1/0/0 of SwitchB, and assign VC for it.

[SwitchB-Serial1/0/0] ip address 202.38.160.2 255.255.255.0

[SwitchB-Serial1/0/0] fr dlci 70

[SwitchB-fr-dlci-Serial1/0/0-70] quit

# Configure the static routes from SwitchB to LAN1.

[SwitchB] ip route-static 129.9.0.0 255.255.0.0 202.38.160.2

Step 3 Configure SwitchC.

# Configure link layer protocol as FR on Serial 1/0/0 of SwitchC.

system-view

[HUAWEI] sysname SwitchC

[SwitchC] interface serial 1/0/0

[SwitchC-Serial1/0/0] link-protocol fr

[SwitchC-Serial1/0/0] fr interface-type dte

# Configure the IP address on Serial 1/0/0 of SwitchC, and assign VC for it.

[SwitchC-Serial1/0/0] ip address 202.38.161.2 255.255.255.0

[SwitchC-Serial1/0/0] fr dlci 80

[SwitchC-fr-dlci-Serial1/0/0-80] quit

# Configure the static routes from SwitchB to LAN1.

[SwitchC] ip route-static 129.9.0.0 255.255.0.0 202.38.161.2

Check the configuration.

Run the display ip route-table command on SwitchA to view routes of LAN2 and LAN3. The

ping command output shows that three LANs can access each other.

[SwitchA] display ip route-table

Route Flags: R - relay, D - download to fib

------------------------------------------------------------------------------

Routing Tables: Public

Destinations : 2 Routes : 2

Destination/Mask Proto Pre Cost Flags NextHop Interface

129.10.0.0/16 Static 60 0 RD 202.38.160.2 Serial1/0/0.1

129.11.0.0/16 Static 60 0 RD 202.38.161.2 Serial1/0/0.2

[SwitchA] ping 202.38.160.2

PING 202.38.160.2: 56 data bytes, press CTRL_C to break

Reply from 202.38.160.2: bytes=56 Sequence=1 ttl=255 time=3 ms

Reply from 202.38.160.2: bytes=56 Sequence=2 ttl=255 time=3 ms

Reply from 202.38.160.2: bytes=56 Sequence=3 ttl=255 time=3 ms

Reply from 202.38.160.2: bytes=56 Sequence=4 ttl=255 time=3 ms

Reply from 202.38.160.2: bytes=56 Sequence=5 ttl=255 time=3 ms

--- 202.38.160.2 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 3/3/3 ms

[SwitchA] ping 202.38.161.2

PING 202.38.161.2: 56 data bytes, press CTRL_C to break

Reply from 202.38.161.2: bytes=56 Sequence=1 ttl=255 time=3 ms

Reply from 202.38.161.2: bytes=56 Sequence=2 ttl=255 time=3 ms

Reply from 202.38.161.2: bytes=56 Sequence=3 ttl=255 time=3 ms

Reply from 202.38.161.2: bytes=56 Sequence=4 ttl=255 time=3 ms

Reply from 202.38.161.2: bytes=56 Sequence=5 ttl=255 time=3 ms

--- 202.38.161.2 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = S5328C-SI  3/3/3 ms