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 107 of 113
1.
Enable OSPF for specified networks and assign the specified area for the
networks:
DeviceC
(config)#
router ospf
DeviceC
(config-router)#
ospf router-id 4.4.4.4
DeviceC
(config-router)#
network 20.3.1.0/24 area 0
DeviceC
(config-router)#
network 20.4.1.0/24 area 0
2.
Set OSPF for routes distribution:
DeviceC
(config-router)#
redistribute connected
DeviceC
(config-router)#
traffic-engineering router-address 4.4.4.4
DeviceC
(config-router)#
exit
DeviceC
(config)#
VLAN Configuration
1.
Create the following VLANs and add/remove the appropriate ports to/from
each VLAN:
DeviceC
(config)#
vlan
DeviceC
(config vlan)#
config default
DeviceC
(config-vlan default)#
remove ports 1/1/4,1/1/8,1/1/27,1/1/28
DeviceC
(config-vlan default)#
exit
DeviceC
(config vlan)#
create 30 30
DeviceC
(config vlan)#
config 30
DeviceC
(config-vlan 30)#
add ports 1/1/27 untagged
DeviceC
(config-vlan 30)#
rif sw2
DeviceC
(config-vlan 30)#
exit
DeviceC
(config vlan)#
create 40 40
DeviceC
(config vlan)#
config 40
DeviceC
(config-vlan 40)#
add ports 1/1/28 untagged
DeviceC
(config-vlan 40)#
rif sw1
DeviceC
(config-vlan 40)#
exit
DeviceC
(config vlan)#
create 100 100
DeviceC
(config vlan)#
config 100
DeviceC
(config-vlan 100)#
add ports 1/1/4,1/1/8 tagged
DeviceC
(config vlan)#
exit
DeviceC
(config)#
LDP Configuration
1.
Set the LSR-ID of the device:
DeviceC
(config)#
mpls lsr-id 4.4.4.4
2.
Enable the LDP protocol:
DeviceC
(config)#
router ldp
3.
Define a transport address and additional targeted LDP-peer:
DeviceC
(config-router)#
transport-address 4.4.4.4
DeviceC
(config-router)#
targeted-peer 1.1.1.1
DeviceC
(config-router-peer 1.1.1.1)#
exit
DeviceC
(config-router)#
exit
DeviceC
(config)#