On the left E4G-200 Switch:
configure ports 17 tdm framing mf
On the Right E4G-400 Switch:
configure ports 40 tdm framing mf
On the left E4G-200 Switch:
create tdm service circuit "udp-cesop-s2" configure tdm service circuit "udp-cesop-s2" add port 17 time-slots 2-4
On the Right E4G-400 Switch:
create tdm service circuit "udp-cesop-s2" configure tdm service circuit "udp-cesop-s2" add port 40 time-slots 2-4
On the left E4G-200 Switch:
create vlan "lpbk" enable loopback-mode vlan lpbk configure vlan lpbk ipaddress 7.7.7.7 255.255.255.255 enable ipforwarding vlan lpbk
On the Right E4G-400 Switch:
create vlan "lpbk" enable loopback-mode vlan lpbk configure vlan lpbk ipaddress 2.2.2.2 255.255.255.255 enable ipforwarding vlan lpbk
On the left E4G-200 Switch:
create vlan "vt1" configure vlan vt1 tag 30 configure vlan vt1 add ports 1 tagged configure vlan vt1 ipaddress 40.0.0.1 255.255.255.0 enable ipforwarding vlan vt1
On the Right E4G-400 Switch:
create vlan "vt1" configure vlan vt1 tag 20 configure vlan vt1 add ports 10 tagged configure vlan vt1 ipaddress 50.0.0.3 255.255.255.0 enable ipforwarding vlan vt1
On the left E4G-200 Switch:
create ces udp-ces2 psn udp configure ces udp-ces2 add service udp-cesop-s2
On the Right E4G-400 Switch:
create ces udp-ces2 psn udp configure ces udp-ces2 add service udp-cesop-s2
On the left E4G-200 Switch:
configure ces udp-ces1 add peer ipaddress 2.2.2.2 udp-port local 10001 remote 10001 vlan lpbk
On the Right E4G-400 Switch:
configure ces udp-ces1 add peer ipaddress 7.7.7.7 udp-port local 10001 remote 10001 vlan lpbk
Note
A single loopback vlan is sufficient when configuring multiple pseudo-wires to the same peer and each PW is identified using the unique UDP port numbers configured. The recommended option is to use loopback vlan to specify source IP address to be used in TDM UDP PW. However, the user can also use the normal vlan instead of loopback vlan.