Routing Module
Routing Module
20.0.0.0/30 40.0.0.0/30
10.0.0.0/24
30.0.0.0/24 50.0.0.0/24
Configuration Example:
On Router-1-
On Router-2
Configure> Create parameter-group ip-route ipv4-static
Set enable yes
Set destination 10.0.0.0/24
Set router system
Set next-hop gateway 20.0.0.1
Set destination 50.0.0.0/24
Set router system
Set next-hop gateway 40.0.0.2
Save
Configuration Verification – On Router-1
operational>configure
modify parameter-group ip-route ipv4-static
set enable no
save
Dynamic Routing Protocol
On Switch -1
1. Enabling IPv4 feature in router parameter group of Switch-1
operational> configure
configure> modify parameter-group router system
configure> set ipv4 enable yes
configure> save
1. Enable IPv4 feature in router parameter group and then enable rip in router PG
2. Disable bridging feature in interface parameter group and enable IPv4 feature in interface
parameter group for each interface. Then provide ip address on each interface. And then
enable RIP in interface PG.
IPv4 information
----------------
Address : 1.1.1.2
Netmask : 255.255.255.0
Preference : 1
Metric : 1
Routing protocols : rip
RIP information
---------------
Protocol : Running
Passive : no
Mode : send-and-receive
Metric : 1
Authentication : disabled
Active neighbours : 1
To see the routing table, following command is used.
To view the RIP neighbor ship execute ‘show rip neighbor summary’ command in diagnose mode
• It is open protocol
• It is Link state protocol
• Metric – Cost – Lower cost is preferred (Cost depends on Bandwidth, higher the
bandwidth, lower the cost.
• Hello Interval – 10 sec
• Dead Interval – 4x Hello Interval
• Administrative Value –110
• Area should be defined
• Neighbor ship relation is created
• Neighbor can be in same area.
Steps to Configure:
1. Enter configure mode.
2. Modify router parameter group instance ‘system’.
3. Set ipv4 ospf-v2 enable parameter to ‘yes’ and set router id.
4. Save the configuration.
5. Create ospf-v2-area parameter group.
6. Set area identifier and router details.
7. Set enable parameter to ‘yes’.
8. Save the configuration.
9. Modify interface parameter group instance.
10. Set ipv4 ospf-v2 enable parameter to ‘yes’ and set area id, priority parameter values.
11. Save the configuration
12. Exit configure mode
Configuration Example:
1. Enable ospf-v2 in router parameter group. (Need to be enabled in all 3 switches)
2. Create ospf-v2-area parameter group. (Same ospf-v2 area parameter group need to be created in all 3 switches)
3. Enable ospf-v2 in interface parameter group. (Switch-1 exit interface towards Switch-2)
Local addresses : 1
Sockets : 1
Flags : ----- -----
...
OSPFv2 information
------------------
Router ID : 1.1.1.1
Number of areas : 0
Preference : 50
SPF hold count : 0
2. Verification of ospf-v2 configuration on interface parameter group
operational> show interface details ge-01
OSPFv2 information
------------------
Area : 0.0.0.0
Interface type : Broadcast
Cost : 1
Passive : no
State : Designated router
Authentication : enabled
Neighbour count : 1
Hello interval : 10 second(s)
Dead interval : 40 second(s)
Retransmit interval : 5 second(s)
Transmit delay : 1 second(s)
TTL security enabled : no
Priority : 2
Designated router address : 172.4.0.3
Designated router identifier : 12.12.12.3
Backup designated router address : 172.4.0.5
Backup designated router identifier : 10.10.10.15
...
3. Verification of ospf-v2 neighbors
For Area-0
configure> create parameter-group ospf-v2-area
configure> set area router system
configure> set area identifier 0.0.0.0
configure> set enable yes
configure> save
3. Enable ospf-v2 in interface parameter group
configure> create parameter-group interface ge-01
configure> enter ip ipv4 ospf-v2
[ interface:"ge-01" > ip > ipv4 > ospf-v2 ]
configure> set enable yes
configure> set area-id 1.1.1.1
configure> set priority 11
configure> save
For Area-2
configure> create parameter-group ospf-v2-area
configure> set area router system
configure> set area identifier 2.2.2.2
configure> set enable yes
configure> save
3. Enable ospf-v2 in interface parameter group
Ethernet information
--------------------
VLAN tagging : disabled
IP information
--------------
Router : system
IPv4 information
----------------
Address : 172.1.0.1
Netmask : 255.255.255.0
Preference : 1
Metric : 1