T-Series Traffic Director Installation, Configuration and Administration Guide 4-5
OSPF Configuration
Switch Configuration
The following CLI sequences show a typical switch configuration for OSPF. Refer to
“Sample OSPF Network” on page 4-2 for the values used in this configuration.
Note: The CLI commands in this section are specific to a particular switch
manufacturer. Use values and CLI commands appropriate for your network and
switch hardware.
Wireless and Internet Switch on Separate Hardware
Wireless Switch 1
(config)# interface Vlan305
(config-if)# ip address 172.16.114.102 255.255.255.0
(config)# interface Vlan405
(config-if)# ip address 172.16.124.102 255.255.255.0
(config)# interface Vlan505
(config-if)# ip address 172.16.134.102 255.255.255.0
(config-if)# exit
(config)# router ospf 100
(config-router)# redistribute static subnets
(config-router)# network 172.16.124.102 0.0.0.0 area 0
(config-router)# network 172.16.114.102 0.0.0.0 area 1
(config-router)# network 172.16.134.102 0.0.0.0 area 1
(config-router)# exit
Wireless Switch 2
(config)# interface Vlan305
(config-if)# ip address 172.16.114.103 255.255.255.0
(config-if)# ip ospf cost 40
(config)# interface Vlan405
(config-if)# ip address 172.16.124.103 255.255.255.0
(config-if)# ip ospf cost 40
(config)# interface Vlan505
(config-if)# ip address 172.16.134.103 255.255.255.0
(config-if)# ip ospf cost 40
(config-if)# exit
(config)# router ospf 100
(config-router)# redistribute static subnets
(config-router)# network 172.16.124.103 0.0.0.0 area 0
(config-router)# network 172.16.114.103 0.0.0.0 area 1
(config-router)# network 172.16.134.103 0.0.0.0 area 1
(config-router)# exit
Internet Switch 1
(config)# interface Vlan306
(config-if)# ip address 172.16.115.102 255.255.255.0
(config)# interface Vlan406
(config-if)# ip address 172.16.125.102 255.255.255.0
(config)# interface Vlan506
(config-if)# ip address 172.16.135.102 255.255.255.0
(config-if)# exit
(config)# router ospf 100
(config-router)# redistribute static subnets
(config-router)# network 172.16.125.102 0.0.0.0 area 0