[Contents] [Prev] [Next] [Index] [Report an Error]


Configuring SMDS

This section shows how to set up ERX system B in the sample configuration in Figure 12-6. In the example, the GRE tunnel runs over an OC3 ATM interface.


Figure 12-6 Sample SMDS configuration

ATM Interface

To configure an ATM interface:

  1. Specify an ATM interface, and set the clock source.
host1(config)#interface atm 10/0 
host1(config-if)#atm clock internal 
  1. Configure a subinterface on the ATM interface.
host1(config)#interface atm 10/0.1 
  1. Configure a PVC on the subinterface by specifying the virtual circuit descriptor (VCD), the virtual path identifier (VPI), the virtual channel identifier (VCI), and the encapsulation type.
host1(config-subif)#atm pvc 1 0 1 aal5snap
  1. Assign an IP address to the subinterface.
host1(config-subif)#ip address 160.1.0.1

GRE Tunnel and CBF Interface

To configure a GRE tunnel and CBF interface:

  1. Create and configure a GRE tunnel interface called newport1.
host1(config)#interface tunnel gre:newport1 
  1. Assign a source address for the GRE tunnel. The tunnel source address must match an address configured on the system where the GRE tunnel originates.
host1(config-if)#tunnel source 160.1.0.1 
  1. Assign a destination address for the GRE tunnel. The tunnel destination address must match an address configured on the system where the tunnel terminates.
host1(config-if)#tunnel destination 160.1.0.2
  1. Add SMDS trunk encapsulation over the GRE tunnel interface.
host1(config-if)#encapsulation smds-trunk
  1. Create a CBF interface over the GRE tunnel interface.
host1(config-if)#cbf

HSSI and CBF Interface

To configure a HSSI and a CBF interface:

  1. Specify a HSSI.
host1(config)#interface hssi 1/0
  1. Set the HSSI to CRC-32 mode.
host1(config-if)#crc 32
  1. Specify the HSSI DCE clock rate of 34 MHz.
host1(config-if)#clock rate 34
  1. Set the HSSI to DCE mode by setting clocking to internal.
host1(config-if)#hssi internal-clock 


Note: If the SMDS switch acts as the DTE, you must set up the ERX system to be the DCE.

  1. Add SMDS trunk encapsulation over the HSSI.
host1config-if)#encapsulation smds-trunk
  1. Create a CBF interface over the HSSI.
host1(config-if)#cbf


Note: For information on HSSI commands, see ERX Physical Layer Configuration Guide, Chapter 7, Configuring HSSIs.

CBF Connection

Create a CBF connection between the HSSI in slot 1, port 0 and the GRE tunnel, newport1. All SMDS traffic received on a HSSI must be mapped one-to-one with a specific GRE tunnel. The CBF connection provides that mapping.

host1(config)#cbf connection hssi 1/0 tunnel gre:newport1 

    atm clock internal

host1(config-if)#atm clock internal 

    atm pvc

host1(config-subif)#atm pvc 1 0 1 aal5snap

    cbf

host1(config-if)#cbf

    cbf connection

host1config)#cbf connection hssi 1/0 tunnel gre:newport1 

    cbf shutdown

host1(config-if)#cbf shutdown

    encapsulation smds-trunk

host1(config-if)#encapsulation smds-trunk

    interface atm

host1(config)#interface atm 10/0 

    interface tunnel

host1(config)#interface tunnel gre:boston-tunnel-1

    tunnel destination

host1(config)#interface tunnel gre:tunnel2
host1(config-if)#tunnel destination 192.13.7.1
host1(config)#interface tunnel gre:tunnel2
host1(config-if)#tunnel destination remoteHost

    tunnel source

host1(config)#interface tunnel gre:boston-tunnel-1
host1(config-if)#tunnel source 192.10.2.1
host1(config)#interface tunnel gre:boston-tunnel-1
host1(config-if)#tunnel source atm 5/0.12

[Contents] [Prev] [Next] [Index] [Report an Error]