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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2924M-XL config HELP!

Status
Not open for further replies.

HUANGDI

Technical User
Dec 30, 2002
51
US
Hi All,

I need some help on my config. Little rusty.
2924M-XL
Version 12.0(5)WC5

I am trying config the follwing

VLAN10 ports FA0/1-FA0/8. VLAN10 IP 0.1.10.2 mask 255.255.255.224. would like portfast on these.
port FA 0/1 is to a PIX.
port FA 0/8 is to a Netgear 516 non-vlanable.

VLAN9 ports FA0/17-FA0/24. VLAN9 IP 192.168.10.2 mask
255.255.255.224. would like portfast on these.
port FA 0/17 is to a PIX.

Currenly config is:
spanning-tree portfast bpduguard
no spanning-tree vlan 1
ip subnet-zero
!
!
!
interface FastEthernet0/1
duplex full
speed 100
switchport access vlan 9
spanning-tree portfast
!
interface FastEthernet0/2
duplex full
speed 100
switchport access vlan 9
spanning-tree portfast
!
interface FastEthernet0/3
duplex full
speed 100
switchport access vlan 9
spanning-tree portfast
!
interface FastEthernet0/4
duplex full
speed 100
switchport access vlan 9
spanning-tree portfast
!
interface FastEthernet0/5
duplex full
speed 100
switchport access vlan 9
spanning-tree portfast
!
interface FastEthernet0/6
duplex full
speed 100
switchport access vlan 9
spanning-tree portfast
!
interface FastEthernet0/7
duplex full
speed 100
switchport access vlan 9
spanning-tree portfast
!
interface FastEthernet0/8
duplex full
speed 100
switchport access vlan 9
spanning-tree portfast
interface FastEthernet0/17
duplex full
speed 100
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/18
duplex full
speed 100
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/19
duplex full
speed 100
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/20
duplex full
speed 100
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/21
duplex full
speed 100
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/22
duplex full
speed 100
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/23
duplex full
speed 100
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/24
duplex full
speed 100
switchport access vlan 10
spanning-tree portfast
!
interface VLAN1
no ip address
no ip directed-broadcast
no ip route-cache
shutdown
!
interface VLAN9
description ""
ip address 192.168.10.2 255.255.255.224
no ip directed-broadcast
no ip route-cache
!
interface VLAN10
description ""
ip address 10.1.10.2 255.255.255.224
no ip directed-broadcast
no ip route-cache
shutdown
!
no ip http server
snmp-server engineID local 000000090200000216995B80
snmp-server community private RW
snmp-server community public RO
snmp-server chassis-id 0x10
!
line con 0
transport input none
stopbits 1
line vty 0 4
login
line vty 5 15
login
!
end

Why is VLAN10 up and VLAN9 Admin down? I can get only one up at a time.

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/9, Fa0/10, Fa0/11, Fa0/12,
Fa0/13, Fa0/14, Fa0/15, Fa0/16
9 active Fa0/1, Fa0/2, Fa0/3, Fa0/4,
Fa0/5, Fa0/6, Fa0/7, Fa0/8
10 active Fa0/17, Fa0/18, Fa0/19, Fa0/20,
Fa0/21, Fa0/22, Fa0/23, Fa0/24
VLAN Type SAID MTU
1 enet 100001 1500
9 enet 100009 1500
10 enet 100010 1500

Thanks,
 
You will always only be able to get 1 VLAN up at the time. The only purpose of putting an IP address in a switch is to make it accessible for telnet. Cisco has it implemented so that you designate a management vlan (the one with the IP you are going to telnet to) and all other VLANs will be down/down, but your vlanning will still work like you would expect.
logo-tektips.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top