I agree with you, the logic of the IOS with this trunk setup is weird, it
should first take the mode that the port will operate and then its config,
but you should always first config the encapsulation before anything when
configuring trunks.
2010/11/22 Ccieyarub <ccieyarub_at_gmail.com>
> I mean it should not accept
> Cheers
>
>
> Sent from my iPhone
>
> On 2010-11-22, at 2:11 PM, Ccieyarub <ccieyarub_at_gmail.com> wrote:
>
> > Thanks so much everyone answered me
> > I think the logic of the cli is wrong since it should accept from me
> > the command
> > switchport trunk allowed vlan 200
> > On the interface if the switch still has not accept the mode trunk
> > configuration neither ISL nor dot1q
> >
> > But thanks so much again
> > Bert
> > On 2010-11-21, at 9:04 AM, Marko Milivojevic <markom_at_ipexpert.com>
> > wrote:
> >
> >> Do this:
> >>
> >> sw tr enc dot
> >> sw mo tr
> >> sw noneg
> >>
> >> On the interface.
> >>
> >>
> >> --
> >> Marko Milivojevic - CCIE #18427
> >> Senior Technical Instructor - IPexpert
> >>
> >> Free CCIE Training: http://bit.ly/vLecture
> >>
> >> Mailto: markom_at_ipexpert.com
> >> Telephone: +1.810.326.1444
> >> Community: http://www.ipexpert.com/communities
> >>
> >> :: Sent from my phone. Apologies for errors and brevity. ::
> >>
> >> On Nov 21, 2010, at 14:00, Ccieyarub <ccieyarub_at_gmail.com> wrote:
> >>
> >>> Hi Guys,
> >>> That could be simple but I am more used to core routers IOS XR
> >>> specific than small switches, I would appreciate if some one please
> >>> let me know why I cannot configure mode trunk on this switch which
> >>> is
> >>> connected to ASR 1004 router from the other side. I did not config
> >>> the interface trunk as Auto and did not config the dynamic status
> >>> as
> >>> below
> >>> Thanks so much
> >>> Bert
> >>>
> >>>
> >>> From the switch side here is the error I get on the configs
> >>> Switch(config-if)#switchport mode trunk
> >>> Command rejected: An interface whose trunk encapsulation is "Auto"
> >>> can
> >>> not be configured to "trunk" mode.
> >>> Switch(config-if)#switchport au
> >>> Switch(config-if)#switchport noneg
> >>> Switch(config-if)#switchport nonegotiate ?
> >>> <cr>
> >>>
> >>> Switch(config-if)#switchport nonegotiate
> >>> Command rejected: Conflict between 'nonegotiate' and 'dynamic'
> >>> status.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> CONFIGS FOR THE SWITCH C3750
> >>>
> >>> Switch#show running-config
> >>> Building configuration...
> >>>
> >>> Current configuration : 1538 bytes
> >>> !
> >>> version 12.2
> >>> no service pad
> >>> service timestamps debug datetime msec
> >>> service timestamps log datetime msec
> >>> no service password-encryption
> >>> !
> >>> hostname Switch
> >>> !
> >>> boot-start-marker
> >>> boot-end-marker
> >>> !
> >>> !
> >>> !
> >>> !
> >>> no aaa new-model
> >>> switch 1 provision ws-c3750-24p
> >>> system mtu routing 1500
> >>> authentication mac-move permit
> >>> ip subnet-zero
> >>> !
> >>> !
> >>> !
> >>> !
> >>> !
> >>> !
> >>> !
> >>> !
> >>> spanning-tree mode pvst
> >>> spanning-tree etherchannel guard misconfig
> >>> spanning-tree extend system-id
> >>> !
> >>> vlan internal allocation policy ascending
> >>> !
> >>> !
> >>> !
> >>> !
> >>> interface Loopback0
> >>> ip address 167.54.4.115 255.255.255.255
> >>> !
> >>> interface FastEthernet1/0/1
> >>> !
> >>> interface FastEthernet1/0/2
> >>> !
> >>> interface FastEthernet1/0/3
> >>> !
> >>> interface FastEthernet1/0/4
> >>> !
> >>> interface FastEthernet1/0/5
> >>> !
> >>> interface FastEthernet1/0/6
> >>> !
> >>> interface FastEthernet1/0/7
> >>> !
> >>> interface FastEthernet1/0/8
> >>> !
> >>> interface FastEthernet1/0/9
> >>> !
> >>> interface FastEthernet1/0/10
> >>> !
> >>> interface FastEthernet1/0/11
> >>> !
> >>> interface FastEthernet1/0/12
> >>> !
> >>> interface FastEthernet1/0/13
> >>> !
> >>> interface FastEthernet1/0/14
> >>> !
> >>> interface FastEthernet1/0/15
> >>> !
> >>> interface FastEthernet1/0/16
> >>> !
> >>> interface FastEthernet1/0/17
> >>> !
> >>> interface FastEthernet1/0/18
> >>> !
> >>> interface FastEthernet1/0/19
> >>> !
> >>> interface FastEthernet1/0/20
> >>> !
> >>> interface FastEthernet1/0/21
> >>> !
> >>> interface FastEthernet1/0/22
> >>> !
> >>> interface FastEthernet1/0/23
> >>> !
> >>> interface FastEthernet1/0/24
> >>> !
> >>> interface GigabitEthernet1/0/1
> >>> switchport trunk allowed vlan 200
> >>> !
> >>> interface GigabitEthernet1/0/2
> >>> !
> >>> interface Vlan1
> >>> no ip address
> >>> !
> >>> ip classless
> >>> ip http server
> >>> ip http secure-server
> >>> !
> >>> !
> >>> ip sla enable reaction-alerts
> >>> !
> >>> !
> >>> !
> >>> line con 0
> >>> line vty 5 15
> >>> !
> >>> End
> >>>
> >>>
> >>> From the ASR side
> >>> interface GigabitEthernet1/0/1
> >>>
> >>> no ip address
> >>> no ip proxy-arp
> >>> negotiation auto
> >>> end
> >>>
> >>>
> >>> Blogs and organic groups at http://www.ccie.net
> >>>
> >>> _______________________________________________________________________
>
>
> >>> Subscription information may be found at:
> >>> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Mon Nov 22 2010 - 20:29:29 ART
This archive was generated by hypermail 2.2.0 : Sun Dec 05 2010 - 22:14:56 ART