Customer Edge (CE) Routers Configurations

CE1

The following configuration steps under CE1 are set up to enable VLANs and configure interfaces for carrying VLAN traffic.

CE1#configure terminal

Enter configure mode.

CE1(config)#bridge 1 protocol ieee vlan-bridge

Set up bridge 1 to use the IEEE VLAN bridge protocol.

CE1(config)#vlan 2-100 bridge 1 state enable

Configure VLANs from 2-100 and associate them with bridge 1.

CE1(config)#interface xe54

Enter interface mode xe54.

CE1(config-if)#switchport

Configure the interface xe54 as a Layer 2 switch port.

CE1(config-if)#bridge-group 1

Associate xe54 to bridge 1.

CE1(config-if)#switchport mode trunk

Configure xe54 as a trunk port.

CE1(config-if)#switchport trunk allowed vlan all

Allow all configured VLANs on the trunk interface xe54.

CE1(config-if)#exit

Exit interface mode xe54.

CE1(config)#interface po1

Enter interface mode and configure LAG interface port-channel 1 (po1).

CE1(config-if)#switchport

Configures port-channel 1 as a Layer 2 switch port.

CE1(config-if)#bridge-group 1

Associate po1 to bridge 1.

CE1(config-if)#switchport mode trunk

Configure po1 as a trunk port.

CE1(config-if)#switchport trunk allowed vlan all

Allow all configured VLANs on the trunk port-channel po1.

CE1(config-if)#exit

Exit interface mode po1.

CE1(config)#interface xe48

Enter interface mode xe48.

CE1(config-if)#lacp timeout short

Configure LACP timeout as short.

CE1(config-if)#channel-group 1 mode active

Add member to the LAG interface.

CE1(config-if)#exit

Exit interface mode xe48.

CE1(config-if)#interface xe50

Enter interface mode xe50.

CE1(config-if)#lacp timeout short

Configure LACP timeout as short.

CE1(config-if)#channel-group 1 mode active

Add member to the LAG interface.

CE1(config-if)#commit

Commit the transaction.

CE1(config-if)#end

Exit interface mode xe50 and configure mode.

CE2

The following configuration steps under CE2 are set up to enable VLANs and configure interfaces for carrying VLAN traffic.

CE2#configure terminal

Enter configure mode.

CE2(config)#bridge 1 protocol ieee vlan-bridge

Set up bridge 1 to use the IEEE VLAN bridge protocol.

CE2(config)#vlan 2-100 bridge 1 state enable

Configure VLANs from 2-100 and associate them with bridge 1.

CE2(config)#interface xe24

Enter interface mode xe24.

CE2(config-if)#switchport

Configure the interface xe24 as a Layer 2 switch port.

CE2(config-if)#bridge-group 1

Associate xe24 to bridge 1.

CE2(config-if)#switchport mode trunk

Configure xe24 as a trunk port.

CE2(config-if)#switchport trunk allowed vlan all

Allow all configured VLANs on the trunk interface xe24.

CE2(config-if)#exit

Exit interface mode xe24.

CE2(config)#interface po1

Enter interface mode and configure LAG interface port-channel 1 (po1).

CE2(config-if)#switchport

Configures port-channel 1 as a Layer 2 switch port.

CE2(config-if)#bridge-group 1

Associate po1 to bridge 1.

CE2(config-if)#switchport mode trunk

Configure po1 as a trunk port.

CE2(config-if)#switchport trunk allowed vlan all

Allow all configured VLANs on the trunk port-channel po1.

CE2(config-if)#exit

Exit interface mode po1.

CE2(config)#interface xe22

Enter interface mode xe22.

CE2(config-if)#lacp timeout short

Configure LACP timeout as short.

CE2(config-if)#channel-group 1 mode active

Add member to the LAG interface.

CE2(config-if)#exit

Exit interface mode xe22.

CE2(config-if)#interface xe23

Enter interface mode xe23.

CE2(config-if)#lacp timeout short

Configure LACP timeout as short.

CE2(config-if)#channel-group 1 mode active

Add member to the LAG interface.

CE2(config-if)#commit

Commit the transaction.

CE2(config-if)#end

Exit interface mode xe23 and configure mode.