Network World
Wednesday, January 7, 2009
DNSstuff.com
Get information about your IP
IP Information
50+ On-demand DNS and network tools

Community

Navigation

How to configure trunk on the sub-interfaces of an Ether switch module installed in a Cisco router

Cisco Ether switch module installed in a router

This example shows how to configure the FastEthernet port on an 1841 router as a trunking interface.

The Cisco 1841 router has two onboard FastEthernet autosensing interfaces that support 10- or 100-Mbps connections.

The sub interface becomes fa 0/x..

For instance, fa 0/1.2 represents the sub-interface for VLAN 2.

In addition, it is necessary to define the encapsulation as encapsulation dot1q vlan-id.

Hostname(config)#interface FastEthernet0/1
Hostname(config-if)#no ip address


Hostname(config-if)#no shutdown


Hostname(config)#interface FastEthernet0/1.1
Hostname(config-if)#encapsulation dot1Q 1 native
Hostname(config-if)#ip address x.x.y.y < subnet mask >


interface FastEthernet0/1.2
Hostname(config-if)#encapsulation dot1Q 2
Hostname(config-if)#ip address x.x.y.y < subnet mask >


Note:

There is no way to setup the 1841 router to negotiate the trunk.

Contact Brad Reese
http://www.BradReese.Com

Cisco Subnet
  

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <i> <b> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <br /> <br> <p>
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Advertisement: