16-2
C
HAPTER
16: C
ONFIGURING
Y
OUR
WAN P
ROTOCOL
S
ETTINGS
OCG-Adsl>>set profile
<pppoe>
protocol ip
local_ip_address
<x.x.x.x>
remote_ip_address
<y.y.y.y>
OCG-Adsl>>set profile
<pppoe>
protocol ip default_route_option
enable routing both routing_protocols ripv2
OCG-Adsl>>add atmaal5 pvc
<pvc34>
vpi
<0>
vci
<34>
OCG-Adsl>>add datalink ppp interface
<atmaal:1/pvc34>
profile
<pppoe>
3
Configure your NAT/PAT policies.
To configure NAT, perform the following from the CLI:
OCG-Adsl>>set nat interface
<interface name>
option
<NAT>
To configure PAT, perform the following from the CLI:
OCG-Adsl>>set nat interface
<interface name>
option
<PAT>
To configure SuperNAT, perform the following from the CLI:
OCG-Adsl>>set nat interface
<interface name>
option
<SUPERNAT>
4
Determine your public IP addresses for your LAN and WAN by entering the following
CLI commands:
OCG-Adsl>>list ip networks
Your WAN IP address is associated with your interface name. An example of a
WAN interface name is
atmaal1:/pvc34
.
5
Enter the following CLI commands:
OCG-Adsl>>add pat
<tcp>
interface
<interface name>
private_address
<ip address range>
public_address
<ip
address range>
public_port
<port range>
OCG-Adsl>>add pat
<udp>
interface
<interface name>
private_address
<ip address range>
public_address
<ip
address range>
public_port
<port range>
Configuring PPPoA
To configure PPPoA from the CLI, perform the following steps:
1
To configure PPPoA, you must enter a series of CLI commands.
The following example shows the CLI commands that are used to configure
PPPoA.
OCG-Adsl>>add profile
<pppoa>
network_service ppp
OCG-Adsl>>set profile
<pppoa>
network_service pppilc
OCG-Adsl>>set profile
<pppoa>
send_password
<root>
OCG-Adsl>>set profile
<pppoa>
bridging disable
2
Enter one of the following CLI commands next:
Enter the following CLI command to make the OfficeConnect Gateway
automatically negotiate with the Service Provider for an IP address:
OCG-Adsl>>set profile
<pppoa>
protocol ip
address_selection negotiate
Summary of Contents for OfficeConnect 3C100XF
Page 1: ...http www 3com com OfficeConnect Gateway CLI User s Guide Release 1 0 Part No 10042302 Rev AA ...
Page 14: ...xiv ...
Page 18: ...iv ABOUT THIS GUIDE ...
Page 30: ...1 12 CHAPTER 1 USING THE COMMAND LINE INTERFACE CLI ...
Page 50: ...3 14 CHAPTER 3 ADMINISTRATIVE CLI COMMANDS ...
Page 58: ...4 8 CHAPTER 4 CONFIGURING AND MANAGING USERS ...
Page 70: ...6 8 CHAPTER 6 BRIDGING COMMANDS ...
Page 78: ...8 4 CHAPTER 8 INTERFACE COMMANDS ...
Page 82: ...9 4 CHAPTER 9 ARP COMMANDS ...
Page 88: ...11 4 CHAPTER 11 DHCP COMMANDS ...
Page 124: ...12 36 CHAPTER 12 IP ROUTING COMMANDS ...
Page 134: ...13 10 CHAPTER 13 DNS COMMANDS ...
Page 142: ...15 6 CHAPTER 15 MULTICASTING AND IGMP COMMANDS ...
Page 160: ...17 8 CHAPTER 17 PPP COMMANDS ...
Page 182: ...21 6 CHAPTER 21 ADDRESS TRANSLATION COMMANDS ...
Page 186: ...22 4 CHAPTER 22 IPSEC COMMANDS ...
Page 188: ...23 2 CHAPTER 23 SECURITY ASSOCIATION SA COMMANDS ...
Page 192: ...24 4 CHAPTER 24 TCP COMMANDS ...
Page 204: ...25 12 CHAPTER 25 SNMP COMMANDS ...
Page 210: ...26 6 CHAPTER 26 IP FILTERS COMMANDS ...
Page 238: ...29 6 CHAPTER 29 TRACEROUTE COMMANDS ...
Page 255: ...xv RFC 1483 16 3 RFC 1483 MER 16 4 ...
Page 256: ...xvi ...
Page 260: ......