[f-nsp] OSPF examples in ip-subnet vlans

Gary H ciscovoiper at gmail.com
Fri Aug 28 14:42:21 EDT 2009


I'm looking for some examples of OSPF configuration in a working ip-subnet
vlan environment.  I am setting up a core 0.0.0.0 switch that spokes to four
other foundry 8k/15k bigiron swtiches. I haven't used OSPF yet. I configured
the core with loopback 1 ip address 0.0.0.0  Do I use that same area ip on
spoke foundrys or do they all use a different/identical address area such as
10.1.1.1 for each?
I understand I have to make the core an ABR. Not sure how I go about setting
that feature.

also, this is the first time I'm using ip-subnet vlans. I'm not sure if i
can use the same ip-subnets on each switch but have different virtual
interface ips for each of these ip-subnets. Where it might be tricky is that
i don't need tagged ports for all our devices and I don't know if I will
need to use tagged ports and dual-mode across all the ports in order for the
traffic from the edge ip-subnet vlans to cross over to the core or not?

here's my configs - thanks for looking :)

CORE EXAMPLE CONFIG

ver 08.0.01pT53
!
module 1 bi-8-port-gig-management-module
module 2 bi-8-port-gig-management-module
module 3 bi-8-port-gig-module
module 4 bi-8-port-gig-module
module 5 bi-8-port-gig-module
module 6 bi-8-port-gig-module
module 7 bi-8-port-gig-module
module 8 bi-8-port-gig-module
module 9 bi-24-port-copper-module
!
!
trunk switch ethe 1/1 to 1/4 ethe 2/1 to 2/4
trunk switch ethe 1/5 to 1/8 ethe 2/5 to 2/8
trunk switch ethe 3/1 to 3/4 ethe 4/1 to 4/4
trunk switch ethe 3/5 to 3/8 ethe 4/5 to 4/8
trunk switch ethe 5/1 to 5/4 ethe 6/1 to 6/4
trunk switch ethe 5/5 to 5/8 ethe 6/5 to 6/8
trunk switch ethe 7/1 to 7/4 ethe 8/1 to 8/4
trunk switch ethe 7/5 to 7/8 ethe 8/5 to 8/8
!
!
vlan 96 name VOIP by port
 tagged ethe 1/5 to 1/8 ethe 2/5 to 2/8 ethe 3/5 to 3/8 ethe 4/5 to 4/8 ethe
5/5 to 5/8 ethe 6/5 to 6/8 ethe 7/5 to 7/8 ethe 8/5 to 8/8
 tagged ethe 9/14 to 9/24
 untagged ethe 9/1 ethe 9/13
 ip-subnet 172.16.96.0 255.255.255.0 name voip
  static ethe 1/5 to 1/8 ethe 2/5 to 2/8 ethe 3/5 to 3/8 ethe 4/5 to 4/8
ethe 5/5 to 5/8 ethe 6/5 to 6/8 ethe 7/5 to 7/8 ethe 8/5 to 8/8 ethe 9/1
ethe 9/13 to 9/24
  router-interface ve 96
!
vlan 100 name DEFAULT-VLAN by port
 ip-subnet 172.16.100.0 255.255.255.0
  static ethe 9/2 to 9/12 ethe 9/15 to 9/24
  router-interface ve 100
!
!
default-vlan-id 100
ip dns domain-name pwx.net
ip dns server-address 172.16.100.10 4.2.2.3
ip proxy-arp
ip route 0.0.0.0 0.0.0.0 172.16.100.1 {firewall to gateway router}
!
ip router-id 172.16.100.254
no ip source-route
mirror ethernet 9/21
!
username admin password .....
cdp run
fdp run
snmp-server community ..... rw
sntp server XXXX
web-management enable ethe 1/1 to 1/8 ethe 2/1 to 2/8 ethe 3/1 to 3/8 ethe
4/1 to 4/8 ethe 5/1 to 5/8 ethe 6/1 to 6/8 ethe 7/1 to 7/8 ethe 8/1 to 8/8
ethe 9/1 to 9/24
web-management enable vlan 100
!
router ospf
 area 0.0.0.0
 external-lsdb-limit 32606
!
router rip
 permit redistribute 1 all address 10.1.1.0 255.255.255.0
 redistribution
!
interface loopback 1
 disable
 ip ospf area 0.0.0.0
 ip ospf cost 1
 ip ospf md5-authentication key-id 0 key 0 0x0X0x0
!
interface ethernet 9/16
 dual-mode
 voice-vlan 96
!
interface ethernet 9/17
 dual-mode
 voice-vlan 96
!
interface ve 96
 ip address 172.16.96.254 255.255.255.0
 ip bootp-gateway 172.16.96.1
 ip helper-address 1 172.16.96.1
 ip ospf area 0.0.0.0
 ip ospf cost 1
!
interface ve 100
 ip address 172.16.100.254 255.255.255.0
 ip helper-address 1 172.16.100.1
 ip ospf area 0.0.0.0
 ip ospf cost 1
 ip ospf md5-authentication key-id 0 key 0 0x0X0x0
!
!
!
!
!
!
end




EXAMPLE EDGE CONFIG

ver 08.0.01pT53
!
module 1 bi-8-port-gig-management-module
module 2 bi-8-port-gig-management-module
module 3 bi-24-port-copper-module
module 4 bi-24-port-copper-module
!
!
!
!
vlan 96 name VOIP by port
 tagged ethe 1/5 to 1/8 ethe 2/5 to 2/8 ethe 3/1 to 3/24 ethe 4/1 to 4/24
 priority 6
 ip-subnet 172.16.96.0 255.255.255.0
  static ethe 1/5 to 1/8 ethe 2/5 to 2/8 ethe 3/1 to 3/24 ethe 4/1 to 4/24
  router-interface ve 96
!
vlan 100 name DEFAULT-VLAN by port
 ip-subnet 172.16.100.0 255.255.255.0
  static ethe 1/1 to 1/4 ethe 2/1 to 2/4 ethe 3/1 to 3/24 ethe 4/1 to 4/24
  router-interface ve 100
!
!
default-vlan-id 100
ip router-id 172.16.100.252
username admin password .....
cdp run
sntp server XXXX
!
router ospf
 area 10.1.1.1
!
router rip
 neighbor 1 permit 172.26.100.254
 redistribution
 timers-basic 60 180 120
 update-time 60
!
interface loopback 1
 ip address 10.1.1.252 255.255.255.0
 ip ospf area 10.1.1.1
 ip ospf cost 1
 ip ospf md5-authentication key-id 0 key 0 0x0X0x0
!
interface ethernet 3/1
 dual-mode
 voice-vlan 96
!
interface ethernet 4/1
 dual-mode
 voice-vlan 96
!
interface ve 96
 ip address 172.16.96.254 255.255.255.0
 ip helper-address 1 172.16.96.2
 ip ospf area 10.1.1.1
 ip ospf cost 1
 ip ospf md5-authentication key-id 0 key 0 0x0X0x0
!
interface ve 100
 ip address 172.16.100.252 255.255.255.0
 ip helper-address 1 172.16.100.1
 ip ospf area 10.1.1.1
 ip ospf cost 1
 ip ospf md5-authentication key-id 0 key 0 0x0X0x0
!
!
!
ip flow-export version 5
!
!
!
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/foundry-nsp/attachments/20090828/8cbe17ed/attachment.html>


More information about the foundry-nsp mailing list