01-21-2022 02:15 AM
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
01-21-2022 02:23 AM
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 ?
01-21-2022 04:25 AM
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?
01-21-2022 04:28 AM
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
01-21-2022 04:41 AM
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.
01-21-2022 04:40 AM - edited 01-21-2022 04:47 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide