cisco cmd line vs dell cmd line cmd available on cisco ... login telnet1 local line...

14
Cisco CMD line vs Dell CMD Line CMD available on Cisco IOS and Dell OS6 and Dell OS9

Upload: hakhuong

Post on 02-May-2018

232 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Cisco CMD line vs Dell CMD Line

CMD available on Cisco IOS and

Dell OS6 and Dell OS9

Page 2: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Feature Dell Networking OS 6 Dell Networking OS 9 Cisco IOS Interop

CLI prompts console>en

console#conf

console(config)#

Dell>en

Dell#conf

Dell(conf)#

Switch>en

Switch#config t

Switch(config)#

Same

Show commands console#show ?

console#show version

console#show system

console#show interfaces status

console#show interfaces detail gi1/0/1

console#show running-config

console#dir

console#show mac address-table

console#show vlan

Dell#show ?

Dell#show version

Dell#show inventory

Dell#show environment

Dell#show interfaces

Dell#show interfaces status

Dell#show interface ma0/0

Dell#show interface te0/1

Dell#show running-config

Dell#dir

Dell#show mac-address-table

Dell#show vlan

Switch#show?

Switch#version

Switch#system

Switch#show int Ethernet

Switch#show int mgmt-ethernet

Switch#show running-config

Switch#dir

Switch#show mac-address-table

Switch#show vlan

95% same

copy run start console#copy running-config startup-config

console#write memory

console#reload

Dell#copy running-config startup-config

Dell#write memory

Dell#reload

Switch#copy running-config startup-

config

Switch#write memory

Switch#reload

Same

delete startup-

config

Dell#delete startup-config Switch#erase startup-config

or delete nvram

Cisco

different

hostname console(config)#hostname xxxxxxx Dell(conf)#hostname xxxxxxx

(any character: a-z, numbers, special)

Switch(config)#hostname xxxxxxx Same

banner console(config)#banner motd "Happy New

Year"

Dell(conf)#banner motd c Happy New Year

c

Switch(config)#banner motd # Happy

New Year #

Same

syntax,

different

variable

enable password console(config)#enable password xxxxx Dell(conf)#enable password xxxxx Switch(config)#enable password xxxxx Same

username/

password

console(config)#username xxx password xxx

privilege 15

Dell(conf)#username xxx password xxx

privilege 15

Switch(config)#username xxx password

xxx privilege 15

Same

aaa authentication console(config)#aaa authentication login

default local line

Dell(conf)#aaa authentication login default

local line

Switch(config)#aaa (name)

Switch(config)#aaa authentication

login default

Switch(config)#line vty 0 4

Same

Page 3: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Feature Dell Networking OS 6 Dell Networking OS 9 Cisco IOS Interop

Switch(config)#login auth (name)

Telnet access console(config)#no ip telnet server disable

console(config)#enable password password

encrypted

console(config)#aaa authentication login

“loc” local line

console(config)#line telnet

console(config-telnet)#login authentication

loc

console(config-telnet)#exit

console(config)#enable password password

console(config)#username xxxx password

password

Dell(conf)#ip telnet server enable

Dell(conf)#enable secret password

Dell(conf)#aaa authentication login default

local line

Dell(conf)#line vty 0 4

Dell(conf-line-vty)#password password

Dell(conf)#username xxxx password

password

Switch(config)#line con 0

Switch(config-line)#password letmein

Switch(config-line)#login

Switch(config)#username joe password

fishing

Switch(config)#username jane

password Bombay

Switch(config)#line vty 0 4

Switch(config-line)#login local

Switch(config)#aaa (name)

Switch(config)#aaa authentication

login my-auth-list tacacs+

Switch(config)#tacacs-server host

x.x.x.x/y

Switch(config)#tacacs-server key

password

Similar

Management VLAN console(config)#vlan x

console(config-vlanx)# vlan association

subnet ip_addr subnet_mask

console(config-vlanx)#no shut

Dell(conf)#interface vlan x

Dell(conf-if-vl-x)#ip address x.x.x.x/y

Dell(conf-if-vl-x)#no shut

Switch(config)#int gig 0/1

Switch(config-if)#switchport access

vlan 9

Switch(config-if)#switchport mode

trunk

Switch(config)#interface vlan 9

Switch(config-vlan)#ip address

192.168.1.9 255.255.255.0

Switch(config)#ip default-gateway

192.168.1.254

Similar

OOB management console(config)#interface out-of-band

console(config-if)#ip address x.x.x.x/y

console(config-if)#no shut

Dell(conf)#interface management0/0

Dell(conf-if-ma-0/0)#ip address x.x.x.x/y

Dell(conf-if-ma-0/0)#no shut

Switch(config)# interface mng 0/1

Switch(config-if)#ip 192.168.1.100

255.255.255.0

Switch(config-if)#no shut

Same

except int

name

L3 port IP address may only be assigned to a

loopback, VLAN or tunnel

Dell(conf)interface te0/x

Dell(conf-if-te-0/x)#ip address x.x.x.x/y

Dell(conf-if-te-0/x)#no shut

Switch(config)#interface te1/0/x

Switch(config-if)# ip address x.x.x.x/y

Switch(config-if)#no shut

OS 6

different

Page 4: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Feature Dell Networking OS 6 Dell Networking OS 9 Cisco IOS Interop

Line authentication console(config)#no ip telnet server disable

console(config)#enable password Dellsvcs2

encrypted

console(config)#aaa authentication login

TELNET line local

console(config)#line telnet

console(config-telnet)#password Dellsvcs5

console(config-telnet)# login authentication

TELNET

console(config)#int te1/0/2

console(config-if-Te1/0/2)#ip address

192.168.33.2/24

console(config-if-Te1/0/2)#no shut

Using telnet line:

console>telnet 192.168.33.4

Password: ********* (line vty pswd)

console2>enable

Password: ********* (enable secret pwd)

console2#

Dell(conf)#ip telnet server enable

Dell(conf)#enable secret Dellsvcs2

Dell(conf)#aaa authentication login

TELNET line local

Dell(conf)#line vty 0 4

Dell(conf-line-vty)#password Dellsvcs5

Dell(conf-line-vty)# login authentication

TELNET

Dell(conf)#int gi0/2

Dell(conf-if-gi-0/2)#ip address

192.168.33.2/24

Dell(conf-if-gi-0/2)#no shut

Using telnet line:

Dell>telnet 192.168.33.4

Password: ********* (line vty pswd)

Dell2>enable

Password: ********* (enable secret

pwd)

Dell2#

Switch(config)#feature telnet

Switch(config)#enable secret iossvcs2

Switch(config)#aaa authentication

login TELNET line local

Switch(config)#line vty 0 4

Switch(config-line-vty)#password

iossvcs5

Switch(config-line-vty)#login

authentication TELNET

Switch(config)#int gi1/0/2

Switch(config-if-gi-1/0/2)#ip address

192.168.33.2/24

Switch(config-if-gi-1/0/2)#no shut

Using telnet line:

Switch>telnet 192.168.33.4

Password: ********* (line vty pswd)

Switch2>enable

Password: ********* (enable secret

pwd)

Switch2#

Similar

Local

authentication

(default)

console(config)# no ip telnet server disable

console(config)#enable password Dellsvcs2

encrypted

console(config)#line telnet

console(config-telnet)#aaa authentication

login TELNET1 local line

console(config)#username admin password

Dellsvcs3

console(config)#line telnet

console(config-telnet)# login authentication

TELNET1

console(config)#int te1/0/2

console(config-if-Te1/0/2)#ip address

192.168.33.2/24

Dell(conf)#ip telnet server enable

Dell(conf)#enable secret Dellsvcs2

Dell(conf-line-vty)#aaa authentication login

TELNET1 local line

Dell(conf)#username admin password

Dellsvcs3

Dell(conf)#line vty 0 4

Dell(conf-line-vty)# login authentication

TELNET1

Dell(conf)#int gi0/2

Dell(conf-if-gi-0/2)#ip address

192.168.33.2/24

Dell(conf-if-gi-0/2)#no shut

Switch(config)#ip telnet server enable

Switch(config)#enable secret

p@ssw0rd

Switch(config-line-vty)#aaa

authentication login TELNET1 local line

Switch(config)#username admin

password iossvcs3

Switch(config)#line vty 0 4

Switch(config-line-vty)# login

authentication TELNET1

Switch(config)#int gi1/0/2

Switch(config-if)#ip address

192.168.33.2/24

Switch(config-if)#no shut

Similar

Page 5: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Feature Dell Networking OS 6 Dell Networking OS 9 Cisco IOS Interop

console(config-if-Te1/0/2)#no shut

Using telnet local:

console>telnet 192.168.33.2

Login: admin

Password: ****** (admin's pswd)

console2>enable

Password: ****** (enable secret pswd)

console2#

Using telnet local:

Dell>telnet 192.168.33.2

Login: admin

Password: ****** (admin's pswd)

Dell2>enable

Password: ****** (enable secret pswd)

Dell2#

Using telnet local:

Switch>telnet 192.168.33.2

Login: admin

Password: ****** (admin's pswd)

Switch2>enable

L2 switchport console(config)#interface te1/0/2

console(config-if-Te1/0/2)#no ip address

<switchport enabled by default>

Dell(conf)#interface te0/2

Dell(conf-if-te-0/2)#no ip address

Dell(conf-if-te-0/2)#switchport

Dell(conf-if-te-0/2)#no shutdown

Switch(config)#interface te1/0/2

Switch(config-if)#no ip address

Switch(config-if)#switchport

Switch(config-if)#no shutdown

Same

mac-address-table console#show mac address-table Dell#show mac-address-table Switch#show mac address-table OS 9

different

Port security MAC learning limit:

console(config)#int te1/0/2

console(config-if-Te-0/2)#port security max 2

console(config-if-Te-0/2)#port security

discard

Static MAC entry:

console(config)#mac-address-table static

xx:xx:xx:xx:xx:xx vlan x interface te1/0/2

MAC learning limit:

Dell(conf)#int gi0/2

Dell(conf-if-gi-0/2)#mac learning-limit 2

Dell(conf-if-gi-0/2)#mac learning-limit

learn-limit-violation shutdown

Static MAC entry:

Dell(conf)#mac-address-table static

xx:xx:xx:xx:xx:xx output gi0/x vlan x

MAC learning limit:

Switch(config)#int gi1/0/2

Switch(config-if)#switch port port-

security maximum(10)

Switch(config-if)#switchport port-

securty violation shutdown

Static MAC entry:

Switch(config)#int gi1/0/2

Switch(config-if)#switchport port-

security mac-address xx:xx:xx:xx:xx:xx

Similar

Create VLAN console(config)#vlan 11

console(config-vlan11)#name Sales

console(config-vlan11)#exit

console(config)#interface vlan 11

console(config-if)#ip address ww.xx.yy.zz /XX

console#show vlan

Dell(conf)#interface vlan 11

Dell(conf-if-vl-11)#description Sales

Dell(conf-if-vl-11)#interface vlan 22

Dell(conf-if-vl-22)#description Voice

Dell(conf-if-vl-22)#interface vlan 33

Dell(conf-if-vl-33)#description IT

Dell#show vlan

Switch#vlan database

Switch(vlan)#vlan 11

Switch(vlan)#vlan 10

Switch(vlan)#exit

Switch#show vlan

Similar

(no vlan

database in

OS 6/9)

Add interface to

VLAN

console(config)#interface te1/0/3

console(config-if)#switchport mode access

Dell(conf)#interface vlan 33

Dell(conf-if-vl-33)#untagged gi 0/2

Switch(config)#interface gig0/5 OS 9

different

Page 6: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Feature Dell Networking OS 6 Dell Networking OS 9 Cisco IOS Interop

(access |

untagged)

console(config-if-Te1/0/3)#switchport

access vlan 33

Switch(config-if)#switchport mode

access

Switch(config-if)switchport access vlan

10

Add interface to

VLAN (trunk |

tagged)

console(config-if-Te1/0/3)#switchport

access vlan 11

console(config-if-Te1/0/3)#switchport

access vlan 22

console(config)#int te1/0/3

console(config-if-Te1/0/3)#switchport mode

trunk

console(config-if-Te1/0/3)#switchport trunk

allowed vlan add 11,22,33

console#show vlan

console#show interfaces status

Dell(conf)#int te0/3

Dell(conf-if-te-0/3)#switchport

Dell(conf-if-te-0/3)#no shut

Dell(conf-if-te-0/3)#interface vlan 11

Dell(conf-if-vl-11)#tagged te0/3

Dell(conf-if-vl-11)#interface vlan 22

Dell(conf-if-vl-22)#tagged te0/3

Dell(conf-if-vl-22)#interface vlan 33

Dell(conf-if-vl-33)#tagged te0/3

Dell#show vlan

Switch(config)#int te0/3

Switch(config-if)#switchport trunk

encapsulation dot1q

Switch(config-if)#switchport mode

trunk

Switch(config-if)#switchport trunk

allowed vlan remove 1-4,6

Switch(config-if)#switchport trunk

allowed vlan 5,7-10

Switch#show interfaces vlan trunk

OS 9

different

Hybrid mode

(switchport mode

general | portmode

hybrid)

console(config)#interface te1/0/1

console(config-if-Te1/0/1)#switchport mode

general

console(config-if-gi1/0/1)# switchport access

vlan 11,22

console#show interfaces status

Dell(conf)#interface te0/1

Dell(conf-if-Te-0/1)#portmode hybrid

Dell(conf-if-Te-0/1)#switchport

Dell(conf-if-Te-0/1)#interface vlan 11

Dell(conf-if-vl-11)#untagged te0/1

Dell(conf-if-vl-11)#interface vlan 22

Dell(conf-if-vl-22)#tagged te0/1

Dell#show vlan

Switch(config)#interface te0/1

Switch(config-if)#port link-type hybrid

Switch(config-if)#port hybrid vlan 20 30

tagged

Switch(config-if)#port hybrid vlan 10

untagged

Switch(config-if)#port hybrid pvid vlan

10 (sets default vlan)

Switch#show vlan

Similar

Layer 3 VLAN console(config)# ip routing

console(config)#interface vlan 11

console(config-if)#ip address

192.168.11.254 /24

console(config-vlan11)#exit

console(config)#

console#show ip route

Dell(conf)#int vlan 11

Dell(conf-if-vl-11)#ip address

192.168.11.254/24

Dell(conf-if-vl-11)#no shut

Dell(conf-if-vl-11)#int vlan 33

Dell(conf-if-vl-33)#ip address

192.168.33.254/24

Dell(conf-if-vl-33)#no shut

Dell#show ip route

Switch#vlan database

Switch(vlan)#vlan 11

Switch(vlan)#vlan 10

Switch(vlan)#exit

Switch#interface vlan 10

Switch(config-if)#ip address x.x.x.x.x/y

Switch(config-if)#no shut

Switch#show ip route

Similar

Page 7: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Feature Dell Networking OS 6 Dell Networking OS 9 Cisco IOS Interop

Spanning Tree

Protocols

STP-PV, RSTP-PV, MSTP

STP-PV

Console(config)# spanning-tree mode stp-

pvst

Console(config)#spanning-tree vlan 30-32

priority 1

Console(config)#Spanning-tree vlan 33-35

priority 4096

RSTP-PV

Console(config)#spanning-tree mode rapid-

pvst

Console(config)#spanning-tree vlan 30-32

priority 1

Console(config)#Spanning-tree vlan 33-35

priority 4096

MSTP

Console-1(config)#spanning-tree mst

configuration

console-1(config-mst)#instance 1 add vlan

30-32

console-1(config-mst)#instance 2 add vlan

33-35

console-1(config-mst)#name Region1

console-1(config-mst)#revision 1

console-1(config-mst)#exit

console-1(config)#spanning-tree mst 1 priority

4096

console-1(config)#spanning-tree mst 2 priority

16384

console-1(config)#spanning-tree mode mst

console-1(config)#exit

STP, RSTP, MSTP, PVST+

STP

Dell(conf)#spanning-tree stp

Dell(conf-stp)#bridge priority 4096

Dell(conf-stp)#No disable

RSTP

Dell(conf)#spanning-tree rstp

Dell(conf-rstp)#bridge priority 4096

Dell(conf-rstp)#No disable

MSTP

Dell(conf)#spanning-tree mstp

Dell(conf-mstp)#no disable

Dell(conf-mstp)#msti 1 vlan 5 - 10

Dell(conf-mstp)#msti 1 bridge-priority 4096

Dell(conf-mstp)#name <name>

Dell(conf-mstp)#revision <number>

PVST+

Dell(config)#protocol Spanning-tree pvst

Dell(config-pvst)#vlan 2 bridge priority

4096

Dell(config-pvst)#vlan 3 bridge priority

16384

STP, PVST+, RPVST+, MSTP

STP

Enabled out of the box.

Switch(config)#

PVST+

Switch(config)#spanning-tree vlan 1

root primary

Switch(config)#spanning-tree vlan 10

root primary

RPVST+

Switch(config)#spanning-tree mode

rapid-pvst

No additional vlan info required

MSTP

switch(config)#spanning-tree mode mst

switch(config)#spanning-tree mst 0

priority 4096

switch(config)#spanning-tree mst

configuration

switch(config-mst)#name Region1

switch(config-mst)#revision 1

switch(config-mst)#instance 1 vlan 30-

32

switch(config-mst)#instance 2 vlan 33-

35

switch(config-mst)#end

For across-

the-board

interop, use

RSTP or

MSTP. For

Cisco

PVST+

compatibilit

y OS

6=RSTP-PV,

OS 9 =

PVST+

Port Channel/static console(config)#int range te1/0/4-10 Dell(conf)#interface range te0/11-18 Switch(conf)#interface port-channel 22 Similar

Page 8: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Feature Dell Networking OS 6 Dell Networking OS 9 Cisco IOS Interop

console(config-range-if)#channel-group 22

mode on

Dell(conf-if-range-te-0/11-18)#no shut

Dell(conf)#int po22

Dell(conf-if-po-22)#channel-member

te0/11-18

Dell(confi-if-po-22)#switchport

Dell(confi-if-po-22)#no shut

Switch(conf-if)#no switchport

Switch(conf-if)#ip address x.x.x.x./y

Switch(conf-if)#interface range gi 0/11-

18

Switch(confi-if)#no ip address

Switch(confi-if)#channel group 22

mode desirable

Port Channel

dynamic

console(config)#int range te1/0/4-10

console(config-range-if)#channel-group 22

mode active

Cannot assign an IP address to a port-

channel in OS 6.

Dell(conf)#interface te0/11-18

Dell(conf-if-te-0/11-18)#no shut

Dell(conf-if-te-0-11-18)#port-channel-

protocol lacp

Dell(conf-if-te-0/11-18-lacp)#port-channel

22 mode active

Dell(conf)#int po22

Dell(conf-if-po-22)#switchport

Dell(conf-if-po-22)#no shut

Switch(conf)#interface port-channel 22

Switch(conf-if)#no switchport

Switch(conf-if)#ip address x.x.x.x./y

Switch(conf-if)#interface range gi 0/11-

18

Switch(confi-if)#no ip address

Switch(confi-if)#channel group 22

mode active

Similar

Loopback console(config)#int loopback 0

console(config-if-loopback0)#ip address

xx.xx.xx.xx/yy

Dell(conf)#int loopback 0

Dell(conf-if-lo-0)#ip address xx.xx.xx.xx/yy

Dell(conf-if-lo-0)#no shutdown

Switch(config)#interface Ethernet 0

Switch(config-if)#loopback (variable)

Same

Null console(config-route-map)#set interface

null0

Dell(conf)#int null 0

Dell(conf-if-nu-0)# ip unreachables

Switch(config)#int null 0

Switch(config-if)# ip unreachables

OS 6

different

Page 9: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Feature Dell Networking OS 6 Dell Networking OS 9 Cisco IOS Interop

mLAG/VLT/ vPC mLAG

DCPDP (Dual Control Plane Detection

Protocol) is intended to provide a secondary

layer of protection against peer link failures.

Console - VPC domain

console#configure

console(config)#vpc domain 1

console(config-vpc 1)#role priority 50

console(config-vpc 1)#peer-keepalive enable

console(config-vpc 1)#peer-keepalive

destination 192.168.1.X source 192.168.1.Y

console(config-vpc 1)#peer detection enable

console(config-vpc 1)#end

Console2 - VPC domain

console#configure

console(config)#vpc domain 1

console(config-vpc 1)#role priority 250

console(config-vpc 1)#peer-keepalive enable

console(config-vpc 1)#peer-keepalive

destination 192.168.1.Y source 192.168.1.X

console(config-vpc 1)#peer detection enable

console(config-vpc 1)#end

Console & Console 2 - Port-channels for

MLAG peer links

VLT

RSTP backup to VLT (best practice)

Dell(conf)#protocol spanning-tree rstp

Dell(conf-rstp)#no disable

Dell & Dell2 - backup link (best practice -

use ma0/0)

Dell(conf)#int te0/10

Dell(conf-if-te-0/10)#no switchport

Dell(conf-if-te-0/10)#ip address

10.12.2.1/24

Dell(conf-if-te-0/10)#no shut

Dell & Dell 2 - Static Po for VLTi

Dell(conf)#int range te0/21 , te0/22

Dell(conf-if-range-te-0/21,te-

0/22)#switchport

Dell(conf-if-range-te-0/21,te-0/22)#no

shut

Dell(conf)#interface port-channel 100

Dell(conf-if-po-100)#channel-member

te0/21-22

Dell(conf-if-po-100)#no shut

Dell - VLT domain

vPC

Cisco (config mgmt. interface)

Switch-1(config)# int mgmt 0

Switch-1(config-if)# ip address

172.25.182.51/24

Switch-1(config-if)# vrf context

management

Switch-1(config-vrf)# ip route 0.0.0.0/0

172.25.182.1

Enable vPC and LACP

Switch-1(config)# feature vpc

Switch-1(config)# feature lacp

Create VLAN

Switch-1(config)#vlan 101

Cisco/OS 6

very similar,

OS 9,

slightly

different

Page 10: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Feature Dell Networking OS 6 Dell Networking OS 9 Cisco IOS Interop

console#configure

console#interface port-channel 1

console(config-if-Po1)#description MLAG-

PEER-LINK

console(config-if-Po1)#spanning-tree disable

console(config-if-Po1)#switchport mode trunk

console(config-if-Po1)#vpc peer-link

console(config-if-Po1)#exit

console(config)#interface range te1/0/4-5

console(config-if)#channel-group 1 mode

active

console(config-if)#description MLAG-PEER-

LINK

console(config-if)#no shutdown

Console & Console 2 - dynamic peer-lags

console(config-if)# int te1/0/11

console(config-if-Te1/0/11)#channel-group 2

mode active

console(config-if-Te1/0/11)#no shut

console(config-if-Te1/0/11)#exit

console(config)#Int port-channel 2

console(config-if-Po2)#switchport mode trunk

console(config-if-Po2)#vpc 2

console(config-if-Po2)#no shut

console(config-if-Po2)#end

Console & Console 1 -

Enable MLAG globally

Console(config)#feature vpc

Dynamic LAG from downstream switch

console3(config-if)#interface range te

1/0/10-11

console3(config-if)#channel-group 2 mode

active

console3(config-if)#no shutdown

console3(config-if)#exit

Dell(conf)#vlt domain 100

Dell(conf-vlt-domain)#back-up destination

10.12.2.2

Dell(conf-vlt-domain)#peer-link port-

channel 100

Dell(conf-vlt-domain)#primary-priority 1

Dell(conf-vlt-domain)#unit-id 0

Dell(conf-vlt-domain)#exit

Dell2 - VLT domain

Dell2(conf)#vlt domain 100

Dell2(conf-vlt-domain)#back-up destination

10.12.2.1

Dell2(conf-vlt-domain)#peer-link port-

channel 100

Dell2(conf-vlt-domain)#primary-priority 2

Dell2(conf-vlt-domain)#unit-id 1

Dell2(conf-vlt-domain)#exit

Dell & Dell2 - dynamic peer-lags

Dell(conf)#interface te0/4

Dell(conf-if-te-0/4)#no shut

Dell(conf-if-te-0/4)#port-channel-protocol

lacp

Dell(conf-if-te-0/4-lacp)#port-channel 21

mode active

Dell(conf)#int po21

Dell(conf-if-po-21)#switchport

Dell(conf-if-po-21)#vlt-peer-lag port-

channel 21

Dell(conf)#interface te0/11

Dell(conf-if-te-0/11)#no shut

Dell(conf-if-te-0-11)#port-channel-protocol

lacp

Dell(conf-if-te-0/11-lacp)#port-channel 22

mode active

Dell(conf)#int po22

Dell(conf-if-po-22)#switchport

Create vPC domain

Switch-1(config)# vpc domain 1

Create vPC role pri (optional)

Switch-1(config-vpc-domain)# role

priority 1000

Configure the peer keep alive link. The

management interface IP address

Switch 2 is 172.25.182.52.

Switch-1(config-vpc-domain)# peer-

keepalive destination 172.25.182.52

Configure vPC peer link

Switch-1(config-vpc-domain)# int

ethernet 1/17-18

Switch-1(config-if-range)# channel-

group 1 mode active

Switch-1(config-if-range)# int po1

Switch-1(config-if)# vpc peer-link

Switch-1(config-if)# switchport mode

trunk

Switch-1(config-if)# switchport trunk

allowed vlan 1,101

Configure Switch 2

Switch-2(config)# int mgmt 0

Switch-2(config-if)# ip address

172.25.182.52/24

Switch-2(config-if)# vrf context

management

Switch-2(config-vrf)# ip route 0.0.0.0/0

172.25.182.1

Switch-2(config)# feature vpc

Switch-2(config)# feature lacp

Switch-2(config)#vlan 101

Page 11: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Feature Dell Networking OS 6 Dell Networking OS 9 Cisco IOS Interop

console3(config)#interface port-channel 2

console3(config-if-Po2)#switchport mode

trunk

console3(config-if-Po2)#end

console#show vpc brief

Dell(conf-if-po-22)#vlt-peer-lag port-

channel 22

(Add dynamic LAGs from downstream

switches)

Dell#show vlt brief

Dell#show vlt detail

Dell#show spanning-tree rstp brief

Switch-2(config)# vpc domain 1

Switch-2(config-vpc-domain)# peer-

keepalive destination 172.25.182.51

Mgmnt VRF will be used as the default

VRF

Switch-2(config-vpc-domain)# int

ethernet 1/17-18

Switch-2(config-if-range)# channel-

group 1 mode active

Switch-2(config-if-range)# int po1

Switch-2(config-if)# vpc peer-link

Switch-2(config-if)# switchport mode

trunk

Switch-2(config-if)# switchport trunk

allowed vlan 1,101

Switch-2(config-if)# int ethernet

100/1/1

Switch-2(config-if)# channel-group 10

Switch-2(config-if)# int po10

Switch-2(config-if)# vpc 10

Switch-2(config-if)# switchport access

vlan 101

Static Routing console(config)#ip route 1.1.1.0 /24 1.1.1.1

OS 6 cannot route to an interface.

Dell(conf)#ip route 1.1.1.0/24 te0/4

Dell(conf)#ip route 1.1.1.0/24 te0/4

Dell(conf)#ip route 2.2.2.0/24 te0/4

Dell(conf)#ip route 3.3.3.0/24 te0/4

Dell(conf)#ip route 4.4.4.0/24 te0/4

OS 6

different

Default Route console(config)#ip route default

192.168.112.2

Dell(conf)#ip route 0.0.0.0/0 te0/4 Dell(conf)#ip route 0.0.0.0/0 te0/4 OS 6

different

VRRP/HSRP

console(config)#int te1/0/3

console(config-if-Te1/0/3)#vrrp 1

console(config-if-Te1/0/3)# vrrp 10 ip

192.168.123.254

Dell(conf)#int te0/3

Dell(conf-if-te-0/3)#vrrp-group 1

Dell(conf-if-te-0/3-vrid-1)#virtual-address

192.168.123.254

Steps to enable HSRP

Switch(config)# interface

gigabitethernet0/1

Switch(config-if)# standby 1 ip

Similar. IOS

supports

both HSRP

(proprietary

Page 12: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Feature Dell Networking OS 6 Dell Networking OS 9 Cisco IOS Interop

console(config)#int te1/0/8

console(config-if-Te1/0/8)#vrrp 1

console(config-if-Te1/0/8)# vrrp 10 ip

192.168.123.254

console(config)#int te1/0/3

console(config-if-Te1/0/3)#vrrp 1

console(config-if-Te1/0/3)#vrrp 10 ip

192.168.223.254

console(config)#int te1/0/8

console(config-if-Te1/0/8)#vrrp 1

console(config-if-Te1/0/8)# vrrp 10 ip

192.168.223.254

console#sh vrrp

console#sh vrrp brief

Set VRRP priority manually

console(config-if-Te1/0/8)#vrrp 1 priority

200

Set VRRP authentication

console(config-if-Te1/0/8)# vrrp 1

authentication simple 0 dell

console2(config-if-Te1/0/8)# vrrp 1

authentication simple 0 dell

VRRP interface tracking

console(config-if-te1/0/6)# vrrp 10 track

interface te1/0/10

Dell(conf)#int te0/8

Dell(conf-if-te-0/8)#vrrp-group 1

Dell(conf-if-te-0/8-vrid-1)#virtual-address

192.168.123.254

Dell2(conf)#int te0/3

Dell2(conf-if-te-0/3)#vrrp-group 1

Dell2(conf-if-te-0/3-vrid-1)#virtual-address

192.168.223.254

Dell2(conf)#int te0/8

Dell2(conf-if-te-0/8)#vrrp-group 1

Dell2(conf-if-te-0/8-vrid-1)#virtual-address

192.168.223.254

Dell#show vrrp

Dell#show vrrp brief

Set VRRP priority manually

Dell(conf-if-te-0/8)#vrrp-group 1

Dell(conf-if-te-0/8-vrid-1)#priority 200

Set VRRP authentication

Dell(conf-if-te-0/8-vrid-1)# authentication-

type simple 0 dell

Dell2(conf-if-te-0/3-vrid-1)# authentication-

type simple 0 dell

VRRP interface tracking

Dell(conf-if-te-0/6-vrid-1)#track te 0/10

priority-cost 110

Switch(config-if)# end

Switch# show standby

Configure HSRP Priority

Switch(config)# interface

gigabitethernet0/1

Switch(config-if)# standby ip

172.19.108.254

Switch(config-if)# standby priority 120

preempt delay 300

Configure HSRP Auth and Timers

Switch(config)# interface

gigabitethernet0/1

Switch(config-if)# standby 1

authentication word

Standby Group 1

Switch(config)# interface

gigabitethernet0/1

Switch(config-if)# standby 1 ip

Switch(config-if)# standby 1 timers 5

15

Configure HSRP Groups and Clustering

Switch(config)# cluster standby-group

my_hsrp routing-redundancy

) and VRRP

(open

standard)

Stacking console(config)#switch 1 renumber 2

Renumbering forces a reload.

console(config-stack)#stack

Dell#stack-unit 0 renumber 2

Renumbering management unit will reload

the stack. Warning: Interface configuration

for current unit will be lost!

Proceed to renumber [confirm yes/no]:yes

Assign stack number or renumber

Switch(config)# current-stack-member-

number 2 renumber new-stack-

member 1

Switch#copy run start

Similar

OS 6/9:

depending

on the

model use

Page 13: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Feature Dell Networking OS 6 Dell Networking OS 9 Cisco IOS Interop

console(config-stack)#standby 2

console(config-stack)#stack-port

tengigabitethernet 2/0/24 stack

console(config-stack)#boot auto-copy-sw

console(config-stack)#exit

console(config)#reload

%STKUNIT0-M:CP %IFMGR-1-DEL_PORT:

Removed port: Te 0/0-47, Fo

0/48,52,56,60

System configuration has been modified.

Save? [yes/no]:yes

NOTE: The switch reboots.

Dell(conf)#stack-unit 2 priority 1

Dell(conf)#stack-unit 2 stack-group xx

Setting ports Fo 2/yy as stack group will

make their interface configs obsolete after

a reload. [confirm yes/no]:yes

%STKUNIT1-M:CP %IFMGR-6-

STACK_PORTS_ADDED: Ports Fo 2/yy have

been configured as stacking ports. Please

save and reload for config to take effect.

Press Enter

NOTE: Wait to save/reload switch until

after configuring

the second stack group.

switch(conf)#stack-unit 2 stack-group xx

Setting ports Fo 2/yy as stack group will

make their interface configs obsolete after

a reload. [confirm yes/no]:yes

%STKUNIT1-M:CP %IFMGR-6-

STACK_PORTS_ADDED: Ports Fo 2/yy have

been configured as stacking ports.

Please save and reload for config to take

effect.

Press Enter

switch(conf)#exit

Dell#copy run start

Dell#reload

Proceed with reload [confirm yes/no]:yes

NOTE: After reload, prompt will change to

Dell(stack-member-2)>

Switch#reload

Switch(config)#stack-member-number

0 priority 15

Switch#copy run start

Switch#reload

Switch(config)# current-stack-member-

number 6 renumber new-stack-

member 2

Switch#copy run start

Switch#reload

Switch(config)#stack-member-number

0 priority 10

Switch#copy run start

Switch#reload

Switch(config)# current-stack-member-

number 0 renumber new-stack-

member 3

Switch#copy run start

Switch#reload

Switch(config)#stack-member-number

0 priority 5

Switch#copy run start

Switch#reload

After final reload there should be three

switches in one stack.

Config configuration

Switch#show switch stack-ports

summary

stacking

module or

user data

ports for

stacking.

Page 14: Cisco CMD line vs Dell CMD Line CMD available on Cisco ... login TELNET1 local line Switch(config)#username admin password iossvcs3 Switch(config)#line vty 0 4 Switch(config-line-vty)#

Feature Dell Networking OS 6 Dell Networking OS 9 Cisco IOS Interop