Page 96 / 757 Scroll up to view Page 91 - 95
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
92
DGS-3627:admin#
show arpentry
Command: show arpentry
ARP Aging Time : 20
Interface
IP Address
MAC Address
Type
-------------
---------------
-----------------
---------------
System
10.0.0.0
FF-FF-FF-FF-FF-FF
Local/Broadcast
System
10.1.1.1
00-02-03-04-05-06
Static
System
10.1.1.2
00-02-03-04-05-06
Dynamic
System
10.1.1.3
00-02-03-04-05-06
Static
System
10.90.90.90
00-01-02-03-04-00
Local
System
10.255.255.255
FF-FF-FF-FF-FF-FF
Local/Broadcast
Total Entries: 6
DGS-3627:admin#
Page 97 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
93
12
ARP SPOOFING PREVENTION COMMANDS
The ARP Spoofing Prevention commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameters
config arp_spoofing_prevention
[add gateway_ip <ipaddr> gateway_mac <macaddr> ports [<portlist> | all] |
delete gateway_ip <ipaddr>]
show arp_spoofing_prevention
Each command is listed, in detail, in the following sections.
config arp_spoofing_prevention
Purpose
The user can configure the spoofing prevention entry to prevent spoofing of MAC for the
protected gateway.
Syntax
config arp_spoofing_prevention [add gateway_ip <ipaddr> gateway_mac <macaddr>
ports [<portlist> | all] | delete gateway_ip <ipaddr>]
Description
The user can configure the spoofing prevention entry to prevent spoofing of MAC for the
protected gateway. When an entry is created, those ARP packets whose sender IP matches
the gateway IP of an entry, but either its sender MAC field or source MAC field doesnot
match the gateway MAC of the entry will be dropped by the system.
Parameters
add
- Specifies to add an ARP spoofing prevention entry.
gateway_ip
- Specifies a gateway IP address to be configured.
<ipaddr>
- Enter the IP address used for this configuration here.
gateway_mac
- Specifies a gateway MAC address to be configured.
<macaddr>
- Enter the MAC address used for this configuration here.
por
t
s - Specifies a range of ports to be configured.
<portlist>
- Enter a list of ports used for the configuration here.
all
- Specifies all of ports to be configured.
delete
- Specifies to delete an ARP spoofing prevention entry.
gateway_ip
- Specifies a gateway ip to be configured.
<ipaddr>
- Enter the IP address used for this configuration here.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the ARP spoofing prevention entry:
DGS-3627:admin# config arp_spoofing_prevention add gateway_ip 10.254.254.251 gateway_mac
00-00-00-11-11-11 ports 1-2
Command: config arp_spoofing_prevention add gateway_ip 10.254.254.251 gateway_mac 00-00-
00-11-11-11 ports 1-2
Success.
DGS-3627:admin#
Page 98 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
94
show arp_spoofing_prevention
Purpose
This command is used to show the ARP spoofing prevention entry.
Syntax
show arp_spoofing_prevention
Description
This command is used to show the ARP spoofing prevention entry.
Parameters
None.
Restrictions
None.
Example usage:
To display the ARP spoofing prevention entries:
DGS-3627:admin# show arp_spoofing_prevention
Command: show arp_spoofing_prevention
ARP Spoofing Prevention Table
Gateway IP Address Gateway MAC Address
Port
---------------
-----------------
---------
10.254.254.251
00-00-00-11-11-11
1-2
Total Entries : 1
DGS-3627:admin#
Page 99 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
95
13
BORDER GATEWAY PROTOCOL (BGP) DEBUG COMMANDS
BGP is a UNICAST Routing protocol. It can be used on any Layer 3 Ethernet switch supporting the IP routing function.
The Border Gateway Protocol (BGP) debug commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command
Parameters
debug error_log
[dump | clear | upload_toTFTP <ipaddr> <path_filename 64>]
debug buffer
[utilization | dump | clear | upload_toTFTP <ipaddr> <path_filename 64>]
debug output
[module <module_list> | all] [buffer | console]
debug bgp show flag
debug bgp all flag
[enable | disable]
debug bgp fsm_event
[enable | disable]
debug bgp packet
[ {open | update | keepalive | notify | refresh | capability } (1) | all ] [ in | out ] [
enable | disable ]
debug bgp error state
[enable | disable]
debug bgp show global_info
debug bgp show peer
debug bgp show peer_group
debug bgp show network
debug bgp show aggregate
debug bgp show damp
debug bgp show interface_info
debug bgp show bgp_timer
debug bgp show redist_list
debug bgp show as_path_access_list
debug bgp show community_list
debug bgp route_map
[enable | disable]
debug bgp access_list
[enable | disable]
debug bgp prefix_list
[enable | disable]
Each command is listed, in detail, in the following sections.
debug error_log
Purpose
This command is used to dump, clear, or upload the software error log to the TFTP server
Syntax
debug error_log [dump | clear | upload_toTFTP <ipaddr> <path_filename 64>]
Description
This command is used to dump, clear, or upload the software error log to the TFTP server.
Page 100 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
96
debug error_log
The “error_log” here refers to the software error log stored in NVRAM. For more information
on this command, please refer to the UIS-Debug topic
Parameters
dump
- Displays debug messages occurring in the debug log.
clear
- Clears the debug log.
upload_toTFTP
- Uploads the debug log to the TFTP server that is specified by its IP
address.
<ipaddr>
- IP version 4 address
<path_filename 64>
- Uploads the debug log to the TFTP server and names it to the string
<path_filename 64>.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To dump the error log:
DGS-3627:admin# debug error_log dump
Command: debug error_log dump
**************************************************************************
# debug log: 1
# level: fatal
# clock: 10000ms
# time : 2010/03/11 13:00:00
====================== SOFTWARE FATAL ERROR =======================
Invalid mutex handle : 806D6480
Current TASK : bcmARL.0
------------------------- TASK STACKTRACE ------------------------
->802ACE98
->8018C814
->8028FF44
->8028352C
->801D703C
->8013B8A4
->802AE754
->802A5E0C
->802A5D6C
--------------------------------------------------------------------------
TASK NAME StackTop
CurStkSP
StackSize SchCnt
PRIO(I)
STATUS
8069E7D0
FWD-ETH
823E9798
823E95C4
1K/ 32K
2
160/160
Q:IP_PKT
806A3E70
SysLogTask 80BD040C
80BD0298
1K/ 16K
3
180/180
E:SysLogEvent
Output truncated...
debug buffer
Purpose
This command is used to show the debug buffer’s state, dump clear, or upload the debug
buffer to the TFTP server
Syntax
debug buffer [utilization | dump | clear | upload_toTFTP <ipaddr> <path_filename 64>]
Description
This command is used to show the debug buffer’s state or dump, clear, or upload the debug

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top