• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1011
  • Last Modified:

how to configure a cisco switch 2960

hi guys i had a ADSL line connected to a port 24 of cisco 2960, that port is gone dead, so i have plugged it in to port 13 of the switch now

port 24 was on VLAN2, how can i copy or configure port 13 same as port 24.
current config of both ports are below:

 interface FastEthernet0/13
 switchport mode trunk
 switchport nonegotiate
 srr-queue bandwidth share 10 10 60 20
 srr-queue bandwidth shape  10  0  0  0
 mls qos trust cos
 macro description cisco-wireless
 auto qos voip trust
 spanning-tree bpduguard enable
!
interface FastEthernet0/24
 description Visitor Router
 switchport access vlan 2
 switchport mode access


so i want port24 config to be copied to port 13 please

thank you for your help
0
ammartahir1978
Asked:
ammartahir1978
1 Solution
 
bsohn417Commented:
(config)#default interface fa0/13
configt)#int fa0/12
              description Visitor Router
              switchport access vlan 2
              switchport mode access
              no shut
This will make fa0/13 to default config and than apply new new config as above
0
 
Vito_CorleoneCommented:
You can just copy and paste the config from 13 to 24.
0
 
memo_tntCommented:
i prefer to use the no command as:

interface FastEthernet0/13
 no switchport mode trunk
 no switchport nonegotiate
 no srr-queue bandwidth share 10 10 60 20
 no srr-queue bandwidth shape  10  0  0  0
 no mls qos trust cos
 no macro description cisco-wireless
 no auto qos voip trust
 no spanning-tree bpduguard enable
!

then

!
interface FastEthernet0/13
 description Visitor Router
 switchport access vlan 2
 switchport mode access
0
 
ammartahir1978Author Commented:
spot on brilliant excellent

thank you
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now