Cisco Systems A9014CFD Router User Manual


 
21-29
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 21 Configuring Pseudowire
Configuration Example for Local Switching
Verifying Local Switching
To verify local switching on a T1/E1 mode, use the show connection, show connection all, show
connection id or show connection name command.
Router# show connection
ID Name Segment 1 Segment 2 State
==========================================================================
1 myconn CE0/0 CESP 0 CE0/1 CESP 0 UP
Router# show connection all
ID Name Segment 1 Segment 2 State
==========================================================================
1 myconn CE0/0 CESP 0 CE0/1 CESP 0 UP
2 myconn1 CE0/1 CESP 1 CE0/0 CESP 1 UP
Router# show connection name myconn
Connection: 1 - myconn
Current State: UP
Segment 1: CEM0/0 CESoPSN Basic 0 up
Segment 2: CEM0/1 CESoPSN Basic 0 up
Router# show connection id 1
Connection: 1 - myconn
Current State: UP
Segment 1: CEM0/0 CESoPSN Basic 0 up
Segment 2: CEM0/1 CESoPSN Basic 0 up
Configuration Example for Local Switching
The following is a sample configuration of local switching:
!
controller T1 0/0
cem-group 0 timeslots 1-24
!
controller T1 0/1
cem-group 0 timeslots 1-24
!
!
interface CEM0/0
Step 3
interface cem
slot/port
Example:
Router(config)# interface cem0/3
Selects the CEM interface to configure the pseudowire.
Step 4
connect
connection-name
cem
slot/port
interface-name
cem
slot/port
interface-name
Example:
Router(config)# connect myconn
CEM0/0 0 CEM0/1 0
Configures a local switching connection between the first and the second
CEM interfaces. The no form of this command unconfigures the
connection.
Command Purpose