There is Cisco 8-port catalyst 3560C and someone configured to connect a Ruckus R500. When I did a sh run in the switch, I found there was a line below and did not see list of vlans. why it was configured?
VLAN internal allocation policy ascending
Also, when I did sh vlan, there were list of default vlans plus vlans that was configured and interfaces g0/2 to g/08 was on default vlan 1. and did not find interface g0/1 assigned to any vlan
But when I did sh run int g0/1, the following was shown.
switchport trunk encapsulation dot1q
switchport mode trunk
Could someone please help to share your comment on why the switch configured?
Below is the configuration:
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
vlan internal allocation policy ascending
!
!
!
interface Port-channel1
description G0/9-G0/10
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/1
description connect to Ruckus R500
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface GigabitEthernet0/5
!
interface GigabitEthernet0/6
!
interface GigabitEthernet0/7
!
interface GigabitEthernet0/8
!
interface GigabitEthernet0/9
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode on
!
interface GigabitEthernet0/10
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode on
!
interface Vlan1
no ip address
shutdown
!
interface Vlan100
ip address 182.16.0.5 255.255.255.0
!
ip classless
ip http server
ip http secure-server
!
ip sla enable reaction-alerts
!
snmp-server community TESTING
!
privilege interface level 5 shutdown
privilege interface level 5 no shutdown
privilege interface level 5 description
privilege configure level 5 interface
privilege exec level 5 configure terminal
privilege exec level 5 configure
privilege exec level 5 show running-config interface
!
line con 0
login local
line vty 0 4
login local
line vty 5 15
login local
VLAN internal allocation policy ascending
it is a default configuration for cisco switch, leave as it is
g0/1
is configured as a trunk port, so it does not belong to any vlan, it just let vlans pass through on the uplink
g0/9 and g0/10
are configured in port-channel, e.g. they form a unique 2Gb channel
vlan100
ha a public ip address, it may communicate with the router
vlan1
is in shutdown for security reasons
hope this helps
max