设为首页 收藏本站
查看: 1073|回复: 0

[经验分享] Brocade ip 配置 与CISCO 比较

[复制链接]

尚未签到

发表于 2018-7-20 12:20:11 | 显示全部楼层 |阅读模式
  Foundry                                                                        Cisco            
  
  common commands that are different between vendors:
  
  
  **access configuration**
  
  Access-list 10 permit 172.16.0.0 0.0.0.255                             Access-list 10 permit 172.16.0.0 0.0.0.255
  telnet access-group 10                                                             line vty 0 4
  ip access-class 10 in
  
  ip ssh-client 192.168.1.1
  
  snmp-client 192.168.1.1
  
  web-client 192.168.1.1
  
  all-client 192.168.1.1
  
  
  enable telnet password letmein                                               line vty 0 4
  password letmein
  
  enable super-user-password enable                                         enable password enable
  enable secret enable
  
  **************** dns ****************
  
  Ip dns domain-name foundry.net                                           ip domain-name foundry.net
  Ip dns name-server 4.2.2.2                                                      ip name-server 4.2.2.2
  
  
  ****************interface naming****************
  
  Interface ether 1                                                                      interface e 1
  Port-name test                                                                         description test
  
  ****************speed-duplex****************
  
  Interface ether 1                                                                      interface ether 1
  Speed-duplex 100 full                                                                        speed 100
  Duplex full
  
  **************** disabling a port ****************
  
  Int e 1                                                                                      int e 1
  Disable                                                                                    shutdown
  
  **************** range of interfaces ****************
  
  Int Ethernet 1/1 to 1/24                                                          interface range Ethernet 1/1 -24
  
  **************** POE ****************
  
  Int Ethernet 1/1                                                                       interface Ethernet 1/1
  Inline power                                                                            power inline
  
  
  
  **************** ntp server ****************
  
  Sntp server 3.3.3.3                                                                  ntp-server x.x.x.x
  
  
  ****************adding layer-3 interface****************
  
  Interface ve 1                                                                          Interface vlan
  Ip address x.x.x.x x.x.x.x                                                       Ip address x.x.x.x x.x.x.x
  
  vlan 200 name test
  tagged ethe 3/22
  router-interface ve 1
  
  **Protocol based VLAN**
  
  Ip-subnet 3.3.3.3 255.255.255.0 name subnet-a
  No dynamic
  Static Ethernet 1 to 9 ethernet 20
  
  
  
  
  ****************port based vlans****************
  
  vlan 222 name Test
  Vlan 222 name Test
  
  ****************adding port to vlan****************
  
  Vlan 222                                                                                 interface e 1/1
  untagged ether 1/1                                                                  switchport access vlan 222
  Untagged ether 1/1
  
  vlan 222                                                                                    interface e1/24
  taggedd e 1/24                                                                             switch mode trunk
  ****************stp root****************
  
  Spanning-tree priority 0                                                          spanning-tree vlan 100 root primary/secondary
  
  
  ****************  portfast-fastport ****************
  
  Int e 1/3                                                                                   int e 1/3
  Fast port-span                                                                         spanning-tree portfast
  Stp-protect                                                                              spanning-tree portfast bpduguard
  
  ****************802.1q trunk****************
  
  int e 2/2
  switchport encapsulation dot1q
  Switchport mode trunk
  Vlan 222
  Tagged ether 2/2
  Tagged ether 2/2
  
  
  ****************802.3ad link aggregation****************
  
  inte e1 to e2
  
  link-aggregate
  Trunk Ethernet 1 to 4                                                              interface range gigabitethernet2/0/1 -2
  channel-group 2 mode active
  
  (trunk specific parameters need to be done from master port, first port)
  
  
  ****************Port Mirroring****************
  
  Mirror-port ether 1 (sniffer port)                                             monitor session 1 source int fast 2
  Int ether 2                                                                               monitor session 1 destination int fast 1
  Monitor port ether 1
  
  
  **************** Routing protocols *****************
  
  Router rip                                                                                            router rip
  Ethernet 1/1                                                                                        network 172.16.0.0
  Ip rip v1-only
  
  Router rip
  Permit redistribute 1 static address 172.16.0.0 255.255.255.0           router rip
  Redistribution                                                                                     redistribute static
  
  
  
  Router ospf                                                                                         router ospf 1
  Area 0.0.0.0                                                                                        network 10.0.0.0 0.0.0.255 area 0.0.0.0
  Interface e 1/1
  Ip ospf area 0.0.0.0
  
  Router ospf                                                                                         router ospf 1
  Redistribution rip                                                                                redistribute static
  Redistribution static                                                                            redistribute rip
  
  Router bgp                                                                                          router bgp 40
  Local-as 40
  (neighbor commands>
  
  **************** VRRP-HSRP config *****************
  
  VRRP                                                                                                 HSRP
  
  Router 1                                                                                              Router 1
  
  Router vrrp                                                                                          interface e 1/6
  Inter e 1/6                                                                                            ip address 192.168.5.2
  Ip address 192.168.5.1 255.255.255.0                                               standby 1 ip 192.168.5.1
  Ip vrrp vrid 1                                                                                       standby 1 priority 110
  Owner                                                                                                 standby 1 preempt
  Ip address 192.168.53.1
  Activate
  
  
  
  Router 2                                                                                              Router 2
  
  Router vrrp                                                                                          interface e 1/5
  Inter e 1/5                                                                                            ip address 192.168.5.3 255.255.255.0
  Ip address 192.168.5.3                                                                       standy 1 ip 192.168.5.1
  Ip vrrp vrid 1
  backup
  Ip address 192.168.53.1
  Activate
  
  
  **VRRPE**
  (highest priority is the master)
  
  Router vrrp-extended
  Inter e 1/5
  Ip address 192.168.5.2
  Ip vrrp-extended vrid 1
  Backup
  Ip address 192.168.5.1
  activate
  
  Router vrrp-extended
  Inter e 1/3
  Ip address 192.168.5.3
  Ip vrrp-extended vrid 1
  Backup
  Backup priority 50 track-priority 10 (track priority decrements priority upon failure of interface being tracked)
  Ip address 192.168.5.1
  activate
  
  
  
  **********************Other commands*************************
  
  **sflow**
  
  -Sflow
  Sflow destination x.x.x.x
  Sflow enable
  Int e 1/1
  Sflow forwarding
  
  
  **dot1x**
  
  Aaa authentication dot1x default radius
  radius-server host 10.10.10.10 auth-port 1812 acct-port 1813 default key mykey dot1x
  
  
  dot1x-enable
  enable all
  enable ether 2/1
  
  inter ether 2/1
  dot1x port-control auto
  
  re-authentication (global default 3600 seconds)
  
  Dot1x initialize e 3/1 (from # prompt (not config)
  dot1x multiple-hosts
  auth-fail-vlanid 300 (unsuccessful auth places client in vlan 300)
  
  
  **rate limiting**
  
  ---fixed rate---
  
  
  int e 1/1
  rate limit fixed 500000 payload-only
  
  show rate-limit fixed
  
  
  traffic-policy tpd rate-limit fixed 100 exceed-action drop
  access-list 101 permit ip any any traffic-policy tpd
  
  int e 1/1
  ip access-group 101 in
  
  ---Adaptive rate---
  
  Cir: committed info rate (rate bps)
  Cbs: commited burst>
  Pir: peek information rate (rate  bps)
  Pbs: peer burst>
  traffic-policy tpdadapt rate-limit adaptive cir 10000 cbs 16000 pir 20000 pbs 40000 exceed-action drop
  access-list 101 permit ip any any traffic-policy tpdadapt
  
  int e 1/1
  ip access-group 101 in
  
  
  ***UDLD***
  
  Link-keepalive Ethernet 1/1
  Link-keepalive Ethernet 1/1 to ¼
  
  Link-keepalive retries (default 5)
  Link-keepalive interval (default 5)
  
  
  ***Radius***
  
  Username tborst password mypassword  (optional local database user)
  
  Radius-server host 3.3.3.3
  Radius-server key mykey
  Radius-server retransmit 5 (default 3)
  Radius-server timeout 5 (default 3 sec)
  
  Enable telnet authentication
  Aaa authentication login default radius local
  Aaa authentication enable default radius local
  
  Aaa authentication login privilege-mode (goes to enable mode after successful logon)
  Aaa authentication enable implicit-user (when entering enable mode, prompts for just password –no userid)
  
  
  ***Security commands***
  
  ---RPF---
  
  Int e 1/1
  Ip verify unicast reverse-path external
  
  ---DHCP snooping---
  
  Ip dhcp snooping vlan x
  
  Interface Ethernet 1/1 (trusted ports..router, switches, dhcp server)
  Dhcp snooping trust
  
  ---ip source guard---
  
  Enable acl-per-port-per-vlan (global config)
  
  Interface e 1/1
  Source-guard enable
  
  ---arp inspection---
  
  Ip arp inspection vlan 2 (globa)
  
  Interface ether 1/1
  Arp inspection trust
  
  ***source interface admin***
  
  Ip telnet source-interface loop 0
  
  Ip tftp source-interface loop 0
  
  
  ***mdi/mdx***
  
  Interface e 1/1
  mdi-mdx mdi (connects to end device)
  mdi-mdx mdx (connects to switch-hub xover)
  
  
  
  
  
  
  
  
  ***VSRP***
  (enabled by default, to run vrrp/vrrpe disable vsrp first)
  No router vsrp
  
  Vlan 200
  Tag Ethernet 1/1 to 1/8
  Vsrp vid 1
  Backup
  Activate
  Scale-timer 2 (divides times by 2)
  Ip vsrp auth-type simple-text-auth passwd (hello packets)
  No include-port ether 1/1
  Backup priority 75
  Backup track-priority 1
  Track-port e 1/1
  Non-preempt-mode
  
  Vlan 200 (vsrp-aware device)
  Vsrp-aware vrid 1 auth simple-text-auth passwd
  
  
  
  
  ____________________________Software Naming conventions FastIron________________________________
  
  SxSxxxxxx.bin (layer 2)
  SxLxxxxxx.bin (Base Layer 3)
  SxRxxxxxx.bin (Full Layer 3)
  
  
  
  
  
    菊來香帽饰

  http://jajamaozi.taobao.com
  
  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.iyunv.com/thread-539198-1-1.html 上篇帖子: CISCO设备rommon模式刷新IOS步骤! 下篇帖子: Cisco CRS-1 查看机箱电源风扇等序列号
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表