HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 144

Remove the IP address of VLAN-interface 3 on Device B., On Device

Page 144 highlights

Reaction: 1 # Display brief information about active routes in the routing table on Device A. [DeviceA] display ip routing-table Routing Tables: Public Destinations : 5 Routes : 5 Destination/Mask Proto Pre Cost NextHop Interface 10.1.1.0/24 10.2.1.0/24 10.2.1.2/32 127.0.0.0/8 127.0.0.1/32 Static 60 0 Direct 0 0 Direct 0 0 Direct 0 0 Direct 0 0 10.2.1.1 10.2.1.2 127.0.0.1 127.0.0.1 127.0.0.1 Vlan3 Vlan3 InLoop0 InLoop0 InLoop0 The output shows that the static route with the next hop 10.2.1.1 is active, and the status of the track entry is positive. The static route configuration works. # Remove the IP address of VLAN-interface 3 on Device B. system-view [DeviceB] interface vlan-interface 3 [DeviceB-Vlan-interface3] undo ip address # On Device A, display information about all the track entries. [DeviceA] display track all Track ID: 1 Status: Negative Notification delay: Positive 0, Negative 0 (in seconds) Reference object: NQA entry: admin test Reaction: 1 # Display brief information about active routes in the routing table on Device A. [DeviceA] display ip routing-table Routing Tables: Public Destinations : 4 Routes : 4 Destination/Mask Proto Pre Cost NextHop Interface 10.2.1.0/24 10.2.1.2/32 127.0.0.0/8 127.0.0.1/32 Direct 0 0 Direct 0 0 Direct 0 0 Direct 0 0 10.2.1.2 127.0.0.1 127.0.0.1 127.0.0.1 Vlan3 InLoop0 InLoop0 InLoop0 The output shows that the next hop 10.2.1.1 of the static route is not reachable, and the status of the track entry is negative. The static route does not work. 137

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157

137
Reaction: 1
# Display brief information about active routes in the routing table on Device A.
[DeviceA] display ip routing-table
Routing Tables: Public
Destinations : 5
Routes : 5
Destination/Mask
Proto
Pre
Cost
NextHop
Interface
10.1.1.0/24
Static 60
0
10.2.1.1
Vlan3
10.2.1.0/24
Direct 0
0
10.2.1.2
Vlan3
10.2.1.2/32
Direct 0
0
127.0.0.1
InLoop0
127.0.0.0/8
Direct 0
0
127.0.0.1
InLoop0
127.0.0.1/32
Direct 0
0
127.0.0.1
InLoop0
The output shows that the static route with the next hop 10.2.1.1 is active, and the status of the track entry
is positive. The static route configuration works.
# Remove the IP address of VLAN-interface 3 on Device B.
<DeviceB> system-view
[DeviceB] interface vlan-interface 3
[DeviceB-Vlan-interface3] undo ip address
# On Device A, display information about all the track entries.
[DeviceA] display track all
Track ID: 1
Status: Negative
Notification delay: Positive 0, Negative 0 (in seconds)
Reference object:
NQA entry: admin test
Reaction: 1
# Display brief information about active routes in the routing table on Device A.
[DeviceA] display ip routing-table
Routing Tables: Public
Destinations : 4
Routes : 4
Destination/Mask
Proto
Pre
Cost
NextHop
Interface
10.2.1.0/24
Direct 0
0
10.2.1.2
Vlan3
10.2.1.2/32
Direct 0
0
127.0.0.1
InLoop0
127.0.0.0/8
Direct 0
0
127.0.0.1
InLoop0
127.0.0.1/32
Direct 0
0
127.0.0.1
InLoop0
The output shows that the next hop 10.2.1.1 of the static route is not reachable, and the status of the track
entry is negative. The static route does not work.