Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring MPLS and H-VPLS (Rev. 03)
Resource Reservation Protocol Traffic Engineering (RSVP-TE)© 2008 Foundry Networks, Inc
Page 103 of 113
DeviceB
#
configure terminal
DeviceB
(config)#
ip address 10.90.90.91 255.255.255.0
DeviceB
(config)#
Port Configuration
2.
Set deafult VLANs for the following interfaces:
DeviceB
(config)#
interface 1/1/27
DeviceB
(config-if 1/1/27)#
default vlan 20
DeviceB
(config-if 1/1/27)#
interface 1/1/28
DeviceB
(config-if 1/1/28)#
default vlan 30
DeviceB
(config-if 1/1/28)#
exit
3.
Configure one loopback and two logical IP interfaces:
DeviceB
(config)#
interface lo1
DeviceB
(config-if lo1)#
ip address 3.3.3.3/32
DeviceB
(config-if lo1)#
interface sw2
DeviceB
(config-if sw2)#
mpls
DeviceB
(config-if sw2)#
ip address 20.2.1.2/24
DeviceB
(config-if sw2)#
interface sw3
DeviceB
(config-if sw3)#
mpls
DeviceB
(config-if sw3)#
ip address 20.3.1.1/24
DeviceB
(config-if sw3)#
exit
4.
Specify all routes learned by the OSPF protocol and set route marking
policy:
DeviceB
(config)#
mpls ingress ospf
DeviceB
(config)#
mpls egress 3.3.3.3/32
OSPF Configuration
5.
Enable OSPF for specified networks and assign the specified area for the
networks:
DeviceB
(config)#
router ospf
DeviceB
(config-router)#
ospf router-id 3.3.3.3
DeviceB
(config-router)#
network 20.2.1.0/24 area 0
DeviceB
(config-router)#
network 20.3.1.0/24 area 0
6.
Set OSPF for routes distribution:
DeviceB
(config-router)#
redistribute connected
DeviceB
(config-router)#
traffic-engineering router-address 3.3.3.3
DeviceB
(config-router)#
exit
DeviceB
(config)#
VLAN Configuration
7.
Create the following VLANs and add/remove the appropriate ports to/from
each VLAN:
DeviceB
(config)#
vlan
DeviceB
(config vlan)#
config default
DeviceB
(config-vlan default)#
remove ports 1/1/27,1/1/28
DeviceB
(config-vlan default)#
exit