Encapsulation over etherchannel example – Cisco 15327 User Manual

Page 155

Advertising
background image

10-7

Ethernet Card Software Feature and Configuration Guide, R7.2

Chapter 10 Configuring Link Aggregation

Understanding Encapsulation over EtherChannel or POS Channel

pos flag c2 1

!

interface POS1

no ip address

channel-group 1

crc 32

pos flag c2 1

Understanding Encapsulation over EtherChannel or POS
Channel

When configuring encapsulation over FEC, GEC, or POS, be sure to configure IEEE 802.1Q on the
port-channel interface, not its member ports. However, certain attributes of port channel, such as duplex
mode, need to be configured at the member port levels. Also make sure that you do not apply
protocol-level configuration (such as an IP address or a bridge group assignment) to the member
interfaces. All protocol-level configuration should be on the port channel or on its subinterface. You
must configure IEEE 802.1Q encapsulation on the partner system of the EtherChannel as well.

Configuring Encapsulation over EtherChannel or POS Channel

To configure encapsulation over the EtherChannel or POS channel, perform the following procedure,
beginning in global configuration mode:

Encapsulation over EtherChannel Example

Figure 10-3

shows an example of encapsulation over EtherChannel. The associated code is provided in

Example 10-5

(Switch A) and

Example 10-6

(Switch B).

Command

Purpose

Step 1

Router(config)# interface port-channel

channel-number.subinterface-number

Configures the subinterface on the created port
channel.

Step 2

Router(config-subif)# encapsulation dot1q

vlan-id

Assigns the IEEE 802.1Q encapsulation to the
subinterface.

Step 3

Router(config-subif)# bridge-group

bridge-group-number

Assigns the subinterface to a bridge group.

Step 4

Router(config-subif)# end

Exits to privileged EXEC mode.

Note

Optionally, you can remain in interface
configuration mode and enable other
supported interface commands to meet
your requirements.

Step 5

Router# copy running-config startup-config

(Optional) Saves the configuration changes to
NVRAM.

Advertising