Privacy policyContactsAbout siteOpinionsGitHubDonate
© EVILEG 2015-2018
Recommend hosting
TIMEWEB

DELL Networking. Basics Routing Policy (Part 1)

DELL, PBR, Route-Map

Corporate networks, which are typically used for multiple departments in an organization is often divided into VLANs for increased performance. Administrators can combine multiple physical switches into a single virtual network to create a more efficient use of bandwidth for interagency traffic. Members of each department, who often work remotely feel the performance increase despite the great geographical distance. By using routing policies other levels may be included resolution of the administrators of the rules of the incoming and outgoing traffic. These rules and settings can alter the way the network package.

Configuring PBR includes construction of route-map with the installation instructions, which include the appropriate route-map interface. IP routing must be enabled on the interfaces to control PBR. PBR can only be allowed for incoming traffic through these interfaces.

Enable PBR on the VLAN interface is routed, in which there is a comparison of all incoming packets on the interface route-map, according to the criteria which determined the appropriate routing rule. The interface can be only one policy route-map, but each may have multiple policy route-map, each of which is successively compared with the package in accordance with its priority. If one entry criterion is the criterion of the incoming packet, then selects the appropriate record routing rule. If two or more records meet the criteria, then it runs the rule, which has the highest priority, that is, the smallest number assigned. If no entry does not match, then the packets are routed by default.

Each route-map setting that is used for PBR configured as either a permit (allowed) or as deny (forbidden). If compliance is not according to the rules permit or deny routing, then the directive to drop the packet.

Configuration examples

DELL Networking - Traffic Isolation

Routed to a range of IP addresses (or subnet) in the ISP A, and a second range of IP addresses (or subnet) in the ISP B.

Create access lists.

Enable routing… 
console(config)#ip routing 

Create three Access-Lists… 
console(config)#ip access-list accounting 
console(config-ip-acl)#permit ip 10.1.5.0 0.0.0.255 any 
console(config-ip-acl)#exit 
console(config)#ip access-list hr 
console(config-ip-acl)#permit ip 10.1.6.0 0.0.0.255 any 
console(config-ip-acl)#exit 
console(config)#ip access-list inter-communications 
console(config-ip-acl)#permit ip 10.1.5.0 0.0.0.255 10.1.6.0 0.0.0.255 
console(config-ip-acl)#permit ip 10.1.6.0 0.0.0.255 10.1.5.0 0.0.0.255 
console(config-ip-acl)#exit 

Creating a Route-Map. Static routing.

Create a Route-Map with three sequences (10, 20, 30)… 
console(config)#route-map equal-access deny 10 
console(config-route-map)#match ip address inter-communications 
console(config-route-map)#exit 
console(config)#route-map equal-access permit 20 
console(config-route-map)#match ip address accounting 
console(config-route-map)#set ip next-hop 192.168.6.6 
console(config-route-map)#exit 
console(config)#route-map equal-access permit 30 
console(config-route-map)#match ip address hr 
console(config-route-map)#set ip next-hop 172.16.7.7 
console(config-route-map)#exit 

Setting the port configuration on the ISP-A. In this case, it produced VLAN-s interface with the assignment of IP-addresses, and set one of the ports in trunk mode.

console(config)#vlan 101 
console(config-vlan101)#exit 
console(config)#interface vlan 101 
console(config-if-vlan101)#ip address 172.16.7.6 255.255.255.0 
console(config-if-vlan101)#interface Te1/0/1 
console(config-if-Te1/0/1)#switchport trunk allowed vlan all 
console(config-if-Te1/0/1)#switchport mode trunk 
console(config-if-Te1/0/1)#exit

Setting the port configuration on the ISP-B. In this case, it produced VLAN-s interface with the assignment of IP-addresses, and set one of the ports in trunk mode.

console(config)#vlan 102 
console(config-vlan102)#exit 
console(config)#interface vlan 102 
console(config-if-vlan102)#ip address 192.168.6.5 255.255.255.0 
console(config-if-vlan102)#interface Te1/0/2 
console(config-if-Te1/0/2)#switchport trunk allowed vlan all 
console(config-if-Te1/0/2)#switchport mode trunk 
console(config-if-Te1/0/2)#exit

Configuring VLAN indicating the Route-Map.

console(config)#vlan 111 
console(config-vlan111)#exit
console(config)#interface vlan 111 
console(config-if-vlan111)#ip address 10.1.5.1 255.255.0.0 
console(config-if-vlan111)#ip policy route-map equal-access 
console(config-if-vlan111)# exit 
/* Configuring VLAN ports on the group access mode */
console(config)#interface range gigabitethernet all 
console(config-if)#switchport access vlan 111 
console(config-if)#switchport mode access 

Checking your results

console#show ip access-lists 
console#show route-map 
console#show ip policy
console#show vlan
We recommend hosting TIMEWEB
We recommend hosting TIMEWEB
Stable hosting, on which the social network EVILEG is located. For projects on Django we recommend VDS hosting.

Comments

Only authorized users can post comments.
Please, Log in or Sign up
МБ
April 21, 2019, 9:40 a.m.
Моисей Бушуев

Qt - Test 001. Signals and slots

  • Result:0points,
  • Rating points-10
AA
April 17, 2019, 7:40 p.m.
Anton Ablin

Qt - Test 001. Signals and slots

  • Result:73points,
  • Rating points1
E
April 17, 2019, 6:16 p.m.
Evgeny

Qt - Test 001. Signals and slots

  • Result:100points,
  • Rating points10
Last comments
April 21, 2019, 4:22 p.m.
Евгений Легоцкой

Через метод setIcon table.horizontalHeaderItem(0).setIcon("qrc://path/to/icon.png")
April 21, 2019, 3:48 p.m.
Евгений Легоцкой

Добрый день! Спасибо за комментарий. Там действительно лучше будет сделать с инициализацией по умолчанию.
U
April 18, 2019, 3:37 p.m.
Unreal_man

А как иконку в хедер задать?
u
April 18, 2019, 2:15 a.m.
uaa

доброго времени,большое спасибо за пример для начинающего)при адаптации к своему проекту столкнулся с таким ньансом:в vepolyline.h в 47 строке нужна инициализация по умолчанию: int m_pointF...
E
April 11, 2019, 12:49 p.m.
Evgeny

Спасибо за ответ) У меня компоновщик на нее ругался просто. Оказалось, просто забыл Q_OBJECT в начале класса указать.
Now discuss on the forum
April 21, 2019, 4:16 p.m.
Евгений Легоцкой

Приветствую Нужно сохранять где-то выбранное значение, а потом восстанавливать его. Или использовать QSettings или добавить метод open(), в который передавать начальные значения для того...
R
April 19, 2019, 9:55 a.m.
RED_Spider

мені важко це зараз навіть перевірити, тому що знайшов коміт, це ще було в 2016 році, і цей код не буде працювати коректно зараз, єдине скажу що це були QThread
i
April 17, 2019, 3:03 p.m.
ilya.guzikov

BlinCT, на стороне ++ это делать необходимо так как в qml при использовании функции append происходит перерисовка всех точек лини(как я понимаю) и из-за этого при использовании больших массиво...
April 10, 2019, 11:20 a.m.
Алексей Внуков

может тоже кому надо будет - QML не принимает QVector<QVector<int>> , при попытке вывести полученый вектор QML показывает что это QVariant(QVector<QVector<int> ...
Join us in social networks

For registered users on the site there is a minimum amount of advertising