Huawei S6700 Series Configuration Manual page 512

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
Optional capabilities:
Route refresh capability has been enabled
4-byte-as capability has been enabled
Nexthop self has been configured
Connect-interface has been configured
GTSM has been enabled, valid-ttl-hops: 2
Peer Preferred Value: 0
Routing policy configured:
No routing policy is configured
You can view that GTSM is configured, the valid hop count is 2, and the BGP connection is in
the Established state.
Step 10 Verify the configuration.
# Run the display gtsm statistics all command on Switch B to check the GTSM statistics of
Switch B. By default, Switch B does not discard any packet when all packets match the GTSM
policy.
<SwitchB> display gtsm statistics all
GTSM Statistics Table
----------------------------------------------------------------
SlotId
----------------------------------------------------------------
0
0
0
0
----------------------------------------------------------------
If the host simulates the BGP packets of Switch A to attack Switch B, the packets are discarded
because their TTL value is not 255 when reaching Switch B. In the GTSM statistics of Switch
B, the number of dropped packets increases accordingly.
----End
Configuration Files
l
Issue 01 (2012-03-15)
NOTE
l In this example, if the value of valid-ttl-hops of either Switch B or Switch D is smaller than 2, the
IBGP connection cannot be set up.
l GTSM must be configured on the two ends of the BGP connection.
Protocol
Total Counters
BGP
17
BGPv6
0
OSPF
0
LDP
0
Configuration file of Switch A
#
sysname SwitchA
#
vlan batch 10
#
interface Vlanif10
ip address 10.1.1.1 255.255.255.0
#
interface XGigabitEthernet0/0/1
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
bgp 10
router-id 1.1.1.9
peer 10.1.1.2 as-number 20
peer 10.1.1.2 valid-ttl-hops 1
#
ipv4-family unicast
undo synchronization
peer 10.1.1.2 enable
#
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Drop Counters
Pass Counters
0
17
0
0
0
0
0
0
7 BGP Configuration
493

Advertisement

Table of Contents
loading

Table of Contents