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 L3 Blade configuration?

Status
Not open for further replies.

dkraut

IS-IT--Management
Feb 5, 2003
75
US
This is a snip from an L3 module in a Catalyst 4006. I'm trying to do a couple of things...
First, I'm trying to understand what the "interface port-channel" command infers?

Secondly, I'd like to add an additional subnet (172.24.3.0) to the same range of switch ports that are currently using the 172.24.2.0 subnet. Given the config of the L3 module below, could I simply do a config t, followed by
int port-channel1.2
and then add a secondary IP address as follows?
ip address 172.24.3.1 255.255.255.0 secondary

Would this give me the ability to use both 172.24.2.0 and 172.24.3.0 on the same range of ports and route between them?



-----------------------------------------
interface Port-channel1
no ip address
no ip directed-broadcast
no ip mroute-cache
hold-queue 300 in
!
interface Port-channel1.1
description User VLAN assigned to GigabitEthernet3&4
encapsulation dot1Q 1 native
ip address 172.24.1.1 255.255.255.0
ip helper-address 172.24.1.20
no ip redirects
no ip directed-broadcast
no ip mroute-cache
!
interface Port-channel1.2
encapsulation dot1Q 2
ip address 172.24.2.1 255.255.255.0
no ip redirects
no ip directed-broadcast
no ip mroute-cache
!
interface FastEthernet1
no ip address
no ip directed-broadcast
no ip mroute-cache
shutdown
!
interface GigabitEthernet1
no ip address
no ip directed-broadcast
no ip mroute-cache
shutdown
!
interface GigabitEthernet2
no ip address
no ip directed-broadcast
no ip mroute-cache
shutdown
!
interface GigabitEthernet3
no ip address
no ip directed-broadcast
no ip mroute-cache
no negotiation auto
channel-group 1
!
interface GigabitEthernet4
no ip address
no ip directed-broadcast
no ip mroute-cache
no negotiation auto
channel-group 1
 
Interface Port-Channel 1 currently consists of ports Gig3 and Gig4 from your config. Any configuration settings made to interface po1 will affect gig3 and gig4.

To add another routed VLAN for the 172.24.3.0 subnet... do this.

Code:
interface Port-channel1.2
 encapsulation dot1Q 3
 ip address 172.24.3.1 255.255.255.0
 no ip redirects
 no ip directed-broadcast
 no ip mroute-cache
!

If you want two subnets on VLAN 2, then yes you would use the secondary IP address method.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top