Gojira 哥斯拉Gojira 哥斯拉

哥斯拉爱好者的日常
生活相当无趣 我得找点乐子

阿里云万兆交换Nexus3000配置设置学习案例

gojira.net

对于交换机和软路由方面的技术有点兴趣,但现在还啥都不懂,在网上逛看到一网名叫realpg的用户发布的号称是阿里云用过的配置,先保存下来,有空再学习,以下为原文:

又掏了几个二手万兆交换机用作存储网,赶上特别便宜的 Nexus 3000,到手发现是阿里云淘汰的,来大家围观下配置

话说阿里报废设备都不清配置么?

看了下,阿里云拿这玩意直接当路由器用的,起了 bgp 和 ospf

内容太多删了一部分没用的接口啥的没用配置

Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
LSW-APP-G7-1.CM3# show running-config

!Command: show running-config
!Time: Thu Sep 26 10:49:10 2019

version 6.0(2)U2(2)
hostname LSW-APP-G7-1.CM3

no feature telnet
feature tacacs+
feature ospf
feature bgp
feature udld
feature interface-vlan
feature lacp
feature lldp

username admin password 5 $1$STLAh8h3$ArrSaYMegDTe9PdhZLLgI/  role network-admin
username aliops password 5 $1$tB9vHnxd$SqbA2qiP5qVEJZaijXBwg/  role network-operator
username aliops role network-admin
username alimonitor password 5 $1$Jfu3JB5n$P7NKrmS9xBGSKKrxYkDhB0  role network-operator
no password strength-check

banner motd #
******************************************************************************
*  Welecome to Alibaba IDC Network! Anyone who unauthorized access!      *
*  was prohibited,please logout immediately!!! We will reserve the action at law right!!!     *
*                          ATTENTION!!!             *
*                    Please do a chkin after config        *
*                   Thank you for your cooperation.       *
*******************************************************************************
#

no ip domain-lookup
tacacs-server key 7 "wxwf123"
tacacs-server timeout 3
tacacs-server host 172.24.102.102
tacacs-server host 172.23.12.221
aaa group server tacacs+ TACACS+
    server 172.23.12.221
    server 172.24.102.102
    source-interface loopback1
logging event link-status default
logging level ethpm link-up error
logging level ethpm link-down error
errdisable recovery interval 30
errdisable recovery cause link-flap
errdisable recovery cause udld
errdisable recovery cause bpduguard
errdisable recovery cause pause-rate-limit
errdisable recovery cause inline-power
hardware profile unicast enable-host-ecmp
hardware profile portmode 64x10G

snmp-server user admin network-admin auth md5 0xa4e0ee71638b3a0a7d8a89fd820e0d12 priv 0xa4e0ee71638b3a0a7d8a89fd820e0d12 localizedkey
snmp-server user aliops network-operator auth md5 0x891d4ddd62253cc50d7fc914cd4e2d10 priv 0x891d4ddd62253cc50d7fc914cd4e2d10 localizedkey
snmp-server user aliops network-admin
snmp-server user alimonitor network-operator auth md5 0x75ce49d784f31802132745d97e9ff015 localizedkey
snmp-server context snmpv2 vrf default
snmp-server community snmppwv2 group network-operator
snmp-server community taobao_mrtg group network-operator
snmp-server community snmprwv2 group network-admin
snmp-server mib community-map snmppwv2 context snmpv2
snmp-server mib community-map snmprwv2 context snmpv2
snmp-server community snmppwv2 use-acl 99
snmp-server community taobao_mrtg use-acl 99
snmp-server community snmprwv2 use-acl 99
ntp distribute
ntp server 10.233.7.230 use-vrf default
ntp server 10.246.124.208 use-vrf default
ntp server 172.23.101.6 use-vrf default
ntp server 172.24.102.103 use-vrf default
ntp source-interface  loopback1
ntp access-group query-only denyntpquery
ntp commit
aaa authentication login default group TACACS+
aaa authentication login console local
aaa authorization config-commands default group TACACS+ local
aaa authorization commands default group TACACS+ local
aaa accounting default group TACACS+
tacacs-server directed-request

vrf context management
vlan configuration 1
vlan 1
ip prefix-list CSR2LSW seq 10 permit 0.0.0.0/0
ip prefix-list LSW2CSR seq 10 permit 42.156.190.0/23
ip prefix-list LSW2CSR seq 20 permit 42.156.192.0/23
ip prefix-list LSW2CSR seq 40 permit 10.105.14.0/24
ip prefix-list LSW2CSR-APPG20-21 seq 10 permit 42.156.190.0/23
ip prefix-list LSW2CSR-APPG20-21 seq 30 permit 42.120.228.0/25
ip prefix-list LSW2CSR-APPG20-21 seq 40 permit 42.120.228.128/25
ip prefix-list LSW2CSR-APPG20-21 seq 50 permit 42.156.226.0/25
ip prefix-list LSW2CSR-APPG20-21 seq 60 permit 42.156.226.128/25
route-map CSR2LSW permit 10
  match ip address prefix-list CSR2LSW
route-map LSW2CSR permit 10
  match ip address prefix-list LSW2CSR-APPG20-21
  set metric 50
route-map LSW2CSR permit 20
  match ip address prefix-list LSW2CSR-APPG22
  set metric 100


interface Vlan1

interface port-channel4096
  description To-LSW-APP-G7-2.CM3-po4096
  no switchport
  no negotiate auto
  ip address 10.105.14.1/30
  ip ospf network point-to-point
  ip router ospf 100 area 0.0.0.0

interface Ethernet1/1
  description LVS-APP-G20-1.CM3-T1
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.1/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.21

interface Ethernet1/2
  description LVS-APP-G20-2.CM3-T1
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.5/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.22

interface Ethernet1/3
  description LVS-APP-G20-3.CM3-T1
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.9/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.23

interface Ethernet1/4
  description LVS-APP-G20-4.CM3-T1
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.13/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.24

interface Ethernet1/5
  description LVS-APP-G20-5.CM3-T1
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.17/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.25

interface Ethernet1/6
  description LVS-APP-G20-6.CM3-T1
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.21/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.26

interface Ethernet1/7
  description LVS-APP-G20-7.CM3-T1
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.25/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.27

interface Ethernet1/8
  description LVS-APP-G20-8.CM3-T1
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.29/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.28

interface Ethernet1/9
  description LVS-APP-G21-1.CM3-T1
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.65/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.31

interface Ethernet1/10
  description LVS-APP-G21-2.CM3-T1
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.69/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.32

interface Ethernet1/11
  description LVS-APP-G21-3.CM3-T1
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.73/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.33

interface Ethernet1/12
  description LVS-APP-G21-4.CM3-T1
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.77/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.34

interface Ethernet1/13
  description LVS-APP-G21-5.CM3-T1
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.81/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.35

interface Ethernet1/14
  description LVS-APP-G21-6.CM3-T1
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.85/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.36

interface Ethernet1/15
  description LVS-APP-G21-7.CM3-T1
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.89/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.37

interface Ethernet1/16
  description LVS-APP-G21-8.CM3-T1
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.93/30
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 3 7d244ae7a4a9ea84
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  no ip ospf passive-interface
  ip router ospf 100 area 0.0.1.38

interface Ethernet1/17
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.129/30

interface Ethernet1/18
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.133/30

interface Ethernet1/19
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.137/30

interface Ethernet1/20
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.141/30

interface Ethernet1/21
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.145/30

interface Ethernet1/22
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.149/30

interface Ethernet1/23
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.153/30

interface Ethernet1/24
  shutdown
  no switchport
  logging event port link-status
  no ip redirects
  ip address 10.105.13.157/30

interface Ethernet1/25

interface Ethernet1/26

interface Ethernet1/27

interface Ethernet1/28

interface Ethernet1/29

interface Ethernet1/30

interface Ethernet1/31
  description CSR-ABTN-1.CM3-G15/0/6
  no switchport
  logging event port link-status
  ip address 10.105.14.193/30

interface Ethernet1/32
  description CSR-ABTN-1.CM3-G15/0/7
  no switchport
  logging event port link-status
  ip address 10.105.14.197/30

interface Ethernet1/33
  description CSR-ABTN-1.CM3-G16/0/6
  no switchport
  logging event port link-status
  ip address 10.105.14.201/30

interface Ethernet1/34
  description CSR-ABTN-1.CM3-G16/0/7
  no switchport
  logging event port link-status
  ip address 10.105.14.205/30

interface Ethernet1/35
  description CSR-ABTN-2.CM3-G15/0/6
  no switchport
  logging event port link-status
  ip address 10.105.14.209/30

interface Ethernet1/36
  description CSR-ABTN-2.CM3-G15/0/7
  no switchport
  logging event port link-status
  ip address 10.105.14.213/30

interface Ethernet1/37
  description CSR-ABTN-2.CM3-G16/0/6
  no switchport
  logging event port link-status
  ip address 10.105.14.217/30

interface Ethernet1/38
  description CSR-ABTN-2.CM3-G16/0/7
  no switchport
  logging event port link-status
  ip address 10.105.14.221/30

interface Ethernet1/39
  description Link_to_ISR-ACTN-1.CM3:GE5/0/9_Local
  no switchport
  logging event port link-status
  ip address 10.104.37.65/30
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  ip router ospf 100 area 0.0.0.0

interface Ethernet1/40
  description Link_to_ISR-ACTN-2.CM3:GE5/0/9_Local
  no switchport
  logging event port link-status
  ip address 10.104.37.69/30
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  ip router ospf 100 area 0.0.0.0

interface Ethernet1/41
  description Link_to_ISR-ACTN-3.CM3:xe-7/1/5_Local
  no switchport
  logging event port link-status
  ip address 10.104.37.73/30
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  ip router ospf 100 area 0.0.0.0

interface Ethernet1/42
  description Link_to_ISR-ACTN-4.CM3:xe-7/1/5_Local
  no switchport
  logging event port link-status
  ip address 10.104.37.77/30
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  ip router ospf 100 area 0.0.0.0

interface Ethernet1/43
  description Link_to_ISR-ACTN-1.CM3:GE5/0/10_Local
  no switchport
  logging event port link-status
  ip address 10.104.37.81/30
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  ip router ospf 100 area 0.0.0.0

interface Ethernet1/44
  description Link_to_ISR-ACTN-2.CM3:GE5/0/10_Local
  no switchport
  logging event port link-status
  ip address 10.104.37.85/30
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  ip router ospf 100 area 0.0.0.0

interface Ethernet1/45
  description Link_to_ISR-ACTN-3.CM3:xe-7/2/2_Local
  no switchport
  logging event port link-status
  ip address 10.104.37.89/30
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  ip router ospf 100 area 0.0.0.0

interface Ethernet1/46
  description Link_to_ISR-ACTN-4.CM3:xe-7/2/2_Local
  no switchport
  logging event port link-status
  ip address 10.104.37.93/30
  ip ospf dead-interval 10
  ip ospf hello-interval 3
  ip ospf network point-to-point
  ip router ospf 100 area 0.0.0.0

interface Ethernet1/47
  description LSW-APP-G7-2.CM3
  no switchport
  logging event port link-status
  udld aggressive
  channel-group 4096 mode active

interface Ethernet1/48
  description LSW-APP-G7-2.CM3
  no switchport
  logging event port link-status
  udld aggressive
  channel-group 4096 mode active
interface loopback1
  ip address 10.105.12.1/32
  ip router ospf 100 area 0.0.0.0
clock timezone BJT 8 0
line console
line vty
boot kickstart bootflash:/n3000-uk9-kickstart.6.0.2.U2.2.bin
boot system bootflash:/n3000-uk9.6.0.2.U2.2.bin
router ospf 100
  area 0.0.1.21 stub no-summary
  area 0.0.1.22 stub no-summary
  area 0.0.1.23 stub no-summary
  area 0.0.1.24 stub no-summary
  area 0.0.1.25 stub no-summary
  area 0.0.1.26 stub no-summary
  area 0.0.1.27 stub no-summary
  area 0.0.1.28 stub no-summary
  area 0.0.1.21 range 10.196.80.0/24
  area 0.0.1.21 range 42.120.228.0/26
  area 0.0.1.21 range 42.120.228.64/26
  area 0.0.1.21 range 42.120.228.128/26
  area 0.0.1.21 range 42.120.228.192/26
  area 0.0.1.21 range 42.156.190.0/24
  area 0.0.1.21 range 42.156.191.0/24
  area 0.0.1.21 range 42.156.226.0/26
  area 0.0.1.21 range 42.156.226.64/26
  area 0.0.1.21 range 42.156.226.128/26
  area 0.0.1.21 range 42.156.226.192/26
  area 0.0.1.22 range 10.196.81.0/24
  area 0.0.1.22 range 42.120.228.0/26
  area 0.0.1.22 range 42.120.228.64/26
  area 0.0.1.22 range 42.120.228.128/26
  area 0.0.1.22 range 42.120.228.192/26
  area 0.0.1.22 range 42.156.190.0/24
  area 0.0.1.22 range 42.156.191.0/24
  area 0.0.1.22 range 42.156.226.0/26
  area 0.0.1.22 range 42.156.226.64/26
  area 0.0.1.22 range 42.156.226.128/26
  area 0.0.1.22 range 42.156.226.192/26
  area 0.0.1.23 range 10.196.82.0/24
  area 0.0.1.23 range 42.120.228.0/26
  area 0.0.1.23 range 42.120.228.64/26
  area 0.0.1.23 range 42.120.228.128/26
  area 0.0.1.23 range 42.120.228.192/26
  area 0.0.1.23 range 42.156.190.0/24
  area 0.0.1.23 range 42.156.191.0/24
  area 0.0.1.23 range 42.156.226.0/26
  area 0.0.1.23 range 42.156.226.64/26
  area 0.0.1.23 range 42.156.226.128/26
  area 0.0.1.23 range 42.156.226.192/26
  area 0.0.1.24 range 10.196.83.0/24
  area 0.0.1.24 range 42.120.228.0/26
  area 0.0.1.24 range 42.120.228.64/26
  area 0.0.1.24 range 42.120.228.128/26
  area 0.0.1.24 range 42.120.228.192/26
  area 0.0.1.24 range 42.156.190.0/24
  area 0.0.1.24 range 42.156.191.0/24
  area 0.0.1.24 range 42.156.226.0/26
  area 0.0.1.24 range 42.156.226.64/26
  area 0.0.1.24 range 42.156.226.128/26
  area 0.0.1.24 range 42.156.226.192/26
  area 0.0.1.25 range 10.196.84.0/24
  area 0.0.1.25 range 42.120.228.0/26
  area 0.0.1.25 range 42.120.228.64/26
  area 0.0.1.25 range 42.120.228.128/26
  area 0.0.1.25 range 42.120.228.192/26
  area 0.0.1.25 range 42.156.190.0/24
  area 0.0.1.25 range 42.156.191.0/24
  area 0.0.1.25 range 42.156.226.0/26
  area 0.0.1.25 range 42.156.226.64/26
  area 0.0.1.25 range 42.156.226.128/26
  area 0.0.1.25 range 42.156.226.192/26
  area 0.0.1.26 range 10.196.85.0/24
  area 0.0.1.26 range 42.120.228.0/26
  area 0.0.1.26 range 42.120.228.64/26
  area 0.0.1.26 range 42.120.228.128/26
  area 0.0.1.26 range 42.120.228.192/26
  area 0.0.1.26 range 42.156.190.0/24
  area 0.0.1.26 range 42.156.191.0/24
  area 0.0.1.26 range 42.156.226.0/26
  area 0.0.1.26 range 42.156.226.64/26
  area 0.0.1.26 range 42.156.226.128/26
  area 0.0.1.26 range 42.156.226.192/26
  area 0.0.1.27 range 10.196.86.0/24
  area 0.0.1.27 range 42.120.228.0/26
  area 0.0.1.27 range 42.120.228.64/26
  area 0.0.1.27 range 42.120.228.128/26
  area 0.0.1.27 range 42.120.228.192/26
  area 0.0.1.27 range 42.156.190.0/24
  area 0.0.1.27 range 42.156.191.0/24
  area 0.0.1.27 range 42.156.226.0/26
  area 0.0.1.27 range 42.156.226.64/26
  area 0.0.1.27 range 42.156.226.128/26
  area 0.0.1.27 range 42.156.226.192/26
  area 0.0.1.28 range 10.196.87.0/24
  area 0.0.1.28 range 42.120.228.0/26
  area 0.0.1.28 range 42.120.228.64/26
  area 0.0.1.28 range 42.120.228.128/26
  area 0.0.1.28 range 42.120.228.192/26
  area 0.0.1.28 range 42.156.190.0/24
  area 0.0.1.28 range 42.156.191.0/24
  area 0.0.1.28 range 42.156.226.0/26
  area 0.0.1.28 range 42.156.226.64/26
  area 0.0.1.28 range 42.156.226.128/26
  area 0.0.1.28 range 42.156.226.192/26
  area 0.0.1.21 authentication message-digest
  area 0.0.1.22 authentication message-digest
  area 0.0.1.23 authentication message-digest
  area 0.0.1.24 authentication message-digest
  area 0.0.1.25 authentication message-digest
  area 0.0.1.26 authentication message-digest
  area 0.0.1.27 authentication message-digest
  area 0.0.1.28 authentication message-digest
  auto-cost reference-bandwidth 100000
router bgp 65002
  router-id 10.105.12.1
  log-neighbor-changes
  address-family ipv4 unicast
    network 10.105.14.0/24
    network 42.120.228.0/25
    network 42.120.228.128/25
    network 42.156.190.0/23
    network 42.156.226.0/25
    network 42.156.226.128/25
    maximum-paths 8
  neighbor 10.105.12.2
    remote-as 65002
    update-source loopback1
    address-family ipv4 unicast
      next-hop-self
  neighbor 10.105.14.194
    remote-as 64901
    password 3 f0a6fcd5864c730fdf16962274e8466d
    address-family ipv4 unicast
      route-map CSR2LSW in
      route-map LSW2CSR out
      soft-reconfiguration inbound
  neighbor 10.105.14.198
    remote-as 64901
    password 3 f0a6fcd5864c730fdf16962274e8466d
    address-family ipv4 unicast
      route-map CSR2LSW in
      route-map LSW2CSR out
      soft-reconfiguration inbound
  neighbor 10.105.14.202
    remote-as 64901
    password 3 f0a6fcd5864c730fdf16962274e8466d
    address-family ipv4 unicast
      route-map CSR2LSW in
      route-map LSW2CSR out
      soft-reconfiguration inbound
  neighbor 10.105.14.206
    remote-as 64901
    password 3 f0a6fcd5864c730fdf16962274e8466d
    address-family ipv4 unicast
      route-map CSR2LSW in
      route-map LSW2CSR out
      soft-reconfiguration inbound
  neighbor 10.105.14.210
    remote-as 64901
    password 3 f0a6fcd5864c730fdf16962274e8466d
    address-family ipv4 unicast
      route-map CSR2LSW in
      route-map LSW2CSR out
      soft-reconfiguration inbound
  neighbor 10.105.14.214
    remote-as 64901
    password 3 f0a6fcd5864c730fdf16962274e8466d
    address-family ipv4 unicast
      route-map CSR2LSW in
      route-map LSW2CSR out
      soft-reconfiguration inbound
  neighbor 10.105.14.218
    remote-as 64901
    password 3 f0a6fcd5864c730fdf16962274e8466d
    address-family ipv4 unicast
      route-map CSR2LSW in
      route-map LSW2CSR out
      soft-reconfiguration inbound
  neighbor 10.105.14.222
    remote-as 64901
    password 3 f0a6fcd5864c730fdf16962274e8466d
    address-family ipv4 unicast
      route-map CSR2LSW in
      route-map LSW2CSR out
      soft-reconfiguration inbound
ip route 10.105.14.0/24 Null0 190
ip route 42.120.228.0/25 Null0 190
ip route 42.120.228.128/25 Null0 190
ip route 42.156.190.0/23 Null0 190
ip route 42.156.226.0/25 Null0 190
ip route 42.156.226.128/25 Null0 190
no ip source-route
system urpf disable
logging logfile local7 7 size 40940
logging server 172.24.102.102 7 use-vrf default
logging server 172.23.12.221 7 use-vrf default
logging source-interface loopback1
logging timestamp milliseconds
GOJIRA.NET原创文章未经允许不得转载! 当前页面:Gojira 哥斯拉 » 阿里云万兆交换Nexus3000配置设置学习案例

评论 3

  1. 非技术的路过。

    repostone 2019.10.22 17:13:17 回复
  2. 阿里云有交换机???这标题写的~

    牧羊人 L2 小有名气 2019.09.30 20:22:43 回复
    • 就是你们买的那种阿里云实体服务器机房用的交换机,如假包换

      高佬 博 主 2019.12.18 22:49:45 回复