Users Guide

Table Of Contents
OSPF and OSPFv3 1331
To Configure Border Router A:
1
Enable routing on the switch.
console#configure
console(config)#ip routing
2
Create VLANS 70, 80, and 90 and assign them to interfaces.
console(config)#vlan 70,80,90
console(config-vlan70,80,90)#interface gi1/0/1
console(config-if-Gi1/0/1)#switchport access vlan 70
console(config-if-Gi1/0/1)#interface gi1/0/2
console(config-if-Gi1/0/2)#switchport access vlan 80
console(config-if-Gi1/0/1)#interface gi1/0/3
console(config-if-Gi1/0/2)#switchport access vlan 90
3
Assign IP addresses for VLANs 70, 80 and 90.
console(config)#interface vlan 70
console(config-if-vlan70)#ip address 192.150.2.2 255.255.255.0
console(config-if-vlan70)#exit
console(config)#interface vlan 80
console(config-if-vlan80)#ip address 192.150.3.1 255.255.255.0
console(config-if-vlan80)#exit
console(config)#interface vlan 90
console(config-if-vlan90)#ip address 192.150.4.1 255.255.255.0
console(config-if-vlan90)#exit
4
Enable OSPF on the switch and specify a router ID.
console(config)#router ospf
console(config-router)#router-id 192.150.9.9
console(config-router)#exit