S5510 Series

H3C S5510 Series, S3610 Series Command Manual

  • Hello! I am an AI chatbot trained to assist you with the H3C S5510 Series Command Manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
  • What is the default authentication mode for BFD sessions?
    What is the default interval for transmitting BFD control packets?
    What is the default interval for receiving BFD control packets?
    What is the default mode for establishing a BFD session?
    What is the range for the minimum interval for transmitting BFD control packets?
Command Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches Table of Contents
i
Table of Contents
Chapter 1 BFD Configuration Commands..................................................................................1-1
1.1 BFD Configuration Commands..........................................................................................1-1
1.1.1 bfd authentication-mode..........................................................................................1-1
1.1.2 bfd detect-multiplier.................................................................................................1-2
1.1.3 bfd echo-source-ip ..................................................................................................1-3
1.1.4 bfd min-echo-receive-interval..................................................................................1-3
1.1.5 bfd min-receive-interval...........................................................................................1-4
1.1.6 bfd min-transmit-interval..........................................................................................1-5
1.1.7 bfd session init-mode..............................................................................................1-5
1.1.8 display bfd interface ................................................................................................1-6
1.1.9 display bfd paf.........................................................................................................1-8
1.1.10 display bfd session................................................................................................1-8
1.1.11 reset bfd session statistics..................................................................................1-10
1.1.12 snmp-agent trap enable bfd................................................................................1-11
Chapter 2 GR Commands.............................................................................................................2-1
2.1 GR Commands..................................................................................................................2-1
Command Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches Chapter 1 BFD Configuration Commands
1-1
Chapter 1 BFD Configuration Commands
1.1 BFD Configuration Commands
1.1.1 bfd authentication-mode
Syntax
bfd authentication-mode{md5 key-id key | sha1 key-id key | simple key-id
password }
undo bfd authentication-mode
View
Interface view
Parameters
md5: Uses message digest 5 (MD5) authentications.
sha1: Uses secure hash algorithm (SHA-1) authentication.
simple: Uses plaint text authentication.
key-id: Authentication key ID, in the range 1 to 255.
key: A string of 1 to 16 characters. It is displayed as a 24-byte cipher text string when
the display current-configuration command is executed.
password: Password, a string of 1 to 16 characters when the simple keyword is used. It
is displayed when the display current-configuration command is executed.
Description
Use the bfd authentication-mode command to configure the BFD authentication
mode and key on the interface.
Use the undo bfd authentication-mode command to remove the authentication mode
on the interface (only one authentication mode can be configured on an interface).
By default, no authentication is configured on an interface.
Command Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches Chapter 1 BFD Configuration Commands
1-2
Note:
The authentication mode, key-id, key (or password) used by both ends trying to
establish a BFD session must be the same. If one end changes its authentication mode,
it sends the authentication packets in both the new and the old mode at the same time
until the other end also changes to the same authentication mode.
Examples
# Configure VLAN-interface 1 to support MD5 authentication, setting the authentication
key-id to 15 and authentication key to BfdKey.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface 1] bfd authentication-mode md5 15 BfdKey
1.1.2 bfd detect-multiplier
Syntax
bfd detect-multiplier value
undo bfd detect-multiplier
View
Interface view
Parameters
value: Maximum number of consecutive BFD control packets that the remote device
fails to receive from the local device interface before considering the BFD session down,
in the range of 3 to 50.
Description
Use the bfd detect-multiplier command to configure the maximum number of
consecutive BFD control packets that the remote device fails to receive from the local
device before considering the BFD session down.
Use the undo bfd detect-multiplier command to restore the default.
The default is 5.
Examples
# Configure the detect multiplier as 6 on VLAN-interface 1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
Command Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches Chapter 1 BFD Configuration Commands
1-3
[Sysname-Vlan-interface 1] bfd detect-multiplier 6
1.1.3 bfd echo-source-ip
Syntax
bfd echo-source-ip ip-address
undo bfd echo-source-ip
View
System view
Parameters
ip-address: Source IP address of BFD echo packets.
Description
Use the bfd echo-source-ip command to configure the source IP address of BFD
echo packets.
Use the undo bfd echo-source-ip command to remove the configured source IP
address of BFD echo packets.
Note that, since a large amount of ICMP redirect packets may be sent by the remote
device, causing network congestion, do not configure the source IP address of the BFD
echo packets to belong to the same network segment as any interface address of the
device.
Examples
# Configure the source IP address of BFD echo packets as 10.1.1.1.
<Sysname> system-view
[Sysname] bfd echo-source-ip 10.1.1.1
1.1.4 bfd min-echo-receive-interval
Syntax
bfd min-echo-receive-interval value
undo bfd min-echo-receive-interval
View
Interface view
Parameters
value: Minimum BFD echo receiving interval, in milliseconds. This value is in the range
of 200 to 1000 and defaults to 400.
Command Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches Chapter 1 BFD Configuration Commands
1-4
Description
Use the bfd min-echo-receive-interval command to configure the minimum BFD
echo packet receiving interval on the interface.
Use the undo bfd min-echo-receive-interval command to restore the default.
The default value is 400 milliseconds.
Examples
# Configure the minimum BFD echo receiving interval on VLAN-interface 1 as 300
milliseconds.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface 1] bfd min-echo-receive-interval 300
1.1.5 bfd min-receive-interval
Syntax
bfd min-receive-interval value
undo bfd min-receive-interval
View
Interface view
Parameters
value: Minimum interval for receiving BFD control packets, in milliseconds. It is a
multiple of 100 milliseconds. It is in the range of 200 ms to 1000 ms and defaults to 400
ms.
Description
Use the bfd min-receive-interval command to configure the minimum interval for
receiving BFD control packets.
If the remote device sends BFD control packets at an interval smaller than the minimum
receiving interval of the local device, the remote device changes its sending interval to
the minimum receiving interval of the local device.
Use the undo bfd min-receive-interval command to restore the default.
By default, the minimum interval for receiving BFD control packets is 400 milliseconds.
Examples
# Configure the minimum interval for receiving BFD control packets on VLAN-interface
1 as 300 milliseconds.
<Sysname> system-view
Command Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches Chapter 1 BFD Configuration Commands
1-5
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface 1] bfd min-receive-interval 300
1.1.6 bfd min-transmit-interval
Syntax
bfd min-transmit-interval value
undo bfd min-transmit-interval
View
Interface view
Parameters
value: Minimum interval for transmitting BFD control packets, in milliseconds. It is a
multiple of 100. It is in the range of 200 to 1000 and defaults to 400.
Description
Use the bfd min-transmit-interval command to configure the minimum interval for
transmitting BFD control packets.
The minimum interval for transmitting BFD control packets through an interface
ensures BFD control packets are not transmitted faster than the device can deal with.
The actual interval for transmitting BFD control packets at the local device should be
the greater between the minimum interval for sending BFD control packets configured
on the local interface and the minimum interval for receiving BFD control packets on the
remote device.
Use the undo bfd min-transmit-interval command to restore the default.
By default, the minimum BFD transmit interval is 400 milliseconds.
Examples
# Configure the minimum interval for transmitting BFD control packets on
VLAN-interface 1 as 300 milliseconds.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface 1] bfd min-transmit-interval 300
1.1.7 bfd session init-mode
Syntax
bfd session init-mode{ active | passive }
undo bfd session init-mode
Command Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches Chapter 1 BFD Configuration Commands
1-6
View
System view
Parameters
active: Uses the active mode. In the active mode, upon being enabled with BFD, an
interface actively transmits a BFD control packet to the remote device.
passive: Uses the passive mode. In the passive mode, an interface does not actively
transmit a BFD control packet to the remote end; it transmits a BFD control packet only
after receiving a BFD control packet from the remote end.
Description
Use the bfd session init-mode command to configure the mode for establishing a
BFD session.
Use the undo bfd session init-mode command to restore the default. By default, BFD
sessions are established in the active mode.
Examples
# Configure the session establishment mode as passive.
<Sysname> system-view
[Sysname] bfd session init-mode passive
1.1.8 display bfd interface
Syntax
display bfd interface [ verbose ]
View
Any view
Parameters
verbose: Displays detailed interface information.
Description
Use the display bfd interface command to display information about BFD-enabled
interfaces.
Besides the information displayed by the display bfd interface command, the display
bfd interface verbose command displays brief session information of the interfaces.
Examples
# Display information about BFD-enabled interfaces.
Command Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches Chapter 1 BFD Configuration Commands
1-7
<Sysname> display bfd interface
Total Interface Num: 1
Interface: Vlan-interface1 Session Num: 1
Min Trans Inter: 400ms Min Recv Inter: 400ms
DetectMult: 5 Min Echo Recv Inter: 400ms
Auth mode: Simple
# Display detailed information about BFD-enabled interfaces.
<Sysname> display bfd interface verbose
Total Interface Num: 1
Interface: Vlan-interface1 Session Num: 1
Min Trans Inter: 400ms Min Recv Inter: 400ms
DetectMult: 5 Min Echo Recv Inter: 400ms
Auth mode: Simple
LD/RD SourceAddr DestAddr ConnType State Mode
1 192.168.0.136 192.168.0.138 Direct Up Echo
Table 1-1 Description on the fields of the display bfd interface command
Field Description
Interface Interface name
Session Num Number of sessions established on the local interface
Min Trans Inter Expected minimum transmit interval configured on the interface
Min Recv Inter Expected minimum receive interval configured on the interface
DetectMult Session detection multiplier
Min Echo Recv
Inter
Minimum interval for receiving echo packets
Auth mode Session authentication mode: simple, MD5, or SHA-1
LD Local ID of the session
RD Remote ID of the session
SourceAddr Source IP address of the session
DestAddr Destination IP address of the session
ConnType Connection type of the interface
State Session state
Mode Mode
Command Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches Chapter 1 BFD Configuration Commands
1-8
1.1.9 display bfd paf
Syntax
display bfd paf
View
Any view
Parameters
None
Description
Use the display bfd paf command to display PAF configuration information.
Examples
# Display BFD PAF configuration information.
<Sysname> display bfd paf
BFD PAF Information:
Control Packet Min-Transmit-Interval(ms): 200
Control Packet Min-Receive-Interval(ms) : 200
Echo Packet Min-Receive-Interval(ms) : 200
Max Session Number : 10
Table 1-2 Description on the fields of the display bfd paf command
Field Description
Control Packet
Min-Transmit-Interval(ms)
Minimum interval for transmitting control
packets
Control Packet
Min-Receive-Interval(ms)
Minimum interval for receiving control
packets
Echo Packet Min-Receive-Interval(ms)
Minimum interval for receiving echo
packets
Max Session Number
Supported maximum number of
sessions
1.1.10 display bfd session
Syntax
display bfd session [ verbose ]
Command Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches Chapter 1 BFD Configuration Commands
1-9
View
Any view
Parameters
verbose: Displays detailed session information.
slot slot-id: Displays the session information of the specified board/slot.
Description
Use the display bfd session command to display BFD session information. This
command displays the following interface-related information: session local ID, session
remote ID, source address, destination address, session state, length of time before
session detection timer expires, and the name of the interface of the session.
Besides the information displayed by the display bfd session command (except the
length of time before session detection timer expires), the display bfd session
verbose command displays:
Minimum transmit interval, minimum receive interval, actual transmit interval, actual
session detection timer, packets sent and received by the session, time when the
session was established, last time when the session was down, last time when the
session was up, authentication mode, connection type, registered protocol, and
diagnostic information.
Examples
# Display information about all the BFD sessions.
<Sysname> display bfd session
Total Session Num: 1 Init Mode: Active
Session Working Under Echo Mode:
LD SourceAddr DestAddr State Holdtime Interface
1 192.168.0.136 192.168.0.138 Up 1700ms Vlan1
# Display detailed information about the sessions maintained by the device.
<Sysname> display bfd session verbose
Total Session Num: 1 Init Mode: Active
Session Working Under Echo Mode:
Local Discr: 1
Source IP: 192.168.0.136 Destination IP: 192.168.0.138
Session State: Up Interface: Vlan-interface1
Min Recv Inter: 400ms Act Trans Inter: 400ms
Act Detect Inter: 2000ms Hold Time: 1700ms
Command Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches Chapter 1 BFD Configuration Commands
1-10
Recv Pkt Num: 1809 Send Pkt Num: 1809
Connect Type: Direct Establish Time: 05:28:42
Last Down Time: 05:28:42 Last Up Time: 05:38:15
Protocol: STATIC
Diag Info: No Diagnostic
Table 1-3 Description on the fields of the display bfd session command
Field Description
LD/ Local Discr Local ID of the session
SourceAddr/ Source IP Source IP address of the session
DestAddr/ Destination IP Destination IP address of the session
State/Session State Session state
Holdtime/ Hold Time
Length of time before session detection timer
expires
Interface Name of the interface of the session
Min Recv Inter
Expected minimum receive interval configured
on the interface
Act Trans Inter Actual transmit interval
Act Detect Inter Actual session detection timer
Recv Pkt Num Number of packets received
Send Pkt Num Number of packets sent
Connect Type Connection type of the interface
Establish Time Time when the session was established
Last Down Time Time when the session last became down
Last Up Time Time when the session was last brought up
Protocol Registered protocol
Diag Info Diagnostic information about the session
1.1.11 reset bfd session statistics
Syntax
reset bfd session statistics
View
User view
Command Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches Chapter 1 BFD Configuration Commands
1-11
Parameters
None
Description
Use the reset bfd session statistics command to clear the BFD session statistics of
the current protocol.
Examples
# Clear statistics about all the BFD sessions of the current protocol.
<Sysname> reset bfd session statistics
1.1.12 snmp-agent trap enable bfd
Syntax
snmp-agent trap enable bfd
undo snmp-agent trap enable bfd
Parameters
None
View
System view
Description
Use the snmp-agent trap enable bfd command to enable sending BFD traps.
Use the undo snmp-agent trap enable bfd command to disable sending BFD traps.
By default, sending BFD traps is enabled.
Examples
Currently, the switches do not support this command.
Command Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches Chapter 2 GR Commands
2-1
Chapter 2 GR Commands
2.1 GR Commands
This part involves no specific commands. For GR-related commands, refer to BGP
Configuration Commands, OSPF Configuration Commands, and IS-IS Configuration
Commands in IPv4 Routing.
/