vlan allowed

From: chenyan (chenyan@deeptht.com.cn)
Date: Wed Oct 30 2002 - 02:07:58 GMT-3


hi,guys

R1------------------switch

R1 connected to switch 2900 had several subinterfaces to the trunk the siwtch built, but the switch allowed only a little vlans to be advertised through the trunk. I used the command "switchport trunk allow vlan remove 80", but when I saw the output of the command "show interfa 0/8 switchport", it said that there were still the vlan 80 active in the trunk. why ? The configuraton is flowering.

R1
interface FastEthernet0/0.20
 encapsulation isl 20
 no ip redirects
 bridge-group 1
!
interface FastEthernet0/0.30
 encapsulation isl 30
 no ip redirects
 bridge-group 1
!
interface FastEthernet0/0.50
 encapsulation isl 50
 no ip redirects
 bridge-group 1
!
interface FastEthernet0/0.70
 encapsulation isl 70
 no ip redirects
 bridge-group 1

2900:

interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
 switchport access vlan 20
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
 switchport mode trunk
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
 switchport access vlan 50
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
 switchport access vlan 30
!
interface FastEthernet0/22
 switchport access vlan 80
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface VLAN1
 no ip directed-broadcast
 no ip route-cache
 shutdown
!
interface VLAN70
 ip address 137.1.70.7 255.255.255.0
 no ip directed-broadcast
 no ip route-cach

the sh interfaces fastEthernet 0/8 switchport output:

cat5000#sh interfaces fastEthernet 0/8 switchport
Name: Fa0/8
Switchport: Enabled
Administrative mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: isl
Operational Trunking Encapsulation: isl
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: 1-5,7,10,11,20,21,30,50,66,70,80
Pruning VLANs Enabled: 2-1001

Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: non

but the sh interfaces fastEthernet 0/8 pruning seemed that it was correct.
but why?

cat5000#sh interfaces fastEthernet 0/8 pruning

Port Vlans pruned for lack of request by neighbor
Fa0/8 NONE

Port Vlans traffic requested of neighbor
Fa0/8 1,20,30,50,70



This archive was generated by hypermail 2.1.4 : Tue Nov 05 2002 - 08:35:59 GMT-3