2013年11月28日星期四

Configuring a Static Route

The management network interface does not participate in dynamic route calculation. Thus, in the scenario where the device to be commissioned is connected to the NMS through the management network interface, and the IP address of the management network interface and the IP address of the NMS are not on the same network segment, you can configure static routes to enable the Layer 3 communication between the device and the NMS.


the Huawei ME60-X3 to be commissioned is connected to the NMS through the management network interface GE 0/0/0. The IP address of the management network interface and the IP address of the NMS are not on the same network segment.



The management network interface does not participate in dynamic route calculation. Thus, you need to configure static routes to enable the Layer 3 communication between the ME60 and the NMS.

# After the configuration is complete, run the display ip routing-table command on ME60 to check whether there is a static route in the routing table.

<HUAWEI> display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
        Destinations : 9        Routes : 9

Destination/Mask    Proto  Pre  Cost        Flags NextHop         Interface

        1.1.1.1/32  Direct 0    0             D  127.0.0.1       InLoopBack0
    192.168.1.0/24  Direct 0    0             D  192.168.1.1     GigabitEthernet0/0/0
    100.1.1.200/32  Direct 0    0             D  127.0.0.1       InLoopBack0
    100.1.1.255/32  Direct 0    0             D  127.0.0.1       InLoopBack0
      127.0.0.0/8   Direct 0    0             D  127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct 0    0             D  127.0.0.1       InLoopBack0
127.255.255.255/32  Direct 0    0             D  127.0.0.1       InLoopBack0
      192.167.1.0/24  Static 60   0             D  192.168.1.2     GigabitEthernet0/0/0
255.255.255.255/32  Direct 0    0             D  127.0.0.1       InLoopBack0
# Run the ping command on Huawei ME60-X8  to verify the connectivity.

<HUAWEI> ping 192.167.1.10
PING 192.167.1.10: 56  data bytes, press CTRL_C to break
    Reply from 192.167.1.10: bytes=56 Sequence=1 ttl=254 time=60 ms
    Reply from 192.167.1.10: bytes=56 Sequence=2 ttl=254 time=65 ms
    Reply from 192.167.1.10: bytes=56 Sequence=3 ttl=254 time=36 ms
    Reply from 192.167.1.10: bytes=56 Sequence=4 ttl=254 time=93 ms
    Reply from 192.167.1.10: bytes=56 Sequence=5 ttl=254 time=23 ms

  --- 192.167.1.10 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
round-trip min/avg/max = 23/55/93 ms

没有评论:

发表评论