D-Link DGS-6600-48TS Configuration Guide - Page 364
Step 4. Set static route, Step 2. Enable MPLS QOS and set inbound/outbound mapping rule.
View all D-Link DGS-6600-48TS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 364 highlights
Volume 5-Multiprotocol Label Switching / Chapter 33-Multiprotocol Label Switching (MPLS) Step 4. Set static route DGS-6600:15(config-if)#ip route 20.0.0.0/8 40.0.0.2 DGS-6600:15(config)#ip route 50.0.0.0/8 40.0.0.2 Configuration Examples Step 5. Enable MPLS globally and on the interface; Set the static label of MPLS on the interface. ; Set in/out-label behavior DGS-6600:15(config)#mpls ip DGS-6600:15(config-if)#interface vlan40 DGS-6600:15(config-if)# mpls ip DGS-6600:15(config)#mpls static ftn 20.0.0.0/8 out-label 400 nexthop 40.0.0.2 DGS-6600:15(config)#mpls static ilm in-label 401 forward-action pop nexthop 10.0.0.4 fec 10.0.0.0/8 R2 (Router 2) Configuration Steps Step 1. Create VLAN and add ports into VLAN. DGS-6600:15(config)#vlan 40 DGS-6600:15(config-vlan)#! DGS-6600:15(config-vlan)#vlan 50 DGS-6600:15(config-vlan)#! DGS-6600:15(config-vlan)#interface eth2.1 DGS-6600:15(config-if)# trunk allowed-vlan 40 DGS-6600:15(config-if)# pvid 40 DGS-6600:15(config-if)#! DGS-6600:15(config-if)#interface eth2.16 DGS-6600:15(config-if)# trunk allowed-vlan 50 DGS-6600:15(config-if)# pvid 50 Step 2. Enable MPLS QOS and set inbound/outbound mapping rule. DGS-6600:15(config)#mpls qos policy policy1 DGS-6600:15(config-mpls-router)#trust-exp DGS-6600:15(config-mpls-router)#match ip 20.0.0.0/8 DGS-6600:15(config-mpls-router)#class-map inbound exp 0 priority 0 DGS-6600:15(config-mpls-router)#class-map inbound exp 1 priority 1 DGS-6600:15(config-mpls-router)#class-map inbound exp 2 priority 2 DGS-6600:15(config-mpls-router)#class-map inbound exp 3 priority 3 DGS-6600:15(config-mpls-router)#class-map inbound exp 4 priority 4 DGS-6600:15(config-mpls-router)#class-map inbound exp 5 priority 5 DGS-6600:15(config-mpls-router)#class-map inbound exp 6-7 priority 6 DGS-6600:15(config-mpls-router)#class-map outbound priority 1 exp 6 DGS-6600:15(config-mpls-router)#class-map outbound exp 3 DGS-6600 Configuration Guide 364