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 |
|
CE1(config)#vlan 2-100 bridge 1 state enable |
Configure VLANs from |
|
CE1(config)#interface xe54 |
Enter interface mode |
|
CE1(config-if)#switchport |
Configure the interface |
|
CE1(config-if)#bridge-group 1 |
Associate |
|
CE1(config-if)#switchport mode trunk |
Configure |
|
CE1(config-if)#switchport trunk allowed vlan all |
Allow all configured VLANs on the trunk interface |
|
CE1(config-if)#exit |
Exit interface mode |
|
CE1(config)#interface po1 |
Enter interface mode and configure LAG interface port-channel 1 ( |
|
CE1(config-if)#switchport |
Configures port-channel 1 as a Layer 2 switch port. |
|
CE1(config-if)#bridge-group 1 |
Associate |
|
CE1(config-if)#switchport mode trunk |
Configure |
|
CE1(config-if)#switchport trunk allowed vlan all |
Allow all configured VLANs on the trunk port-channel |
|
CE1(config-if)#exit |
Exit interface mode |
|
CE1(config)#interface xe48 |
Enter interface mode |
|
CE1(config-if)#lacp timeout short |
Configure LACP timeout as |
|
CE1(config-if)#channel-group 1 mode active |
Add member to the LAG interface. |
|
CE1(config-if)#exit |
Exit interface mode |
|
CE1(config-if)#interface xe50 |
Enter interface mode |
|
CE1(config-if)#lacp timeout short |
Configure LACP timeout as |
|
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 |
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 |
|
CE2(config)#vlan 2-100 bridge 1 state enable |
Configure VLANs from |
|
CE2(config)#interface xe24 |
Enter interface mode |
|
CE2(config-if)#switchport |
Configure the interface |
|
CE2(config-if)#bridge-group 1 |
Associate |
|
CE2(config-if)#switchport mode trunk |
Configure |
|
CE2(config-if)#switchport trunk allowed vlan all |
Allow all configured VLANs on the trunk interface |
|
CE2(config-if)#exit |
Exit interface mode |
|
CE2(config)#interface po1 |
Enter interface mode and configure LAG interface port-channel 1 ( |
|
CE2(config-if)#switchport |
Configures port-channel 1 as a Layer 2 switch port. |
|
CE2(config-if)#bridge-group 1 |
Associate |
|
CE2(config-if)#switchport mode trunk |
Configure |
|
CE2(config-if)#switchport trunk allowed vlan all |
Allow all configured VLANs on the trunk port-channel |
|
CE2(config-if)#exit |
Exit interface mode |
|
CE2(config)#interface xe22 |
Enter interface mode |
|
CE2(config-if)#lacp timeout short |
Configure LACP timeout as |
|
CE2(config-if)#channel-group 1 mode active |
Add member to the LAG interface. |
|
CE2(config-if)#exit |
Exit interface mode |
|
CE2(config-if)#interface xe23 |
Enter interface mode |
|
CE2(config-if)#lacp timeout short |
Configure LACP timeout as |
|
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 |