Huawei Certification Note Commands 003
Huawei Certification Note Commands 003
- IP Routing
<Routing decision>
1. Longest match
2. Lower Preference (Pre), similar to AD
Direct 0
OSPF 10
Static 60
RIP 100
3. Metric (Cost)
Note: Only best routes are install from FIB to RT (routing table)
- Static Route
]ip route-static <Dest_IP> <Dest_Mask> - System view] Set Static route. Mask can be subnet mask (255.255.255.0) or prefix
format (24)
<Next-Hop_IP> - Define static route with next-hop, used in Ethernet enviroment
<Interface_type> <Outbound_Interface_ID> - Define static route with outbound interface, must be configured for serial médium
(P2P)
{Next-Hop_IP | interface} preference INTEGER<1-255> - Preference parameter used for floating static routes or or simply to define a
preference different from default (60) - Load Balancing is
applied when there are two or more routes with same weights towards the same destination,
by different next-hops
<Static route example> -
ip route-static 11.0.0.0 255.255.255.0 10.0.0.1
ip route-static 11.0.0.0 255.255.255.0 20.0.0.1 preference 65
ip route-static 33.0.0.0 24 30.0.0.2
ip route-static 0.0.0.0 0 10.0.0.1 - Default route with next-hop, using prefix format (0), however in the config is stored
as 0.0.0.0 (Simulated)
ip route-static 0.0.0.0 0.0.0.0 serial 0/0
- RIP
<All of this was validated via Simulation>
]rip INTEGER<1-65535> - Enable RIP. If no Process ID is defined, default process of 1 is set.
- It is recommended to use the same Process ID on all routers
version 2 - Set RIP version
network x.x.x.x - Match interfaces participating in RIP process
silent-interface <Interface> - Interface will NOT participate in RIP, but will receive and process RIP routes,
only add info to RT, NOT forwarding out RIP updates
- Takes precedence over rip input & rip output
rip metricout INTEGER<0-15> - General RIP increment of 1 when send adv to next hop (1 + original_metric), but with
metricout..
- ADD an increment of X_Value to the metric before forwarding the adv to the next
hop
- Outbound update metric = metricout_Value + original_metric
- By Default every interface match in the RIP network command, allow outbound &
inbound RIP adv
undo rip output - Outbound RIP adv restricted, RIP update message will cease to be forwarded out
undo rip input - Inbound RIP adv restricted, any inbound RIP update messages will be discarded
immediately
>display rip 2 ?
bfd - Bidirectional Forwarding Detection
database - Database information
graceful-restart - Graceful restart information
interface - Interface information
neighbor - Neighbour information
route - Route information
statistics - Statistical information
| - Matching output
<cr>