cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
508
Views
0
Helpful
5
Replies

What does these cisco commands do? reposting a simpler ques

g0/1 current ip = isp ip 115.1.1.1

 

interface g0/1
! channel-group 1 mode passive (In case of a LAG connection)
no ip address

 

interface g0/1.1300
! interface port-channel 1.1300 (In case of a LAG connection)
description "Direct Connect to your Amazon VPC or AWS Cloud"
encapsulation dot1Q 1300
ip address 198.1.1.1 255.255.255.252

 

router bgp 9000
address-family ipv4
neighbor 198.1.1.2 remote-as 60000
neighbor 198.1.1.2 password xxxxxxxxxx
network 0.0.0.0
exit

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

Not sure you looking each config does what role ? this is wider question based on what you trying to do, below one just simple explanation which help you :

 

BB - below config simple gigbit config with no  ( since below subinterface has config)

 

interface g0/1
! channel-group 1 mode passive (In case of a LAG connection)
no ip address

 

BB -  sub interface configured which belong to vlan 300 as per the information - with the IP address configured.

 

interface g0/1.1300
! interface port-channel 1.1300 (In case of a LAG connection)
description "Direct Connect to your Amazon VPC or AWS Cloud"
encapsulation dot1Q 1300
ip address 198.1.1.1 255.255.255.252

 

BB - below BGP configuration to peet with neighbour ?

 

router bgp 9000
address-family ipv4
neighbor 198.1.1.2 remote-as 60000
neighbor 198.1.1.2 password xxxxxxxxxx
network 0.0.0.0
exit

 

is this help you ? what you are after ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

yes i am looking for these and the router which i am going to run these cmds have two int 

 

int g0/1 = isp int WAN interface eg 115.1.1.1

int g0/0 = lan int 192.168.1.1 connect to fw

 

so if after i run those cmds , will my isp wan break? 

or can i dont run the below "no ip address" cmd in int g0/1 ? will that works as current the g0/1 already existing has isp wan ip eg 115.1.1.1

 

<can i dont run this below cmd?>

interface g0/1
! channel-group 1 mode passive (In case of a LAG connection)
no ip address

based on that information with Limited information " high level it breaks your WAN connection as read)

 

you can not assign the IP address on interface g0/1, since this was arleady have sub interface configured and working as per the information.

 

You need put network topoly got us to understand better to suggest, if not you may end of lossing everyhing what you have.

 

Note : before you make any changes, make sure you take the config backup working on. and do the changes from Lan side, since you configuring WAN link may end of different outcome here.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

routerA 119.xx  -------------198.xx  

 

if routerA g0/1 current has a ce WAN IP e.g. 119.1.1.6  can i do the below cmds inside the router? will the below cmds work?

 

interface g0/1.1300
! interface port-channel 1.1300 (In case of a LAG connection)
description "Direct Connect to your Amazon VPC or AWS Cloud"
encapsulation dot1Q 1300
ip address 198.1.1.1 255.255.255.252

 

router bgp 9000
address-family ipv4
neighbor 198.1.1.2 remote-as 60000
neighbor 198.1.1.2 password xxxxxxxxxx
network 0.0.0.0
exit

 

198.1.1.1 == pe

198.1.1.2 == ce

Review Cisco Networking for a $25 gift card