- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
10-Adjacency Table Commands | 41.35 KB |
Table of Contents
Chapter 1 Adjacency Table Configuration Commands
1.1 IPv4 Adjacency Table Configuration Commands
1.1.1 debugging adjacent-table all
1.1.2 debugging adjacent-table entry
1.1.3 debugging adjacent-table event
1.2 IPv6 Adjacency Table Configuration Commands
1.2.1 debugging ipv6 adjacent-table all
1.2.2 debugging ipv6 adjacent-table entry
1.2.3 debugging ipv6 adjacent-table event
1.2.4 display ipv6 adjacent-table
Chapter 1 Adjacency Table Configuration Commands
1.1 IPv4 Adjacency Table Configuration Commands
1.1.1 debugging adjacent-table all
Syntax
debugging adjacent-table all
undo debugging adjacent-table all
View
User view
Default Level
1: Monitor level
Description
Use the debugging adjacent-table all command to enable both IPv4 adjacency entry debugging and IPv4 adjacency table event debugging.
Use the undo debugging adjacent-table all command to disable IPv4 adjacency entry debugging and IPv4 adjacency table event debugging.
By default, IPv4 adjacency entry debugging and IPv4 adjacency table event debugging are disabled.
Examples
# Enable both IPv4 adjacency entry debugging and IPv4 adjacency table event debugging.
<Sysname> debugging adjacent-table all
1.1.2 debugging adjacent-table entry
Syntax
debugging adjacent-table entry
undo debugging adjacent-table entry
View
User view
Default Level
1: Monitor level
Description
Use the debugging adjacent-table entry command to enable IPv4 adjacency entry debugging.
Use the undo debugging adjacent-table entry command to disable IPv4 adjacency entry debugging.
By default, IPv4 adjacency entry debugging is disabled.
Examples
# Enable IPv4 adjacency entry debugging.
<Sysname> debugging adjacent-table entry
# Debugging information of adding an adjacency entry.
*Mar 29 18:49:24:20 2007 DUT5 ADJ4/7/Adj4_Entry_Add:Slot=2;
IP Address : N/A ulRouteIfIndex : Pos2/1/4
ulPhyfIndex : Pos2/1/4 ulLogicIfIndex : N/A
ucServiceType : PPP ucSlot : 2
ucSynFlag : Y ulVirtualCircuitInfo : N/A
ulMtu : 1500
# Debugging information of deleting an adjacency entry.
*Mar 29 18:49:15:110 2007 DUT5 ADJ4/7/Adj4_Entry_Delete:Slot=2;
IP Address : N/A ulRouteIfIndex : Pos2/1/4
ulPhyfIndex : Pos2/1/4 ulLogicIfIndex : N/A
ucServiceType : PPP ucSlot : 2
ucSynFlag : Y ulVirtualCircuitInfo : N/A
ulMtu : 1500
Table 1-1 Description on the fields of the debugging adjacent-table entry command
Field |
Description |
IP Address |
Nexthop IP address through the outgoing interface |
ulRouteIfIndex |
Full or short name of the routing interface |
ulPhyIfIndex |
Full or short name of the physical interface |
ulLogicIfIndex |
Full or short name of the logical interface |
ucServiceType |
Service type of the adjacency entry, such as PPP and IP over ATM. Only PPP is supported currently. |
ucslot |
Slot number |
ucSynFlag |
Flag indicating whether the entry is synchronized |
ulVirtualCircuitInfo |
Virtual link information of the adjacency entry |
ulMtu |
MTU value |
1.1.3 debugging adjacent-table event
Syntax
debugging adjacent-table event
undo debugging adjacent-table event
View
User view
Default Level
1: Monitor level
Description
Use the debugging adjacent-table event command to enable IPv4 adjacency table event debugging.
Use the undo debugging adjacent-table event command to disable IPv4 adjacency table event debugging.
By default, IPv4 adjacency table event debugging is disabled.
Examples
# Enable IPv4 adjacency table event debugging.
<Sysname> debugging adjacent-table event
# Debugging informationof a link-up event.
*Mar 29 18:49:23:560 2007 DUT5 ADJ4/7/Adj4_Event:Slot=2;
ADJ4 LinkUp Information :
IP Address : N/A ulRouteIfIndex : Pos2/1/4
ulPhyIfIndex : Pos2/1/4 ulLogicIfIndex : N/A
ucServicType : PPP ucSlot : 2
ucSynFlag : Y ulVirtualCircuitInfo : N/A
ulMtu : 1500
# Debugging information of a link–down event.
*Mar 29 18:49:15:540 2007 DUT5 ADJ6/7/Adj6_Event:Slot=2;
ADJ6 LinkDown Information :
IPv6 Address : N/A
ulRouteIfIndex : Pos2/1/4
Table 1-2 Description on the fields of the debugging adjacent-table event command
Field |
Description |
IP Address |
Nexthop IP address through the outgoing interface |
ulRouteIfIndex |
Full or short name of the routing interface |
ulPhyIfIndex |
Full or short name of the physical interface |
ulLogicIfIndex |
Full or short name of the logical interface |
ucServiceType |
Service type of the adjacency entry, such as PPP and IP over ATM. Only PPP is supported currently. |
ucslot |
Slot number |
ucSynFlag |
Flag indicating whether the entry is synchronized |
ulVirtualCircuitInfo |
Virtual link information of the adjacency entry |
ulMtu |
MTU value |
1.1.4 display adjacent-table
Syntax
display adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | slot slot-id } [ count | verbose ]
View
Any view
Default Level
1: Monitor level
Parameters
all: Displays all the IPv4 adjacency table entries.
physical-interface interface-type interface-number: Displays the IPv4 adjacency table entry information of the specified physical interface.
routing-interface interface-type interface-number: Displays the IPv4 adjacency table entry information of the specified routing interface.
slot slot-id: Displays the IPv4 adjacency table entry information of the specified slot.
count: Displays the number of IPv4 adjacency table entries.
verbose: Displays detailed IPv4 adjacency table entry information.
Description
Use the display adjacent-table command to display IPv4 adjacency table entries.
Examples
# Display the detailed information of all the IPv4 adjacency table entries.
<Sysname> display adjacent-table all verbose
IP Address : N/A
Routing Interface : Pos1/1/1
Physical Interface : Pos1/1/1
Logical Interface : N/A
Service Type : PPP
Slot : 1
Virtual Circuit Information : N/A
IP Address : N/A
Routing Interface : Pos1/1/2
Physical Interface : Pos1/1/2
Logical Interface : N/A
Service Type : PPP
Slot : 1
Virtual Circuit Information : N/A
IP Address : N/A
Routing Interface : Pos1/1/3
Physical Interface : Pos1/1/3
Logical Interface : N/A
Service Type : PPP
Slot : 2
Virtual Circuit Information : N/A
# Display the IPv4 adjacency table entries in slot 1.
<Sysname> display adjacent-table slot 1
IP Address Routing Interface Physical Interface Type Slot
N/A Pos1/1/1 Pos1/1/1 PPP 1
N/A Pos1/1/2 Pos1/1/2 PPP 1
# Display the number of IPv4 adjacency table entries of slot 1.
<Sysname> display adjacent-table slot 1 count
Total ADJ entries on slot 1 : 2
This display above shows that slot 1 has two IPv4 adjacency table entries.
Table 1-3 Description on the fields of the display adjacent-table command
Field |
Description |
IP Address |
Nexthop IP address through the outgoing interface |
Routing Interface |
Adjacency table routing interface, namely, outgoing interface in the route forwarding entry. |
Physical Interface |
Adjacency table physical interface. |
Logical Interface |
Adjacency table logical interface: An abstract interface that does not correspond to any physical entity and is used for adjacency table implementation. |
Service Type |
Adjacency table service type |
Slot |
Slot number of the physical device |
Virtual Circuit Information |
Virtual circuit information of the adjacency table entry |
Total entries on slot 1 |
Number of IPv4 adjacency entries in slot 1 |
1.2 IPv6 Adjacency Table Configuration Commands
1.2.1 debugging ipv6 adjacent-table all
Syntax
debugging ipv6 adjacent-table all
undo debugging ipv6 adjacent-table all
View
User view
Default Level
1: Monitor level
Description
Use the debugging ipv6 adjacent-table all command to enable both IPv6 adjacency entry debugging and IPv6 adjacency table event debugging.
Use the undo debugging ipv6 adjacent-table all command to disable IPv6 adjacency entry debugging and IPv6 adjacency table event debugging.
By default, IPv6 adjacency entry debugging and IPv6 adjacency table event debugging are disabled.
Examples
# Enable both IPv6 adjacency entry debugging and IPv6 adjacency table event debugging.
<Sysname> debugging ipv6 adjacent-table all
1.2.2 debugging ipv6 adjacent-table entry
Syntax
debugging ipv6 adjacent-table entry
undo debugging ipv6 adjacent-table entry
View
User view
Default Level
1: Monitor level
Description
Use the debugging ipv6 adjacent-table entry command to enable IPv6 adjacency entry debugging.
Use the undo debugging ipv6 adjacent-table entry command to disable IPv6 adjacency entry debugging.
By default, IPv6 adjacency entry debugging is disabled.
Examples
# Enable IPv6 adjacency entry debugging.
<Sysname> debugging ipv6 adjacent-table entry
# Debugging information of adding an IPv6 adjacency entry.
*Mar 29 18:49:24:900 2007 DUT5 ADJ6/7/Adj6_Entry_Add:Slot=2;
IPv6 Address : N/A
ulRouteIfIndex : Pos2/1/4 ulPhyfIndex : Pos2/1/4
ulLogicIfIndex : N/A ucServiceType : PPP
ucSlot : 2 ucSynFlag : Y
ulVirtualCircuitInfo : N/A ulMtu : 1500
# Debugging information of deleting an IPv6 adjacency entry.
*Mar 29 18:49:18:710 2007 DUT5 ADJ6/7/Adj6_Entry_Delete:Slot=1;
IPv6 Address : N/A
ulRouteIfIndex : N/A ulPhyfIndex : N/A
ulLogicIfIndex : N/A ucServiceType : PPP
ucSlot : 2 ucSynFlag : Y
ulVirtualCircuitInfo : N/A ulMtu : 1500
Table 1-4 Description on the fields of the debugging ipv6 adjacent-table entry command
Field |
Description |
IPv6 Address |
Nexthop IPv6 address through the outgoing interface |
ulRouteIfIndex |
Full or short name of the IPv6 routing interface |
ulPhyIfIndex |
Full or short name of the IPv6 physical interface |
ulLogicIfIndex |
Full or short name of the IPv6 logical interface |
ucServiceType |
Service type of the adjacency entry, such as PPP and IP over ATM. Only PPP is supported currently. |
ucslot |
Slot number |
ucSynFlag |
Flag indicating whether the entry is synchronized |
ulVirtualCircuitInfo |
Virtual link information of the IPv6 adjacency entry |
ulMtu |
MTU value |
1.2.3 debugging ipv6 adjacent-table event
Syntax
debugging ipv6 adjacent-table event
undo debugging ipv6 adjacent-table event
View
User view
Default Level
1: Monitor level
Description
Use the debugging ipv6 adjacent-table event command to enable IPv6 adjacency table event debugging.
Use the undo debugging ipv6 adjacent-table event command to disable IPv6 adjacency table event debugging.
By default, IPv6 adjacency table event debugging is disabled.
Examples
# Enable IPv6 adjacency table event debugging.
<Sysname> debugging ipv6 adjacent-table event
# Debugging information of a link–up event.
*Mar 29 18:49:24:440 2007 DUT5 ADJ6/7/Adj6_Event:Slot=2;
ADJ6 LinkUp Information :
IPv6 Address : N/A
ulRouteIfIndex : Pos2/1/4 ulPhyIfIndex : Pos2/1/4
ulLogicIfIndex : N/A ucServiceType : PPP
ucSlot : 2 ucSynFlag : Y
ulVirtualCircuitInfo : N/A ulMtu : 1500
# Debugging information of a link–down event.
*Mar 29 18:49:15:540 2007 DUT5 ADJ6/7/Adj6_Event:Slot=2;
ADJ6 LinkDown Information :
IPv6 Address : N/A
ulRouteIfIndex : Pos2/1/4
Table 1-5 Description on the fields of the debugging ipv6 adjacent-table event command
Field |
Description |
IPv6 Address |
Nexthop IPv6 address through the outgoing interface |
ulRouteIfIndex |
Full or short name of the IPv6 routing interface |
ulPhyIfIndex |
Full or short name of the IPv6 physical interface |
ulLogicIfIndex |
Full or short name of the IPv6 logical interface |
ucServiceType |
Service type of the adjacency entry, such as PPP and IP over ATM. Only PPP is supported currently. |
ucslot |
Slot number |
ucSynFlag |
Flag indicating whether the entry is synchronized |
ulVirtualCircuitInfo |
Virtual link information of the IPv6 adjacency entry |
ulMtu |
MTU value |
1.2.4 display ipv6 adjacent-table
Syntax
display ipv6 adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | slot slot-id } [ count | verbose ]
View
Any view
Default Level
1: Monitor level
Parameters
all: Displays all the IPv6 adjacency table entries.
physical-interface interface-type interface-number: Displays the IPv6 adjacency table entry information on the specified physical interface.
routing-interface interface-type interface-number: Displays the IPv6 adjacency table entry information on the specified routing interface.
slot slot-id: Displays the IPv6 adjacency table entries in the specified slot.
count: Displays the number of IPv6 adjacency table entries.
verbose: Displays detailed IPv6 adjacency table entry information.
Description
Use the display ipv6 adjacent-table command to display IPv6 adjacency table entries.
Examples
# Display the detailed information of all the IPv6 adjacency table entries.
<Sysname> display ipv6 adjacent-table all verbose
IPv6 Address : N/A
Routing Interface : Pos1/1/1
Physical Interface : Pos1/1/1
Logical Interface : N/A
Service Type : PPP
Action Type : FORWARDING
Link Media Type : P2P
Slot : 1
Virtual Circuit Information : N/A
Link Head Information(IPv6) : N/A
# Display the IPv6 adjacency table entries in slot 1.
<Sysname> display ipv6 adjacent-table slot 1
IPv6 Address Routing Interface Physical Interface Type Slot
N/A Pos1/1/1 Pos1/1/1 PPP 1
N/A Pos1/1/3 Pos1/1/3 PPP 1
# Display the number of IPv6 adjacency table entries in slot 1.
<Sysname> display ipv6 adjacent-table slot 1 count
Total Ipv6 ADJ entries on slot 1 : 2
This display above shows that slot 1 has two IPv6 adjacency entries.
Table 1-6 Description on the fields of the display ipv6 adjacent-table command
Field |
Description |
IPv6 Address |
Nexthop IPv6 address on the outgoing interface |
Routing Interface |
Adjacency table routing interface, namely, outgoing interface in the route forwarding entry. |
Physical Interface |
Adjacency table physical interface |
Logical Interface |
Adjacency table logical interface: An abstract interface that does not correspond to any physical entity and is used for adjacent table implementation for example, Virtual-Ethernet interface and Virtual-Template interface. |
Service Type |
Adjacency table service type: Type of service corresponding to the adjacency table, such as PPP and IP over ATM. |
Action Type |
Action to take on the packet that matches the entry, forward or drop |
Link Media Type |
Link media type, which is related to the link layer protocol used by the outgoing interface. P2P indicates point-to-point, such as the point-to-point protocol (PPP). |
Slot |
Slot number of the physical device |
Virtual Circuit Information |
Virtual circuit information of the adjacency table entry |
Link Head Information(IPv6) |
Information of the link layer header corresponding to the IPv6 protocol |