Help getting DHCP server Cisco Switch to assign IPv4 address to AP

Joined
May 22, 2010
Messages
2,079
I have a Cisco 3560v2 switch and a Cisco 2600 series Airnet Wireless Access Point, but the AP can't obtain an IP address from the switch being used as a DHCP server. I've been told I need a trunk on the switches to accomplish this too and I'm using configs from Labs 5.1 Inter-vlan Routing and 5.2 DHCP Server from version 7 of the CCNP IP SWITCH Lab manual to attempt to accomplish this. However, it's not working though.

Ports 7-8 are trunked though on port channel 3 on the DLS2, Ports 9-10 are trunked as well as part of port channel 4, and ports 11-12 are trunked as part of port channel 2 on DLS2 as well and the same on all other required switches. Some switchports might night be working though, but port 6 that I tried to use to connect to the AP seems to be and so does port 7 on DLS2. However, port 8 on DLS2 doesn't seem to be and when I try to trunk port 6 with 7 and 8 it says unable to pair or something like that. Can anyone help me figure out why I can't accomplish this. I'm running IOS 15.0(2) SE4 on four 3560v2's if that helps.
 
Post a topology and configs. Get DHCP working on an access port to confirm it works and keep it simple.

You could also try plugging another device into that access port to see if it gets an address.

Also try debugging DCHP on the switch, what types of messages are seen?

It sounds like you're connecting the AP to a trunk. I have no experience working with Cisco APs but I did have to configure the BVI as the native VLAN on the trunk, as it wasn't tagged.
 
Post a topology and configs. Get DHCP working on an access port to confirm it works and keep it simple.

You could also try plugging another device into that access port to see if it gets an address.

Also try debugging DCHP on the switch, what types of messages are seen?

It sounds like you're connecting the AP to a trunk. I have no experience working with Cisco APs but I did have to configure the BVI as the native VLAN on the trunk, as it wasn't tagged.

Ok here are the topologies being used or modified:



and



I tried connecting a PC to that port, but that didn't help either.

I'll try debugging to and see if that helps though.

Keep mind though the Lab 5-2 is supposed to pickup where Lab 5-1 left off or something like that.
 
Last edited:
Post a topology and configs. Get DHCP working on an access port to confirm it works and keep it simple.

You could also try plugging another device into that access port to see if it gets an address.

Also try debugging DCHP on the switch, what types of messages are seen?

It sounds like you're connecting the AP to a trunk. I have no experience working with Cisco APs but I did have to configure the BVI as the native VLAN on the trunk, as it wasn't tagged.

I tried using the debug dhcp detail command on both the DSL2 switch and the AP. The switch didn't do anything, but the AP said unknown dhcp problem. Now what should I do.
 
Post actual device configs. The switch needs a VLAN interface in the subnet you expect to handle DHCP, if acting as a DHCP server. If you're trunking to the AP, you'll need the expected interface to have an IP on that switch to service the request on that VLAN.
 
so the router is connected to a switch and the physical port has no ip (right?)
and each sub interface on that router has an IP address (say a .1) on a subnet
and you have a dhcp pool referencing that subnet with default gateway configured as well as the network command? lastly, your did exclude the .1 IP address from the pool as well?

the port which the router is connected to the switch, that switch is in trunk mode and has reference in the clan database for each vlan the router has via sub-interfaces?
 
Think about the requirements for DHCP and follow the path between client and server. That is how you will identify the problem.
 
Two quick questions that I didn't see was answered:

What switch is acting as the DHCP server and what switch are you connecting to?

If it is connecting directly to the DHCP server, it will pick up an address directly related to the IP of the VLAN it is placed in (as long as the pool and L3 interface is configured correctly). If DS2 isn't the DHCP server, you should have configured the SVIs with the ip helper-address command pointing to the L3 interface of the DHCP server, but without configs, it's all a guessing game.
 
Think about the requirements for DHCP and follow the path between client and server. That is how you will identify the problem.

That's the thing I rarely setup a DHCP server especially for a home network because it just compiicates things and is expensive. By now I should know how to do it, but considering I hardly ever do it I have little to no experience with it.
 
Two quick questions that I didn't see was answered:

What switch is acting as the DHCP server and what switch are you connecting to?

If it is connecting directly to the DHCP server, it will pick up an address directly related to the IP of the VLAN it is placed in (as long as the pool and L3 interface is configured correctly). If DS2 isn't the DHCP server, you should have configured the SVIs with the ip helper-address command pointing to the L3 interface of the DHCP server, but without configs, it's all a guessing game.

I think DLS1 and DLS2 are because there acting as the server for the distribution layer. While ALS1 and ALS2 are acting as access layer switches that are either transparent or something other than server.
 
so the router is connected to a switch and the physical port has no ip (right?)
and each sub interface on that router has an IP address (say a .1) on a subnet
and you have a dhcp pool referencing that subnet with default gateway configured as well as the network command? lastly, your did exclude the .1 IP address from the pool as well?

the port which the router is connected to the switch, that switch is in trunk mode and has reference in the clan database for each vlan the router has via sub-interfaces?

No I'm sure I didn't do that unless I was supposed to and I don't think I was because wouldn't that be using the network ID and not be a usable IP.
 
Post actual device configs. The switch needs a VLAN interface in the subnet you expect to handle DHCP, if acting as a DHCP server. If you're trunking to the AP, you'll need the expected interface to have an IP on that switch to service the request on that VLAN.


I'll try to but they might be to long for posting in a thread. Especially all of them in a single thread.
 
Two quick questions that I didn't see was answered:

What switch is acting as the DHCP server and what switch are you connecting to?

If it is connecting directly to the DHCP server, it will pick up an address directly related to the IP of the VLAN it is placed in (as long as the pool and L3 interface is configured correctly). If DS2 isn't the DHCP server, you should have configured the SVIs with the ip helper-address command pointing to the L3 interface of the DHCP server, but without configs, it's all a guessing game.

I'll try to post configs, but they might be to long for a thread and especially a single thread.
 
Post actual device configs. The switch needs a VLAN interface in the subnet you expect to handle DHCP, if acting as a DHCP server. If you're trunking to the AP, you'll need the expected interface to have an IP on that switch to service the request on that VLAN.

By the way the switch should have two VLANs, which are VLAN 110 and 120.
 
Here is the config for DLS!:


DLS1(config)#do sh run
Building configuration...

Current configuration : 2520 bytes
!
! Last configuration change at 00:59:42 UTC Mon Mar 1 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
system mtu routing 1500
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback1
ip address 172.16.1.1 255.255.255.0
!
interface Port-channel2
no switchport
ip address 172.16.12.1 255.255.255.252
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
no switchport
no ip address
channel-group 2 mode desirable
!
interface FastEthernet0/12
no switchport
no ip address
channel-group 2 mode desirable
!
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
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface FastEthernet0/25
!
interface FastEthernet0/26
!
interface FastEthernet0/27
!
interface FastEthernet0/28
!
interface FastEthernet0/29
!
interface FastEthernet0/30
!
interface FastEthernet0/31
!
interface FastEthernet0/32
!
interface FastEthernet0/33
!
interface FastEthernet0/34
!
interface FastEthernet0/35
!
interface FastEthernet0/36
!
interface FastEthernet0/37
!
interface FastEthernet0/38
!
interface FastEthernet0/39
!
interface FastEthernet0/40
!
interface FastEthernet0/41
!
interface FastEthernet0/42
!
interface FastEthernet0/43
!
interface FastEthernet0/44
!
interface FastEthernet0/45
!
interface FastEthernet0/46
!
interface FastEthernet0/47
!
interface FastEthernet0/48
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface Vlan1
no ip address
!
interface Vlan99
ip address 10.1.99.1 255.255.255.0
!
ip http server
ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 Port-channel2
ip route 0.0.0.0 0.0.0.0 Port-channel2 172.16.12.2
ip route 10.1.100.0 255.255.255.0 Vlan99
!
!
!
!
line con 0
line vty 5 15
!
end

DLS1(config)#
 
Here's the config for DLS2:


DLS2#sh run
Building configuration...

Current configuration : 2685 bytes
!
! Last configuration change at 01:15:28 UTC Mon Mar 1 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
system mtu routing 1500
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback1
ip address 192.168.1.1 255.255.255.0
!
interface Port-channel2
no switchport
ip address 172.16.12.2 255.255.255.252
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
switchport access vlan 110
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
no switchport
no ip address
channel-group 2 mode desirable
!
interface FastEthernet0/12
no switchport
no ip address
channel-group 2 mode desirable
!
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
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface FastEthernet0/25
!
interface FastEthernet0/26
!
interface FastEthernet0/27
!
interface FastEthernet0/28
!
interface FastEthernet0/29
!
interface FastEthernet0/30
!
interface FastEthernet0/31
!
interface FastEthernet0/32
!
interface FastEthernet0/33
!
interface FastEthernet0/34
!
interface FastEthernet0/35
!
interface FastEthernet0/36
!
interface FastEthernet0/37
!
interface FastEthernet0/38
!
interface FastEthernet0/39
!
interface FastEthernet0/40
!
interface FastEthernet0/41
!
interface FastEthernet0/42
!
interface FastEthernet0/43
!
interface FastEthernet0/44
!
interface FastEthernet0/45
!
interface FastEthernet0/46
!
interface FastEthernet0/47
!
interface FastEthernet0/48
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface Vlan1
no ip address
shutdown
!
interface Vlan99
ip address 10.1.99.102 255.255.255.0
!
interface Vlan110
ip address 10.1.110.1 255.255.255.0
!
interface Vlan120
ip address 10.1.120.1 255.255.255.0
!
ip http server
ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 Port-channel2 172.16.12.1
ip route 10.1.100.0 255.255.255.0 Vlan110
!
!
!
!
line con 0
line vty 5 15
!
end

DLS2#
 
Here's the config for ALS1:


ALS1#sh run
Building configuration...

Current configuration : 2758 bytes
!
! Last configuration change at 01:05:31 UTC Mon Mar 1 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ALS1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
system mtu routing 1500
ip routing
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Port-channel1
!
interface Port-channel4
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/7
switchport trunk allowed vlan 1-109,111-4094
channel-group 1 mode desirable
!
interface FastEthernet0/8
switchport trunk allowed vlan 1-109,111-4094
channel-group 1 mode desirable
!
interface FastEthernet0/9
switchport trunk allowed vlan 110
channel-group 4 mode desirable
!
interface FastEthernet0/10
switchport trunk allowed vlan 110
channel-group 4 mode desirable
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
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
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface FastEthernet0/25
!
interface FastEthernet0/26
!
interface FastEthernet0/27
!
interface FastEthernet0/28
!
interface FastEthernet0/29
!
interface FastEthernet0/30
!
interface FastEthernet0/31
!
interface FastEthernet0/32
!
interface FastEthernet0/33
!
interface FastEthernet0/34
!
interface FastEthernet0/35
!
interface FastEthernet0/36
!
interface FastEthernet0/37
!
interface FastEthernet0/38
!
interface FastEthernet0/39
!
interface FastEthernet0/40
!
interface FastEthernet0/41
!
interface FastEthernet0/42
!
interface FastEthernet0/43
!
interface FastEthernet0/44
!
interface FastEthernet0/45
!
interface FastEthernet0/46
!
interface FastEthernet0/47
!
interface FastEthernet0/48
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface Vlan1
no ip address
shutdown
!
interface Vlan99
ip address 10.1.99.103 255.255.255.0
!
interface Vlan100
ip address 10.1.100.1 255.255.255.0
!
interface Vlan110
ip address 10.1.110.2 255.255.255.0
!
ip http server
ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 10.1.99.1
ip route 192.168.1.0 255.255.255.0 Vlan110
!
!
!
!
line con 0
line vty 5 15
!
end

ALS1#
 
Here's the config for ALS2:


ALS2#sh run
Building configuration...

Current configuration : 2314 bytes
!
! Last configuration change at 00:58:11 UTC Mon Mar 1 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ALS2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
system mtu routing 1500
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Port-channel3
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
channel-group 3 mode desirable
!
interface FastEthernet0/8
channel-group 3 mode desirable
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
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
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface FastEthernet0/25
!
interface FastEthernet0/26
!
interface FastEthernet0/27
!
interface FastEthernet0/28
!
interface FastEthernet0/29
!
interface FastEthernet0/30
!
interface FastEthernet0/31
!
interface FastEthernet0/32
!
interface FastEthernet0/33
!
interface FastEthernet0/34
!
interface FastEthernet0/35
!
interface FastEthernet0/36
!
interface FastEthernet0/37
!
interface FastEthernet0/38
!
interface FastEthernet0/39
!
interface FastEthernet0/40
!
interface FastEthernet0/41
!
interface FastEthernet0/42
!
interface FastEthernet0/43
!
interface FastEthernet0/44
!
interface FastEthernet0/45
!
interface FastEthernet0/46
!
interface FastEthernet0/47
!
interface FastEthernet0/48
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface Vlan1
no ip address
shutdown
!
interface Vlan99
ip address 10.1.99.104 255.255.255.0
!
interface Vlan120
ip address 10.1.120.2 255.255.255.0
!
ip default-gateway 10.1.120.1
ip http server
ip http secure-server
!
!
!
!
!
!
line con 0
line vty 5 15
!
end

ALS2#
 
Doing a quick scan through the configs, I'm not seeing anything DHCP related.

Whoops I think I know why becuase I might have posted the configs from just Lab 5-1 and those only contain configs for inter-vlan. I post the configs from 5-2 seperately in the following replies.
 
Here's the configs from DLS1 for 5-2:


DLS1(config)#do sh run
Building configuration...

Current configuration : 5158 bytes
!
! Last configuration change at 22:40:43 UTC Sun Mar 7 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
system mtu routing 1500
!
ip dhcp excluded-address 10.1.99.1 10.1.99.2
ip dhcp excluded-address 10.1.99.100 10.1.99.104
ip dhcp excluded-address 10.1.120.1 10.1.120.2
ip dhcp excluded-address 10.1.101.1 10.1.101.2
!
ip dhcp pool VLAN99_DHCP
network 10.1.99.0 255.255.255.0
default-router 10.1.99.1
dns-server 10.1.99.100
!
ip dhcp pool VLAN120_DHCP
dns-server 10.1.120.100
default-router 10.1.120.1
!
ip dhcp pool VLAN101_DHCP
!
!
ipv6 dhcp pool MANAGEMENT_IPV6_DHCP
dns-server 2001:DB8:3115:99::100
!
ipv6 dhcp pool VLAN120-IPV6-POOL
address prefix 3333:120::/64
address prefix 2001:DB8:3115:99:120::/64
dns-server 2001:DB8:3115:99::100
domain-name switch.ccnp
!
!
!
crypto pki trustpoint TP-self-signed-3552118400
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3552118400
revocation-check none
rsakeypair TP-self-signed-3552118400
!
quit
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback1
ip address 172.16.1.1 255.255.255.0
!
interface Port-channel2
no switchport
ip address 172.16.12.1 255.255.255.252
ipv6 address FE80::D1 link-local
ipv6 address 2001:DB8:3115:12::D1/64
ipv6 dhcp server VLAN120-IPV6-POOL
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
no switchport
no ip address
channel-group 2 mode desirable
!
interface FastEthernet0/12
no switchport
no ip address
channel-group 2 mode desirable
!
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
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface FastEthernet0/25
!
interface FastEthernet0/26
!
interface FastEthernet0/27
!
interface FastEthernet0/28
!
interface FastEthernet0/29
!
interface FastEthernet0/30
!
interface FastEthernet0/31
!
interface FastEthernet0/32
!
interface FastEthernet0/33
!
interface FastEthernet0/34
!
interface FastEthernet0/35
!
interface FastEthernet0/36
!
interface FastEthernet0/37
!
interface FastEthernet0/38
!
interface FastEthernet0/39
!
interface FastEthernet0/40
!
interface FastEthernet0/41
!
interface FastEthernet0/42
!
interface FastEthernet0/43
!
interface FastEthernet0/44
!
interface FastEthernet0/45
!
interface FastEthernet0/46
!
interface FastEthernet0/47
!
interface FastEthernet0/48
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface Vlan1
no ip address
!
interface Vlan99
ip address 10.1.99.101 255.255.255.0
ipv6 address FE80::D1 link-local
ipv6 address 2001:DB8:3115:99::D1/64
ipv6 nd other-config-flag
ipv6 dhcp server MANAGEMENT_IPV6_DHCP
!
interface Vlan101
ip address 10.1.101.1 255.255.255.0
!
interface Vlan120
no ip address
ipv6 nd managed-config-flag
!
ip http server
ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 Port-channel2
ip route 0.0.0.0 0.0.0.0 Port-channel2 172.16.12.2
ip route 10.1.100.0 255.255.255.0 Vlan99
!
!
!
!
!
line con 0
line vty 0 4
login
line vty 5 15
login
!
end

DLS1(config)#
 
Here's the config for DLS2 for 5-2:


DLS2(config)#do sh run
Building configuration...

Current configuration : 4592 bytes
!
! Last configuration change at 21:55:11 UTC Sun Mar 7 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
system mtu routing 1500
!
!
!
!
!
crypto pki trustpoint TP-self-signed-3282707456
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3282707456
revocation-check none
rsakeypair TP-self-signed-3282707456
!
!
quit
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback1
ip address 192.168.1.1 255.255.255.0
!
interface Port-channel2
no switchport
ip address 172.16.12.2 255.255.255.252
ipv6 address FE80::D2 link-local
ipv6 address 2001:DB8:3115:12::D2/64
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
switchport access vlan 110
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
no switchport
no ip address
channel-group 2 mode desirable
!
interface FastEthernet0/12
no switchport
no ip address
channel-group 2 mode desirable
!
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
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface FastEthernet0/25
!
interface FastEthernet0/26
!
interface FastEthernet0/27
!
interface FastEthernet0/28
!
interface FastEthernet0/29
!
interface FastEthernet0/30
!
interface FastEthernet0/31
!
interface FastEthernet0/32
!
interface FastEthernet0/33
!
interface FastEthernet0/34
!
interface FastEthernet0/35
!
interface FastEthernet0/36
!
interface FastEthernet0/37
!
interface FastEthernet0/38
!
interface FastEthernet0/39
!
interface FastEthernet0/40
!
interface FastEthernet0/41
!
interface FastEthernet0/42
!
interface FastEthernet0/43
!
interface FastEthernet0/44
!
interface FastEthernet0/45
!
interface FastEthernet0/46
!
interface FastEthernet0/47
!
interface FastEthernet0/48
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface Vlan1
no ip address
shutdown
!
interface Vlan99
ip address 10.1.99.102 255.255.255.0
!
interface Vlan110
ip address 10.1.110.1 255.255.255.0
ipv6 address FE80::D2 link-local
ipv6 address 2001:DB8:3115:110::D2/64
!
interface Vlan120
ip address 10.1.120.1 255.255.255.0
ipv6 address FE80::D2 link-local
ipv6 address 2001:DB8:3115:120::D2/64
ipv6 nd prefix 2001:DB8:3115:120::/64 2592000 604800 no-autoconfig
!
ip http server
ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 Port-channel2 172.16.12.1
ip route 10.1.100.0 255.255.255.0 Vlan110
!
!
!
!
!
line con 0
line vty 0 4
login
line vty 5 15
login
!
end

DLS2(config)#
 
Here's the configs for ALS1 for 5-2:


ALS1#sh run
Building configuration...

Current configuration : 4472 bytes
!
! Last configuration change at 22:14:26 UTC Sun Mar 7 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ALS1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
system mtu routing 1500
ip routing
!
!
!
!
!
crypto pki trustpoint TP-self-signed-2439253120
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2439253120
revocation-check none
rsakeypair TP-self-signed-2439253120
!
!
quit
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Port-channel1
!
interface Port-channel4
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
switchport access vlan 99
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/7
switchport trunk allowed vlan 1-109,111-4094
channel-group 1 mode desirable
!
interface FastEthernet0/8
switchport trunk allowed vlan 1-109,111-4094
channel-group 1 mode desirable
!
interface FastEthernet0/9
switchport trunk allowed vlan 1-109,111-4094
channel-group 4 mode desirable
!
interface FastEthernet0/10
switchport trunk allowed vlan 1-109,111-4094
channel-group 4 mode desirable
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
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
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface FastEthernet0/25
!
interface FastEthernet0/26
!
interface FastEthernet0/27
!
interface FastEthernet0/28
!
interface FastEthernet0/29
!
interface FastEthernet0/30
!
interface FastEthernet0/31
!
interface FastEthernet0/32
!
interface FastEthernet0/33
!
interface FastEthernet0/34
!
interface FastEthernet0/35
!
interface FastEthernet0/36
!
interface FastEthernet0/37
!
interface FastEthernet0/38
!
interface FastEthernet0/39
!
interface FastEthernet0/40
!
interface FastEthernet0/41
!
interface FastEthernet0/42
!
interface FastEthernet0/43
!
interface FastEthernet0/44
!
interface FastEthernet0/45
!
interface FastEthernet0/46
!
interface FastEthernet0/47
!
interface FastEthernet0/48
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface Vlan1
no ip address
shutdown
!
interface Vlan99
ip address 10.1.99.103 255.255.255.0
ipv6 address FE80::A1 link-local
ipv6 address 2001:DB8:3115:99::A1/64
!
interface Vlan100
ip address 10.1.100.1 255.255.255.0
!
interface Vlan110
ip address 10.1.110.2 255.255.255.0
!
ip http server
ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 10.1.99.1
ip route 192.168.1.0 255.255.255.0 Vlan110
!
!
!
!
!
line con 0
line vty 0 4
login
line vty 5 15
login
!
end

ALS1#
 
Here's the configs for ALS2 for 5-2:


ALS2(config)#do sh run
Building configuration...

Current configuration : 4076 bytes
!
! Last configuration change at 22:11:29 UTC Sun Mar 7 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ALS2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
system mtu routing 1500
!
!
!
!
!
crypto pki trustpoint TP-self-signed-215050624
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-215050624
revocation-check none
rsakeypair TP-self-signed-215050624
!
!
quit
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Port-channel3
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
switchport access vlan 120
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/7
channel-group 3 mode desirable
!
interface FastEthernet0/8
channel-group 3 mode desirable
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
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
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface FastEthernet0/25
!
interface FastEthernet0/26
!
interface FastEthernet0/27
!
interface FastEthernet0/28
!
interface FastEthernet0/29
!
interface FastEthernet0/30
!
interface FastEthernet0/31
!
interface FastEthernet0/32
!
interface FastEthernet0/33
!
interface FastEthernet0/34
!
interface FastEthernet0/35
!
interface FastEthernet0/36
!
interface FastEthernet0/37
!
interface FastEthernet0/38
!
interface FastEthernet0/39
!
interface FastEthernet0/40
!
interface FastEthernet0/41
!
interface FastEthernet0/42
!
interface FastEthernet0/43
!
interface FastEthernet0/44
!
interface FastEthernet0/45
!
interface FastEthernet0/46
!
interface FastEthernet0/47
!
interface FastEthernet0/48
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface Vlan1
no ip address
shutdown
!
interface Vlan99
ip address 10.1.99.104 255.255.255.0
!
interface Vlan120
ip address 10.1.120.2 255.255.255.0
ipv6 address FE80::A2 link-local
ipv6 address 2001:DB8:3115:120::A2/64
!
ip default-gateway 10.1.120.1
ip http server
ip http secure-server
!
!
!
!
!
!
!
line con 0
line vty 0 4
login
line vty 5 15
login
!
end

ALS2(config)#
 
Back
Top