CatOS Commands
CatOS Commands
TO CISCO CATOS
by nrozs
CATOS
CatOS IOS
2900/4000/5000/6000 2900XL/3500XL
show ip dns
show netstat
show snmp
Port securty
#vlan database
IOS CATOS
set port enable 4/29
interface Port-channel 20 set port enable 6/29
description ** vio5.1 Unix-Server-LAN-20 ** set port name 4/29 vio5.1-u2a
switchport
set port name 6/29 vio5.1-u2b
switchport access vlan 250
!
switchport mode access
!
! One cannot set description
! ! for the channel!
interface GigabitEthernet4/29 !
description vio5.1-u2a set vlan 250 4/29,6/29
switchport access vlan 250 !
switchport mode access set channelprotocol lacp 4
channel-protocol lacp set channelprotocol lacp 6
channel-group 20 mode active set port lacp-channel 4/29,6/29 20
!
set port lacp-channel 4/29,6/29 mode
! active
interface GigabitEthernet6/29
description vio5.1-u2b
switchport access vlan 250
switchport mode access
channel-protocol lacp
channel-group 20 mode active
L2 Channel configuration
IOS
interface port-channel1
no ip address
switchport
!--- This command puts the interface in VLAN1, by default.
switchport mode access
!
interface FastEthernet6/1
no ip address
switchport
switchport mode access
!--- The port is a member of channel group 1 with autonegotiation
!--- that uses PAgP and silent mode.
channel-group 1 mode desirable
!
interface FastEthernet6/2
no ip address
switchport
switchport mode access
channel-group 1 mode desirable
!
!--- On the Catalyst 6500/6000, you must issue the switchport command once,
!--- without any keywords, to configure the interface as an L2 port.
!--- By default, all the ports are router ports (L3 ports).
!--- On a Catalyst 4500/4000 switch, all ports are L2 ports by default.
!
!--- To see the channel status issue
show etherchannel summary
Verifying the config: PaGP
# Lets make a port dynamic & ask the switch to re-authenticate all dyn ports,
# i.e. use VMPS
set port membership 2/36 dynamic
reconfirm vmps
# To verify port
show port status 2/36
Upgrade CatOS
Comparison of the Cisco Catalyst and Cisco IOS Operating Systems for th
e Cisco Catalyst 6500 Series Switch
Best Practices for Catalyst 6500/6000 Series and Catalyst 4500/4000 Serie
s Switches Running Cisco IOS Software