Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Catalyst 6500 VLAN Configuration

Status
Not open for further replies.

Cedrick

MIS
Jun 17, 2002
17
US
Hi,

I'm setting up a new 6509 with redundant SUP720/MSFC3's running in native mode, IOS version 12.2(17d)SXB11a. I'm unable to get traffic to pass thru VLAN 4 (which is the first VLAN I've configured). I assigned an IP address and issued no shutdown within interface VLAN 4. I gave GigabitEthernet8/48 switchport access and issued the switchport access vlan 4 and switchport mode access commands within interface gi8/48.

When I do a sh vlan, I don't even see VLAN 4 listed. If I do a sh ip int brief VLAN 4's status is displayed as down. Gi8/48 is up, up. Shown below is a truncated config and the sh vlan, sh ip int brief, and sh int gi 8/48 commands.

I'm sure it's something simple, but I've only configured 6500's in hybrid mode and 3560's using native IOS. Any help would be greatly appreciated and sorry for the newbie-ness!

Current configuration : 6706 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service counters max age 10
!
hostname Router
!
boot system flash bootflash:s72033-pk9sv-mz.122-17d.SXB11a.bin
no logging console
!
ip subnet-zero
!
!
!
mpls ldp logging neighbor-changes
no mls flow ip
no mls flow ipv6
mls cef error action freeze
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
diagnostic cns publish cisco.cns.device.diag_results
diagnostic cns subscribe cisco.cns.device.diag_commands
!
redundancy
mode sso
main-cpu
auto-sync running-config
auto-sync standard
!
vlan internal allocation policy ascending
vlan access-log ratelimit 2000
!
!
interface GigabitEthernet5/1
no ip address
shutdown
!
interface GigabitEthernet5/2
no ip address
shutdown
!
interface GigabitEthernet6/1
no ip address
shutdown
!
interface GigabitEthernet6/2
no ip address
shutdown
!
!
!
interface GigabitEthernet8/48
no ip address
switchport
switchport access vlan 4
switchport mode access
!
!
!
interface Vlan1
no ip address
shutdown
!
interface Vlan4
ip address 10.99.204.36 255.255.255.248
no ip igmp snooping explicit-tracking
no ipv6 mld snooping explicit-tracking
no ipv6 mld snooping
!
ip classless
no ip http server
!
!
!
!
!
line con 0
line vty 0 4
login
!
end


Router#sh vlan

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
!
!
!
Router#sho ip int brief
Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned YES NVRAM administratively down down
Vlan4 10.99.204.36 YES manual down down
GigabitEthernet5/1 unassigned YES NVRAM administratively down down
GigabitEthernet5/2 unassigned YES NVRAM administratively down down
GigabitEthernet6/1 unassigned YES NVRAM administratively down down
GigabitEthernet6/2 unassigned YES NVRAM administratively down down
!
!
GigabitEthernet8/48 unassigned YES unset up up
!
!
!
Router#sho int gi 8/48
GigabitEthernet8/48 is up, line protocol is up (connected)
Hardware is C6k 1000Mb 802.3, address is 001a.a257.f03f (bia 001a.a257.f03f)
MTU 1500 bytes, BW 100000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Full-duplex, 100Mb/s
input flow-control is off, output flow-control is off
Clock mode is auto
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:30, output hang never
Last clearing of "show interface" counters never
Input queue: 0/2000/2/0 (size/max/drops/flushes); Total output drops: 1
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
121 packets input, 14573 bytes, 0 no buffer
Received 65 broadcasts, 0 runts, 0 giants, 0 throttles
2 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
4 packets output, 4040 bytes, 0 underruns
1 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Router#
 
Yes, newbie mistake. You have to create the vlan first (I thought I was assigning an IP address to it as you do in the 3560's, but this isn't so).

1) Create VLAN
- conf t
- vlan <#>
- end

2) Assign IP
- conf t
- int vlan <#>
- ip address <IP> <mask>

3) Assign port
- conf t
- int <type> <blade/port>
- switchport
- switchport access vlan <#>
- switchport mode access
 
Yup create the layer 2 vlan first then create the layer 3 interface for that vlan . Also you can put an ip address on the port itself if need be , just use the no switchport" command on the interface and this makes it a routed interface.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top